Replace dbname suffix by explicit test database names

This commit is contained in:
Yassine Guedidi
2025-02-18 00:50:08 +01:00
parent cbd37b2fe2
commit 163c3773cb
4 changed files with 19 additions and 9 deletions

View File

@ -4,7 +4,6 @@ imports:
parameters:
fosuser_registration: true
wallabag_dbname_suffix: '_test'
database_url: '%env(resolve:DATABASE_URL)%'
domain_name: '%env(DOMAIN_NAME)%'
@ -25,7 +24,6 @@ web_profiler:
doctrine:
dbal:
dbname_suffix: '%wallabag_dbname_suffix%' # for MySQL and PostgreSQL
use_savepoints: true
orm:

View File

@ -1 +1 @@
DATABASE_URL=sqlite:///%kernel.project_dir%/data/db/wallabag%wallabag_dbname_suffix%.sqlite?charset=utf8
DATABASE_URL=sqlite:///%kernel.project_dir%/data/db/wallabag.sqlite?charset=utf8