Fix mistake in the settings table kerfuffle.

This commit is contained in:
Daniel Meltzer 2016-05-24 18:14:57 -04:00
parent c52e3b5f9c
commit 52b61c9d49
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ class RemoveOptionKeysFromSettingsTable extends Migration
{ {
Schema::table('settings', function (Blueprint $table) { Schema::table('settings', function (Blueprint $table) {
// //
if(Schema::hasColumn('option_name', 'settings')) if(Schema::hasColumn('settings', 'option_name'))
$table->dropColumn('option_name'); $table->dropColumn('option_name');
}); });
} }

View file

@ -14,7 +14,7 @@ class RemoveOptionValueFromSettingsTable extends Migration
{ {
Schema::table('settings', function (Blueprint $table) { Schema::table('settings', function (Blueprint $table) {
// //
if(Schema::hasColumn('option_value', 'settings')) if(Schema::hasColumn('settings', 'option_value'))
$table->dropColumn('option_value'); $table->dropColumn('option_value');
}); });
} }