V1 de la base de datos
This commit is contained in:
@@ -19,7 +19,6 @@ Admin.init(
|
||||
password: {
|
||||
type: DataTypes.STRING(60),
|
||||
allowNull: false,
|
||||
defaultValue: null,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -23,3 +23,5 @@ Carrera.init(
|
||||
timestamps: false,
|
||||
}
|
||||
);
|
||||
|
||||
module.exports = Carrera;
|
||||
|
||||
@@ -9,7 +9,7 @@ Inscripcion.init(
|
||||
{
|
||||
idInscripcion: {
|
||||
type: DataTypes.INTEGER,
|
||||
prymarykey: true,
|
||||
primaryKey: true,
|
||||
allowNull: false,
|
||||
unique: true,
|
||||
autoIncrement: true,
|
||||
|
||||
Reference in New Issue
Block a user