This commit is contained in:
2026-06-09 15:09:53 +08:00
parent 8b1d08d3b1
commit 6860c0cd6e

View File

@@ -39,7 +39,7 @@ return new class extends Migration
});
}
if (Schema::hasTable('players')) {
if (Schema::hasTable('players') && Schema::hasColumn('players', 'funding_mode')) {
DB::table('players')
->where('funding_mode', 'credit')
->whereNotExists(function ($query): void {