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 feat(editor): Migrate Design System and Editor UI to Vue 3 (#6476) 2023-07-28 09:51:07 +02:00
constants.ts ci: Fix running e2e tests in dev mode (no-changelog) (#6717) 2023-07-21 11:48:23 +02:00
tsconfig.json feat: Upgrade TypeScript to v5 (no-changelog) (#5755) 2023-03-30 13:59:59 +02:00
types.ts refactor: Format root-level dirs (no-changelog) (#4938) 2022-12-15 16:39:59 +01:00