db tamaños de strings mejorados

This commit is contained in:
2020-11-17 20:31:57 -06:00
parent 1caa2017c0
commit 3fb52237aa
6 changed files with 741 additions and 3 deletions
+3 -3
View File
@@ -13,15 +13,15 @@ Programa.init(
autoIncrement: true,
},
institucion: {
type: DataTypes.STRING(60),
type: DataTypes.STRING(120),
allowNull: false,
},
dependencia: {
type: DataTypes.STRING(20),
type: DataTypes.STRING(120),
allowNull: false,
},
programa: {
type: DataTypes.STRING(20),
type: DataTypes.STRING(280),
allowNull: false,
},
clavePrograma: {