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
index.js fix(migrations): don't run with foreign keys activated 2022-11-06 22:24:48 +01:00
note.js
revision.js
temp.js
user.js