hasTable('modpacks')) { Schema::connection('pgsql_rauru')->create('modpacks', function (Blueprint $table) { $table->id(); $table->timestamps(); }); } } /** * Reverse the migrations. */ public function down(): void { if (Schema::connection('pgsql_rauru')->hasTable('modpacks')) { Schema::connection('pgsql_rauru')->dropIfExists('modpacks'); } } };