mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
🐛 Deactivate database-synchronize in production mode
This commit is contained in:
@@ -67,7 +67,7 @@ export async function init(): Promise<IDatabaseCollections> {
|
||||
|
||||
Object.assign(connectionOptions, {
|
||||
entities: Object.values(entities),
|
||||
synchronize: true,
|
||||
synchronize: process.env['NODE_ENV'] !== 'production',
|
||||
logging: false
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user