Skip to content

Commit

Permalink
Adjusted the indentation of the cycle-bundle.yaml file because it had…
Browse files Browse the repository at this point in the history
… 2 levels instead of 4.

Added the migrations folder that I forgot.
  • Loading branch information
AlessandroAmos committed Nov 24, 2023
1 parent 73e8ce3 commit a3e94f7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
50 changes: 26 additions & 24 deletions alms/cycle-bundle/0.1/config/packages/cycle.yaml
Original file line number Diff line number Diff line change
@@ -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)%'
default:
prefix: '_test%env(default::TEST_TOKEN)%'

Check failure on line 34 in alms/cycle-bundle/0.1/config/packages/cycle.yaml

View workflow job for this annotation

GitHub Actions / call-qa / Run checks

Should end with a newline
Empty file.

0 comments on commit a3e94f7

Please sign in to comment.