Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function down(Schema $schema): void |
||
27 | { |
||
28 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
29 | |||
30 | $this->addSql('CREATE SCHEMA public'); |
||
31 | $this->addSql('ALTER TABLE npd_attachment ADD file_extension VARCHAR(10) NOT NULL'); |
||
32 | $this->addSql('ALTER TABLE npd_attachment DROP name'); |
||
33 | $this->addSql('ALTER TABLE npd_attachment DROP mime_type'); |
||
34 | } |
||
36 |