@@ -4,21 +4,21 @@ |
||
4 | 4 | // DO NOT USE THIS IN PRODUCTION |
5 | 5 | |
6 | 6 | return [ |
7 | - 'table_storage' => [ |
|
8 | - 'table_name' => 'doctrine_migration_versions', |
|
9 | - 'version_column_name' => 'version', |
|
10 | - 'version_column_length' => 1024, |
|
11 | - 'executed_at_column_name' => 'executed_at', |
|
12 | - 'execution_time_column_name' => 'execution_time', |
|
13 | - ], |
|
7 | + 'table_storage' => [ |
|
8 | + 'table_name' => 'doctrine_migration_versions', |
|
9 | + 'version_column_name' => 'version', |
|
10 | + 'version_column_length' => 1024, |
|
11 | + 'executed_at_column_name' => 'executed_at', |
|
12 | + 'execution_time_column_name' => 'execution_time', |
|
13 | + ], |
|
14 | 14 | |
15 | - 'migrations_paths' => [ |
|
16 | - 'WMDE\Fundraising\AddressChangeContext\DataAccess\Migrations' => './src/DataAccess/Migrations', |
|
17 | - ], |
|
15 | + 'migrations_paths' => [ |
|
16 | + 'WMDE\Fundraising\AddressChangeContext\DataAccess\Migrations' => './src/DataAccess/Migrations', |
|
17 | + ], |
|
18 | 18 | |
19 | - 'all_or_nothing' => true, |
|
20 | - 'organize_migrations' => 'none', |
|
21 | - 'connection' => null, |
|
22 | - 'em' => null, |
|
19 | + 'all_or_nothing' => true, |
|
20 | + 'organize_migrations' => 'none', |
|
21 | + 'connection' => null, |
|
22 | + 'em' => null, |
|
23 | 23 | ]; |
24 | 24 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 { |