mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-29 05:00:08 +02:00
Set the correct database version, otherwise we get messy migrations.
This commit is contained in:
parent
b690a21744
commit
0ec73618ac
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ doctrine:
|
||||||
dbal:
|
dbal:
|
||||||
# configure these for your database server
|
# configure these for your database server
|
||||||
driver: 'pdo_mysql'
|
driver: 'pdo_mysql'
|
||||||
server_version: '5.6'
|
server_version: '%env(string:default:db_version_fallback:DB_VERSION)%'
|
||||||
charset: utf8mb4
|
charset: utf8mb4
|
||||||
default_table_options:
|
default_table_options:
|
||||||
charset: utf8mb4
|
charset: utf8mb4
|
||||||
|
|
|
@ -11,6 +11,7 @@ parameters:
|
||||||
use_gravatar: true # Set to false, if no Gravatar images should be used for user profiles.
|
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
|
default_currency: 'EUR' # The currency that should be used
|
||||||
media_directory: 'data/media/'
|
media_directory: 'data/media/'
|
||||||
|
db_version_fallback: '5.6' # Be sure to override this, in your .env with your real DB version
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# default configuration for services in *this* file
|
# default configuration for services in *this* file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue