From a3e94f73dc06f25392936fd030af6495ef74a74b Mon Sep 17 00:00:00 2001 From: Alessandro Amos Date: Fri, 24 Nov 2023 19:46:25 -0300 Subject: [PATCH] Adjusted the indentation of the cycle-bundle.yaml file because it had 2 levels instead of 4. Added the migrations folder that I forgot. --- .../0.1/config/packages/cycle.yaml | 50 ++++++++++--------- alms/cycle-bundle/0.1/migrations/.gitignore | 0 2 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 alms/cycle-bundle/0.1/migrations/.gitignore diff --git a/alms/cycle-bundle/0.1/config/packages/cycle.yaml b/alms/cycle-bundle/0.1/config/packages/cycle.yaml index b7ddd6534..1d491b2ac 100644 --- a/alms/cycle-bundle/0.1/config/packages/cycle.yaml +++ b/alms/cycle-bundle/0.1/config/packages/cycle.yaml @@ -1,32 +1,34 @@ cycle: - dbal: - databases: - default: - connection: default_connection + 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 - 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 - orm: - schema: - type: attribute - dir: "%kernel.project_dir%/src/Entity" - cache_dir: "%kernel.cache_dir%/cycle" - relation: - fk_create: false - index_create: false - migration: ~ + migration: + directory: "%kernel.project_dir%/migrations" when@test: dbal: databases: - default: - prefix: '_test%env(default::TEST_TOKEN)%' \ No newline at end of file + default: + prefix: '_test%env(default::TEST_TOKEN)%' \ No newline at end of file diff --git a/alms/cycle-bundle/0.1/migrations/.gitignore b/alms/cycle-bundle/0.1/migrations/.gitignore new file mode 100644 index 000000000..e69de29bb