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>