mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -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) {
|
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');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -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');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue