mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 09:44:41 +02:00
Added postgres to the AbstractMultiPlatformMigration class
This commit is contained in:
parent
d202ecf06f
commit
02acafc348
30 changed files with 655 additions and 0 deletions
|
@ -68,4 +68,14 @@ final class Version20231114223101 extends AbstractMultiPlatformMigration
|
|||
$this->addSql('CREATE INDEX part_lots_idx_instock_un_expiration_id_part ON part_lots (instock_unknown, expiration_date, id_part)');
|
||||
$this->addSql('CREATE INDEX part_lots_idx_needs_refill ON part_lots (needs_refill)');
|
||||
}
|
||||
|
||||
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...");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue