Probably fixing PostgreSQL connection failure because of incorrect database URL.

This commit is contained in:
Alexey Skobkin 2018-06-24 21:24:43 +03:00
parent 13d001272d
commit 3212f29b3d

View file

@ -13,6 +13,6 @@ APP_SECRET=xxx
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# Configure your db driver and server_version in config/packages/doctrine.yaml
APP_DATABASE_URL=pdo_pgsql://$PGUSER:$PGPASSWORD@127.0.0.1:5436/test?application_name=magnetico_web
APP_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@127.0.0.1:5436/test?application_name=magnetico_web
MAGNETICOD_DATABASE_URL=sqlite:///%kernel.project_dir%/tests/database/database.sqlite3
###< doctrine/doctrine-bundle ###