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 ADD institution VARCHAR(255) NOT NULL, ADD email VARCHAR(255) NOT NULL'); |
||
19 | $this->addSql('CREATE INDEX idx_identity_institution ON identity (institution)'); |
||
20 | $this->addSql('CREATE FULLTEXT INDEX idxft_identity_email ON identity (email)'); |
||
21 | } |
||
22 | |||
33 |