Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function up(Schema $schema) |
||
14 | { |
||
15 | // this up() migration is auto-generated, please modify it to your needs |
||
16 | $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); |
||
17 | |||
18 | $this->addSql('ALTER TABLE identity DROP PRIMARY KEY'); |
||
19 | $this->addSql('ALTER TABLE identity ADD id VARCHAR(36) NOT NULL FIRST'); |
||
20 | $this->addSql('ALTER TABLE identity ADD PRIMARY KEY (id)'); |
||
21 | } |
||
22 | |||
33 |