From 0cc06deecb0441173dd0d86c9e4eb78e025cc2f2 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 20 Dec 2023 06:44:27 +0000 Subject: [PATCH] Apply fixes from StyleCI --- database/seeders/v_2_0_0/DatabaseSeeder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/seeders/v_2_0_0/DatabaseSeeder.php b/database/seeders/v_2_0_0/DatabaseSeeder.php index 3c1572173d..a6fe5a3a51 100644 --- a/database/seeders/v_2_0_0/DatabaseSeeder.php +++ b/database/seeders/v_2_0_0/DatabaseSeeder.php @@ -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 { @@ -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(); });