| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 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 created TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL'); |
||
| 22 | $this->addSql('ALTER TABLE npd_attachment ADD updated TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL'); |
||
| 23 | } |
||
| 33 |