| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | public function up(Schema $schema): void |
||
| 18 | { |
||
| 19 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
| 20 | |||
| 21 | $this->addSql('ALTER TABLE npd_attachment ADD name VARCHAR(255) NOT NULL'); |
||
| 22 | $this->addSql('ALTER TABLE npd_attachment ADD mime_type VARCHAR(100) NOT NULL'); |
||
| 23 | $this->addSql('ALTER TABLE npd_attachment DROP file_extension'); |
||
| 24 | } |
||
| 36 |