Browse Source

Mise à jour recette doctrine

François Drouhard 10 months ago
parent
commit
d0815e0ea3
3 changed files with 4 additions and 3 deletions
  1. 1 1
      .env
  2. 2 1
      config/packages/doctrine.yaml
  3. 1 1
      symfony.lock

+ 1 - 1
.env

@@ -25,7 +25,7 @@ APP_SECRET=18a6fd80ab9362b2e4df54d6029416da
 # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
 # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
 # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
-DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
+DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
 ###< doctrine/doctrine-bundle ###
 ###> Mattermost/Service ###
 MATTERMOST_URL=https://adresse_du_serveur_mattermost

+ 2 - 1
config/packages/doctrine.yaml

@@ -4,9 +4,10 @@ doctrine:
 
         # IMPORTANT: You MUST configure your server version,
         # either here or in the DATABASE_URL env var (see .env file)
-        #server_version: '15'
+        #server_version: '16'
 
         profiling_collect_backtrace: '%kernel.debug%'
+        use_savepoints: true
     orm:
         auto_generate_proxy_classes: true
         enable_lazy_ghost_objects: true

+ 1 - 1
symfony.lock

@@ -33,7 +33,7 @@
             "repo": "github.com/symfony/recipes",
             "branch": "main",
             "version": "2.10",
-            "ref": "0b4a11ee7e60b36227502ed26874edd7e8b66353"
+            "ref": "c170ded8fc587d6bd670550c43dafcf093762245"
         },
         "files": [
             "config/packages/doctrine.yaml",