Remove dangerous DB sync from app.js

This commit is contained in:
antanst 2025-07-31 10:16:25 +03:00 committed by Chris
parent 044fc1db1a
commit eeec7cb962

View file

@ -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');