feat: fix
This commit is contained in:
@@ -8,7 +8,7 @@ return new class extends Migration
|
|||||||
{
|
{
|
||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
if (! Schema::hasTable('subscriptions')) {
|
if (DB::getDriverName() !== 'pgsql' || ! Schema::hasTable('subscriptions')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ return new class extends Migration
|
|||||||
|
|
||||||
public function down(): void
|
public function down(): void
|
||||||
{
|
{
|
||||||
if (! Schema::hasTable('subscriptions')) {
|
if (DB::getDriverName() !== 'pgsql' || ! Schema::hasTable('subscriptions')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user