mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Fixes migrations to actually rollback all the way.
This commit is contained in:
@@ -28,8 +28,7 @@ class AddPackColumn extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('servers', function (Blueprint $table) {
|
||||
$table->dropForeign('servers_pack_foreign');
|
||||
$table->dropIndex('servers_pack_foreign');
|
||||
$table->dropForeign(['pack']);
|
||||
$table->dropColumn('pack');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user