feat: fix
Laravel CI-CD / Tests Unitaires (push) Successful in 1m30s Details
Laravel CI-CD / Deploy with Kamal (push) Successful in 1m48s Details

This commit is contained in:
Leon Morival 2026-05-27 13:30:07 +02:00
parent 5d2f4d0ee0
commit 1fdb5f4cda
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}