Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Dec 20, 2023
1 parent 4955e58 commit 0cc06de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/seeders/v_2_0_0/DatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
use App\Model\kb\Settings;
// Knowledge base
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Schema;

class DatabaseSeeder extends Seeder
{
Expand All @@ -61,7 +61,7 @@ public function run()
Schema::table($tableName, function ($table) use ($column) {
$table->string($column)->nullable()->change();
});
} elseif (Schema::getColumnType($tableName, $column) == 'boolean') {
} elseif (Schema::getColumnType($tableName, $column) == 'boolean') {
Schema::table($tableName, function ($table) use ($column) {
$table->boolean($column)->default(0)->change();
});
Expand Down

0 comments on commit 0cc06de

Please sign in to comment.