Add db, sync movies command

This commit is contained in:
thibaud-leclere
2026-01-14 00:54:49 +01:00
parent e5d5fe4343
commit 5c35aff23b
11 changed files with 264 additions and 32 deletions

View File

@@ -1,6 +1,13 @@
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
driver: pdo_pgsql
host: '%env(resolve:POSTGRES_HOST)%'
port: '%env(resolve:POSTGRES_PORT)%'
dbname: '%env(resolve:POSTGRES_DB)%'
user: '%env(resolve:POSTGRES_USER)%'
password: '%env(resolve:POSTGRES_PASSWORD)%'
server_version: '%env(resolve:POSTGRES_VERSION)%'
charset: utf8
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
@@ -23,12 +30,6 @@ doctrine:
controller_resolver:
auto_mapping: false
when@test:
doctrine:
dbal:
# "TEST_TOKEN" is typically set by ParaTest
dbname_suffix: '_test%env(default::TEST_TOKEN)%'
when@prod:
doctrine:
orm: