feat: fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user