Remove dangerous DB sync from app.js
This commit is contained in:
parent
044fc1db1a
commit
eeec7cb962
1 changed files with 0 additions and 3 deletions
|
|
@ -149,9 +149,6 @@ async function startServer() {
|
|||
// Create session store table
|
||||
await sessionStore.sync();
|
||||
|
||||
// Sync database
|
||||
await sequelize.sync();
|
||||
|
||||
// Auto-create user if not exists
|
||||
if (config.email && config.password) {
|
||||
const { User } = require('./models');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue