Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
20 | public function up(Schema $schema): void |
||
21 | { |
||
22 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
23 | |||
24 | $this->addSql('ALTER TABLE npd_lesson ADD cover_image_name VARCHAR(255) DEFAULT NULL'); |
||
25 | } |
||
34 |