Set the correct database version, otherwise we get messy migrations.

This commit is contained in:
Jan Böhmer 2019-09-02 14:21:40 +02:00
parent b690a21744
commit 0ec73618ac
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,7 @@ doctrine:
dbal:
# configure these for your database server
driver: 'pdo_mysql'
server_version: '5.6'
server_version: '%env(string:default:db_version_fallback:DB_VERSION)%'
charset: utf8mb4
default_table_options:
charset: utf8mb4

View file

@ -11,6 +11,7 @@ parameters:
use_gravatar: true # Set to false, if no Gravatar images should be used for user profiles.
default_currency: 'EUR' # The currency that should be used
media_directory: 'data/media/'
db_version_fallback: '5.6' # Be sure to override this, in your .env with your real DB version
services:
# default configuration for services in *this* file