clean model definitions and such

This commit is contained in:
Arjun Patel
2019-02-02 23:06:44 -08:00
parent 79112d9e48
commit 366a0bfe94
+1 -1
View File
@@ -37,7 +37,7 @@ db.sequelize
}); });
//force: true will drop the table if it already exists //force: true will drop the table if it already exists
const drop_tables = false; const drop_tables = true;
db.sequelize.sync({ force: drop_tables }).then(() => { db.sequelize.sync({ force: drop_tables }).then(() => {
console.log(`Drop and Resync with { force: ${drop_tables} }`); console.log(`Drop and Resync with { force: ${drop_tables} }`);
}); });