Passed
Push — index-migration ( 15ea34...fbe896 )
by
unknown
03:15
created
src/DataAccess/Migrations/Version20240528083322.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -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_first_name_address_change', [ 'fulltext' ] );
19
-		$table->addIndex( [ 'last_name' ], 'idx_last_name_address_change', [ 'fulltext' ] );
20
-		$table->addIndex( [ 'street' ], 'idx_street_address_change', [ 'fulltext' ] );
21
-		$table->addIndex( [ 'postcode' ], 'idx_postcode_address_change', [ 'fulltext' ] );
22
-		$table->addIndex( [ 'city' ], 'idx_city_address_change', [ 'fulltext' ] );
18
+		$table->addIndex( ['first_name'], 'idx_first_name_address_change', ['fulltext'] );
19
+		$table->addIndex( ['last_name'], 'idx_last_name_address_change', ['fulltext'] );
20
+		$table->addIndex( ['street'], 'idx_street_address_change', ['fulltext'] );
21
+		$table->addIndex( ['postcode'], 'idx_postcode_address_change', ['fulltext'] );
22
+		$table->addIndex( ['city'], 'idx_city_address_change', ['fulltext'] );
23 23
 	}
24 24
 
25 25
 	public function down( Schema $schema ): void {
Please login to merge, or discard this patch.