Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
13 | public function safeUp() |
||
14 | { |
||
15 | $this->createIndex('file-class', '{{%file}}', 'class'); |
||
16 | $this->createIndex('file-object_id', '{{%file}}', 'object_id'); |
||
17 | $this->createIndex('file-field', '{{%file}}', 'field'); |
||
18 | $this->createIndex('file-type', '{{%file}}', 'type'); |
||
19 | $this->createIndex('file-hash', '{{%file}}', 'hash'); |
||
20 | $this->createIndex('file-filename', '{{%file}}', 'filename'); |
||
21 | } |
||
34 |