This commit is contained in:
1 parent
1c98a634c3
commit
dae8f3d999
35 files changed
+1510
-82
No files matched your search
@@ -25,7 +25,14 @@ final class Version20251120175034 extends AbstractMigration
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
// this down() migration is auto-generated, please modify it to your needs
|
||||
if ($this->isSqlite()) {
|
||||
return;
|
||||
}
|
||||
$this->addSql('CREATE SCHEMA public');
|
||||
}
|
||||
|
||||
private function isSqlite(): bool
|
||||
{
|
||||
return $this->connection->getDatabasePlatform()->getName() === 'sqlite';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user