agregue el area4 y modifique la tabla de area

This commit is contained in:
Andres2908
2022-03-01 22:54:27 -06:00
parent 18f324a742
commit 0a2a8e014f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ const sync = async () => {
};
const dataArea = async () => {
const data = ['Windows', 'Macintosh', 'Linux'];
const data = ['Windows', 'Macintosh', 'Linux', 'Mesa para laptop'];
console.log('\nPaso 3) Instalando catalogo area.'.bold.blue);
for (let i = 0; i < data.length; i++) await Area.create({ area: data[i] });
+1 -1
View File
@@ -12,7 +12,7 @@ Area.init(
autoIncrement: true,
},
area: {
type: DataTypes.STRING(15),
type: DataTypes.STRING(16),
allowNull: false,
},
},