mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
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:
commit
d6dc57286f
|
@ -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');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue