| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 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 course ADD visible BOOLEAN DEFAULT NULL'); | ||
| 22 |         $this->addSql('ALTER TABLE course ADD start_date TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL'); | ||
| 23 |         $this->addSql('ALTER TABLE course ADD end_date TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL'); | ||
| 24 | } | ||
| 35 |