mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
* 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>
35 lines
914 B
YAML
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)%'
|