mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Fix broken migration rollbacks
This commit is contained in:
@@ -36,8 +36,8 @@ class UpgradeTaskSystem extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('tasks', function (Blueprint $table) {
|
||||
$table->dropForeign(['server_id']);
|
||||
$table->dropForeign(['user_id']);
|
||||
// $table->dropForeign(['server_id']);
|
||||
// $table->dropForeign(['user_id']);
|
||||
|
||||
$table->renameColumn('server_id', 'server');
|
||||
$table->dropColumn('user_id');
|
||||
|
||||
Reference in New Issue
Block a user