Added postgres to the AbstractMultiPlatformMigration class

This commit is contained in:
Jan Böhmer 2024-06-06 23:11:11 +02:00
parent d202ecf06f
commit 02acafc348
30 changed files with 655 additions and 0 deletions

View file

@ -85,4 +85,14 @@ final class Version20231130180903 extends AbstractMultiPlatformMigration
$this->addSql('CREATE INDEX parts_idx_name ON "parts" (name)');
$this->addSql('CREATE INDEX parts_idx_ipn ON "parts" (ipn)');
}
public function postgreSQLUp(Schema $schema): void
{
$this->warnIf(true, "Migration not needed for Postgres. Skipping...");
}
public function postgreSQLDown(Schema $schema): void
{
$this->warnIf(true, "Migration not needed for Postgres. Skipping...");
}
}