Merge pull request #2077 from dmeltzer/fix-settings-table-for-sqlite

Fix (for real this time?) the settings table option_name/option_value
This commit is contained in:
snipe 2016-05-24 15:45:25 -07:00
commit d6dc57286f
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) {
//
if(Schema::hasColumn('option_name', 'settings'))
if(Schema::hasColumn('settings', 'option_name'))
$table->dropColumn('option_name');
});
}

View file

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