init postgresql db

This commit is contained in:
2021-04-17 23:06:23 +02:00
parent 70fc3ca9ab
commit 5622128c68
2 changed files with 7 additions and 1 deletions

View File

@@ -24,5 +24,5 @@ APP_SECRET=d6c584c628f4a555632b6e2c1382502a
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"
DATABASE_URL="postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8"
DATABASE_URL="postgresql://postgres:secret@db:5432/postgres?serverVersion=12&charset=utf8"
###< doctrine/doctrine-bundle ###