This commit is contained in:
@@ -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')
|
DB::table('players')
|
||||||
->where('funding_mode', 'credit')
|
->where('funding_mode', 'credit')
|
||||||
->whereNotExists(function ($query): void {
|
->whereNotExists(function ($query): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user