Fixes migrations to actually rollback all the way.
This commit is contained in:
parent
33262cf34c
commit
d695532aa2
10 changed files with 20 additions and 34 deletions
|
@ -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 a new issue