n8n/cypress
कारतोफ्फेलस्क्रिप्ट™ 92d4befea6
fix(core): Fix AddMfaColumns migration for sqlite (no-changelog) (#7006)
When ever we have migrations that use `.addColumn` or `.dropColumn`,
typeorm recreates tables for sqlite. so, we need to disable foreign key
enforcement for sqlite, or else data in some tables can get deleted
because of `ON DELETE CASCADE`

[This has happened in the
past](https://github.com/n8n-io/n8n/pull/6739), and we should really
come up with a way to prevent this from happening again.

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com>
2023-08-24 09:31:37 -04:00
..
e2e fix(core): Fix AddMfaColumns migration for sqlite (no-changelog) (#7006) 2023-08-24 09:31:37 -04:00
fixtures fix(editor): Trial banner does not disappear after sign out (no-changelog) (#6930) 2023-08-17 07:57:40 -04:00
pages fix(core): Fix AddMfaColumns migration for sqlite (no-changelog) (#7006) 2023-08-24 09:31:37 -04:00
support fix(core): Fix AddMfaColumns migration for sqlite (no-changelog) (#7006) 2023-08-24 09:31:37 -04:00
utils
constants.ts
tsconfig.json
types.ts