|
@@ -1,6 +1,6 @@ discard block |
|
|
block discarded – undo |
|
1
|
1
|
<?php |
|
2
|
2
|
|
|
3
|
|
-declare( strict_types = 1 ); |
|
|
3
|
+declare(strict_types=1); |
|
4
|
4
|
|
|
5
|
5
|
namespace WMDE\Fundraising\AddressChangeContext\DataAccess\Migrations; |
|
6
|
6
|
|
|
@@ -15,11 +15,11 @@ discard block |
|
|
block discarded – undo |
|
15
|
15
|
|
|
16
|
16
|
public function up( Schema $schema ): void { |
|
17
|
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' ); |
|
|
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
|
23
|
} |
|
24
|
24
|
|
|
25
|
25
|
public function down( Schema $schema ): void { |
Please login to merge, or discard this patch.