Skip to content

Commit

Permalink
Update the doctrine recipe (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored Nov 19, 2024
1 parent db28153 commit 6d69f84
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"php": "^8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/doctrine-bundle": "^2.12",
"doctrine/doctrine-bundle": "^2.13",
"doctrine/doctrine-fixtures-bundle": "^3.6",
"friendsofsymfony/http-cache-bundle": "^3.0",
"handcraftedinthealps/zendsearch": "^2.1",
Expand Down
2 changes: 2 additions & 0 deletions config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ doctrine:
report_fields_where_declared: true
validate_xml_mapping: false # required for gedmo/doctrine-extensions to be false
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
identity_generation_preferences:
Doctrine\DBAL\Platforms\PostgreSQLPlatform: identity
auto_mapping: true
mappings:
App:
Expand Down
6 changes: 3 additions & 3 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
}
},
"doctrine/doctrine-bundle": {
"version": "2.12",
"version": "2.13",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "2.12",
"ref": "7266981c201efbbe02ae53c87f8bb378e3f825ae"
"version": "2.13",
"ref": "8d96c0b51591ffc26794d865ba3ee7d193438a83"
},
"files": [
"config/packages/doctrine.yaml",
Expand Down

0 comments on commit 6d69f84

Please sign in to comment.