mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-10-13 11:37:08 +02:00
🐛 Deactivate database-synchronize in production mode
This commit is contained in:
1 parent
fbb4d1bdc0
commit
e7328cd0d9
1 file changed
+1
-1
@@ -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