Files
archived-recipes-contrib/alms/cycle-bundle/0.1/config/packages/cycle.yaml
AlessandroAmos 07cc241a3f Added alms/cycle-bundle (#1569)
* Added alms/cycle-bundle

* Adjusted the indentation of the cycle-bundle.yaml file because it had 2 levels instead of 4.
Added the migrations folder that I forgot.

* Added the migrations folder that I forgot.

* Added a new line at the end of the cycle.yaml file.

* Fixed when@test config

* Fixed when@test config

* Update cycle.yaml

---------

Co-authored-by: Fabien Potencier <fabien@potencier.org>
2024-01-20 09:52:31 +01:00

35 lines
914 B
YAML

cycle:
dbal:
databases:
default:
connection: default_connection
connections:
default_connection:
driver: mysql
host: '%env(resolve:DB_HOST)%'
port: '%env(int:DB_PORT)%'
dbname: '%env(resolve:DB_NAME)%'
user: '%env(resolve:DB_USER)%'
password: '%env(resolve:DB_PASSWORD)%'
charset: utf8
orm:
schema:
type: attribute
dir: "%kernel.project_dir%/src/Entity"
cache_dir: "%kernel.cache_dir%/cycle"
relation:
fk_create: false
index_create: false
migration:
directory: "%kernel.project_dir%/migrations"
when@test:
cycle:
dbal:
connections:
default_connection:
dbname: 'test_%env(resolve:DB_NAME)%'