make(Illuminate\Contracts\Console\Kernel::class)->bootstrap(); if ( Illuminate\Support\Facades\Schema::hasTable("settings") && \App\Models\Setting::query()->count() > 0 ) { exit(0); } exit(1);