feat: fix

This commit is contained in:
2026-05-27 13:30:07 +02:00
parent 5d2f4d0ee0
commit 1fdb5f4cda
@@ -8,7 +8,7 @@ return new class extends Migration
{
public function up(): void
{
if (! Schema::hasTable('subscriptions')) {
if (DB::getDriverName() !== 'pgsql' || ! Schema::hasTable('subscriptions')) {
return;
}
@@ -19,7 +19,7 @@ return new class extends Migration
public function down(): void
{
if (! Schema::hasTable('subscriptions')) {
if (DB::getDriverName() !== 'pgsql' || ! Schema::hasTable('subscriptions')) {
return;
}