From 14c6ce39ab96efd9c81e601bb6fbbbd4e2fc8577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Wed, 22 Jan 2025 19:19:21 +0100 Subject: [PATCH] :sparkles: Mapping --- config/packages/doctrine.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 25138b9..6899a5e 100755 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -1,6 +1,10 @@ doctrine: dbal: url: '%env(resolve:DATABASE_URL)%' + mapping_types: + uuid: string + types: + uuid: Symfony\Bridge\Doctrine\Types\UuidType # IMPORTANT: You MUST configure your server version, # either here or in the DATABASE_URL env var (see .env file)