Fixes migrations to actually rollback all the way.

This commit is contained in:
Dane Everitt
2017-04-19 18:43:32 -04:00
parent 33262cf34c
commit d695532aa2
10 changed files with 20 additions and 34 deletions

View File

@@ -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');
});
}