mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fix mistake in the settings table kerfuffle.
This commit is contained in:
parent
c52e3b5f9c
commit
52b61c9d49
|
@ -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