Skip to content

Commit a9cd0f1

Browse files
authored
Merge pull request #11 from Howriq/chapter-1
Chapter 1 - remove migrations
2 parents 5a3e756 + df8f850 commit a9cd0f1

File tree

3 files changed

+6
-40
lines changed

3 files changed

+6
-40
lines changed

bin/doctrine-migrations

Lines changed: 0 additions & 8 deletions
This file was deleted.

config/cli-config.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/App/src/ConfigProvider.php

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ private function getDoctrineConfig(): array
9696
],
9797
'configuration' => [
9898
'orm_default' => [
99-
'result_cache' => 'filesystem',
100-
'metadata_cache' => 'filesystem',
101-
'query_cache' => 'filesystem',
102-
'hydration_cache' => 'array',
103-
'typed_field_mapper' => null,
104-
'second_level_cache' => [
99+
'result_cache' => 'filesystem',
100+
'metadata_cache' => 'filesystem',
101+
'query_cache' => 'filesystem',
102+
'hydration_cache' => 'array',
103+
'typed_field_mapper' => null,
104+
'second_level_cache' => [
105105
'enabled' => true,
106106
'default_lifetime' => 3600,
107107
'default_lock_lifetime' => 60,
@@ -117,14 +117,6 @@ private function getDoctrineConfig(): array
117117
'class' => MappingDriverChain::class,
118118
],
119119
],
120-
'migrations' => [
121-
// Modify this line based on where you would like to have you migrations
122-
'migrations_paths' => [
123-
'Migrations' => 'src/Migrations',
124-
],
125-
'all_or_nothing' => true,
126-
'check_database_platform' => true,
127-
],
128120
'types' => [
129121
UuidType::NAME => UuidType::class,
130122
],

0 commit comments

Comments
 (0)