Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function up(Schema $schema): void |
||
13 | { |
||
14 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
15 | |||
16 | $this->addSql('CREATE UNIQUE INDEX swp_package_guid_idx ON swp_package (guid)'); |
||
17 | } |
||
18 | |||
26 |