feat: fix
This commit is contained in:
parent
5d2f4d0ee0
commit
1fdb5f4cda
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue