hedgedoc/lib/models
Philip Molares 638c2f6740 fix(migrations): don't run with foreign keys activated
This PR deactivates and reactivates the foreign_keys in the DB for the duration of all migrations.
This prevents a cascade of deletion, when table columns are changed and tables get recreated by sequelize.

Fixes #2809

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-11-06 22:24:48 +01:00
..
author.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
index.js fix(migrations): don't run with foreign keys activated 2022-11-06 22:24:48 +01:00
note.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
revision.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
temp.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
user.js Convert history attribute in user table to longtext 2022-09-25 11:09:23 +02:00