campos que no deben aceptar null listo

This commit is contained in:
Lemuel Marquez
2021-03-24 20:09:14 -06:00
parent 8978cee244
commit c2d1b2fabb
2 changed files with 2 additions and 8 deletions
-3
View File
@@ -37,9 +37,6 @@ fechaLiberacion();
/*
ALTER TABLE servicio ADD fechaLiberacion datetime
Pull al back
Instalar tabla casos especiales/usuario
agrear campo fecha liberacion a la tabla servicio
modificar campo carpeta
asignar fecha de liberacipon a servicios liberados
*/
+2 -5
View File
@@ -41,8 +41,7 @@ Servicio.init(
},
fechaFin: {
type: DataTypes.DATE,
allowNull: true, // eliminar
defaultValue: null,
allowNull: false,
},
fechaLiberacion: {
type: DataTypes.DATE,
@@ -56,9 +55,7 @@ Servicio.init(
},
carpeta: {
type: DataTypes.STRING(60),
// allowNull:false,
allowNull: true, // eliminar
defaultValue: null, // eliminar
allowNull: false,
},
cartaAceptacion: {
type: DataTypes.STRING(60),