obtener info de un usuario

This commit is contained in:
Lemuel Marquez
2021-04-28 00:21:24 -05:00
parent c81de74054
commit 785dfef531
11 changed files with 84 additions and 27 deletions
+1 -1
View File
@@ -33,6 +33,7 @@ Usuario.init(
multa: {
type: DataTypes.BOOLEAN,
allowNull: false,
defaultValue: false,
},
},
{
@@ -55,7 +56,6 @@ Usuario.belongsTo(Carrera, {
foreignKey: {
name: 'idCarrera',
type: DataTypes.INTEGER,
allowNull: false,
},
});