add: update modal for entry seen
This commit is contained in:
1 parent
d6c3a974a1
commit
bffc1227c3
8 files changed
+208
-81
No files matched your search
+3
-3
@@ -63,12 +63,12 @@ app.use(errorHandler);
|
||||
app.use('/killer', killerRouter);
|
||||
|
||||
// Start the server
|
||||
|
||||
const doUpdate = false;
|
||||
console.log(`Syncing database schema...`);
|
||||
sequelize
|
||||
// .sync({force: true}) // will drop all tables and recreate them.
|
||||
// .sync({ alter: true }) // will attempt to automatically alter tables to fit the model definitions.
|
||||
.sync()
|
||||
.sync({ alter: doUpdate }) // will attempt to automatically alter tables to fit the model definitions.
|
||||
// .sync()
|
||||
.then((result) => {
|
||||
console.log(`Database schema synced...`);
|
||||
initializeData();
|
||||
|
||||
Reference in new issue
Block a user