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:
@@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user