mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
🐛 Deactivate database-synchronize in production mode
This commit is contained in:
parent
fbb4d1bdc0
commit
e7328cd0d9
|
@ -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
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue