Skip to content
Snippets Groups Projects
Commit f0703dd8 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

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

Closes #1028

Merge request !596
parent b3c41e79
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