Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function down(Schema $schema): void |
||
21 | { |
||
22 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
23 | |||
24 | $this->addSql('DROP INDEX IDX_FB21E85818F9C0D5'); |
||
25 | $this->addSql('CREATE UNIQUE INDEX uniq_fb21e85818f9c0d5 ON swp_article (seo_metadata_id)'); |
||
26 | } |
||
27 | } |
||
28 |