diff --git a/database/migrations/2026_05_27_130000_change_subscriptions_user_id_to_ulid.php b/database/migrations/2026_05_27_130000_change_subscriptions_user_id_to_ulid.php index d428445..ca58949 100644 --- a/database/migrations/2026_05_27_130000_change_subscriptions_user_id_to_ulid.php +++ b/database/migrations/2026_05_27_130000_change_subscriptions_user_id_to_ulid.php @@ -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; }