| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function up( Schema $schema ): void { |
||
| 17 | $table = $schema->getTable( 'address' ); |
||
| 18 | $table->addIndex( [ 'first_name' ], 'idx_ac_first_name' ); |
||
| 19 | $table->addIndex( [ 'last_name' ], 'idx_ac_last_name' ); |
||
| 20 | $table->addIndex( [ 'street' ], 'idx_ac_street' ); |
||
| 21 | $table->addIndex( [ 'postcode' ], 'idx_ac_postcode' ); |
||
| 22 | $table->addIndex( [ 'city' ], 'idx_ac_city' ); |
||
| 23 | } |
||
| 34 |