mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-30 20:03:44 +02:00
Fix broken migration rollbacks
This commit is contained in:
@@ -23,10 +23,6 @@ class DeleteTaskWhenParentServerIsDeleted extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('tasks', function (Blueprint $table) {
|
||||
$table->dropForeign(['server_id']);
|
||||
|
||||
$table->foreign('server_id')->references('id')->on('servers');
|
||||
});
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user