Fixed borked down() migrations

This commit is contained in:
snipe 2018-01-24 10:41:49 -08:00
parent e41ee1bcf8
commit 9566fbd3cd
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ class AddDashboardMessageToSettings extends Migration
public function down() public function down()
{ {
Schema::table('settings', function (Blueprint $table) { Schema::table('settings', function (Blueprint $table) {
$table->text('dashboard_message'); $table->dropColumn('dashboard_message');
}); });
} }
} }

View file

@ -27,8 +27,8 @@ class AddFooterSettingsToSettings extends Migration
public function down() public function down()
{ {
Schema::table('settings', function (Blueprint $table) { Schema::table('settings', function (Blueprint $table) {
$table->text('support_footer'); $table->dropColumn('support_footer');
$table->text('footer_text'); $table->dropColumn('footer_text');
}); });
} }
} }