Fix mistake in the settings table kerfuffle.
This commit is contained in:
parent
c52e3b5f9c
commit
52b61c9d49
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue