mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -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, {
|
Object.assign(connectionOptions, {
|
||||||
entities: Object.values(entities),
|
entities: Object.values(entities),
|
||||||
synchronize: true,
|
synchronize: process.env['NODE_ENV'] !== 'production',
|
||||||
logging: false
|
logging: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue