From f986a477d30ef75dc4fb0ed91e837365ca1d3811 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Thu, 17 Oct 2024 12:30:50 +0200 Subject: [PATCH] Update the doctrine recipe --- composer.json | 2 +- config/packages/doctrine.yaml | 2 ++ symfony.lock | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index ae50601d..1a82e93b 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 288eecb4..79b96339 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -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: diff --git a/symfony.lock b/symfony.lock index ddf947d3..34fbb586 100644 --- a/symfony.lock +++ b/symfony.lock @@ -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",