| Total Complexity | 2 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 11 | final class Version20190302022255 extends AbstractMigration |
||
| 12 | { |
||
| 13 | public function up(Schema $schema) : void |
||
| 14 | { |
||
| 15 | $this->addSql('CREATE UNIQUE INDEX date_tool ON usage_timeline (date, tool)'); |
||
| 16 | $this->addSql('CREATE UNIQUE INDEX project_tool ON usage_projects (project, tool)'); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function down(Schema $schema) : void |
||
| 23 | } |
||
| 24 | } |
||
| 25 |