Fix jwt-token
This commit is contained in:
@@ -111,7 +111,8 @@ async function startServer() {
|
||||
// Always sync database in containerized environments or development
|
||||
// Check if tables exist before syncing
|
||||
try {
|
||||
await sequelize.sync({ force: false, alter: false });
|
||||
// Enable alter to add new columns like raw_payload
|
||||
await sequelize.sync({ force: false, alter: true });
|
||||
console.log('Database synchronized.');
|
||||
|
||||
// Seed database with initial data
|
||||
|
||||
Reference in New Issue
Block a user