sin multa activo

This commit is contained in:
2022-03-07 09:17:44 -06:00
parent 2a8c990358
commit 02ec8c2b73
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
const TipoCarrito = require('../../db/tablas/TipoCarrito');
const get = async () => TipoCarrito.findAll();
const get = async () => TipoCarrito.findAll({ where: { idTipoCarrito: 1 } });
module.exports = get;
+5 -5
View File
@@ -22,11 +22,11 @@ Multa.init(
type: DataTypes.DATE,
allowNull: false,
},
activo: {
type: DataTypes.BOOLEAN,
allowNull: false,
defaultValue: true,
},
// activo: {
// type: DataTypes.BOOLEAN,
// allowNull: false,
// defaultValue: true,
// },
},
{
sequelize,