Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function down(Schema $schema) |
||
24 | { |
||
25 | // this down() migration is auto-generated, please modify it to your needs |
||
26 | $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); |
||
27 | |||
28 | $this->addSql('ALTER TABLE identity DROP PRIMARY KEY'); |
||
29 | $this->addSql('ALTER TABLE identity DROP id'); |
||
30 | $this->addSql('ALTER TABLE identity ADD PRIMARY KEY (name_id)'); |
||
31 | } |
||
32 | } |
||
33 |