Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function down(Schema $schema): void |
||
30 | { |
||
31 | // this down() migration is auto-generated, please modify it to your needs |
||
32 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
33 | |||
34 | $this->addSql('CREATE SCHEMA public'); |
||
35 | $this->addSql('ALTER TABLE course DROP created'); |
||
36 | $this->addSql('ALTER TABLE course DROP updated'); |
||
37 | } |
||
39 |