Skip to content
Snippets Groups Projects
Commit 3aae28c6 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

throw error on `down()` instead of deleting random tables, fixes #1028

Closes #1028

Merge request studip/studip!596
parent 475c0053
No related branches found
No related tags found
No related merge requests found
......@@ -82,8 +82,6 @@ class InitMailqueue extends Migration
function down()
{
DBManager::get()->query("DROP TABLE IF EXISTS `cronjobs_tasks`, `cronjobs_schedules`, `cronjobs_logs`");
DBManager::get()->query("DELETE FROM config WHERE field IN ('CRONJOB_ENABLE', 'CRONJOBS_ESCALATION')");
throw new RuntimeException('down() is not implemented for this migration');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment