fix: run init command after production seeder

This commit is contained in:
Andras Bacsai 2023-12-12 11:54:10 +01:00
parent d8b97e06cf
commit 5cb572b6a5
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@
use App\Models\Team;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Process;
use Illuminate\Support\Facades\Storage;
@ -144,5 +145,6 @@ public function run(): void
} catch (\Throwable $e) {
echo "Error: {$e->getMessage()}\n";
}
Artisan::call('app:init');
}
}