nuevo servicio
This commit is contained in:
@@ -53,6 +53,10 @@ Servicio.init(
|
||||
allowNull: true,
|
||||
defaultValue: null,
|
||||
},
|
||||
carpeta: {
|
||||
type: DataTypes.STRING(30),
|
||||
allowNull: false,
|
||||
},
|
||||
cartaAceptacion: {
|
||||
type: DataTypes.STRING(30),
|
||||
allowNull: false,
|
||||
@@ -112,6 +116,7 @@ Servicio.belongsTo(Status, {
|
||||
name: 'idStatus',
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: false,
|
||||
defaultValue: 1,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -127,7 +132,8 @@ Servicio.belongsTo(CuestionarioAlumno, {
|
||||
foreignKey: {
|
||||
name: 'idCuestionarioAlumno',
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: false,
|
||||
allowNull: true,
|
||||
defaultValue: null,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -135,7 +141,8 @@ Servicio.belongsTo(CuestionarioPrograma, {
|
||||
foreignKey: {
|
||||
name: 'idCuestionarioPrograma',
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: false,
|
||||
allowNull: true,
|
||||
defaultValue: null,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user