n8n
n8n copied to clipboard
feat(config): PG&MySQL run migration configurable
in some private cloud env, we want to run n8n with db account which is no DDL permision. so I want to make run schema migration behavior configurable to prevent n8n keep crashing when db account can't run DDL SQL command.
@wei840222 If you disable the migrationsRun
flag, the migrations still need to be executed manually.
How are you doing that right now? That could be valuable information to document.
@netroy I run n8n with mysql db by docker-compose in local computer, and I dump db schema manualy. I run migrations by dumped files before I deploy n8n.
We decided that while we understand why a customer might need this option, we don't want to officially support an option to disable migrations. If we ever change our minds, we can re-open and rebase this PR 🙏🏽