attempt to do controller function

This commit is contained in:
Arjun Patel
2019-01-29 23:47:06 -08:00
parent d6643c32f9
commit 876e77e11a
4 changed files with 133 additions and 57 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ db.sequelize
});
//force: true will drop the table if it already exists
const drop_tables = true;
const drop_tables = false;
db.sequelize.sync({ force: drop_tables }).then(() => {
console.log(`Drop and Resync with { force: ${drop_tables} }`);
});