mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 06:25:22 +01:00
Let doctrine detect its driver and db_version automatically.
This commit is contained in:
@@ -8,8 +8,10 @@ parameters:
|
||||
doctrine:
|
||||
dbal:
|
||||
# configure these for your database server
|
||||
driver: 'pdo_mysql'
|
||||
server_version: '%env(string:default:db_version_fallback:DB_VERSION)%'
|
||||
# Doctrine should be able to detect these settings automatically, so just override them if you getting errors.
|
||||
#driver: 'pdo_mysql'
|
||||
#server_version: '5.6'
|
||||
|
||||
charset: utf8mb4
|
||||
default_table_options:
|
||||
charset: utf8mb4
|
||||
|
||||
@@ -13,7 +13,6 @@ parameters:
|
||||
default_currency: 'EUR' # The currency that should be used
|
||||
media_directory: 'public/media/' # The folder where uploaded attachment files are saved
|
||||
secure_media_directory: 'uploads/' # The folder where secured attachment files are saved (must not be in public/)
|
||||
db_version_fallback: '5.6' # Be sure to override this, in your .env with your real DB version
|
||||
global_theme: '' # The theme to use globally (see public/build/themes/ for choices). Set to '' for default bootstrap theme
|
||||
# Allow users to download attachments to server. Warning: This can be dangerous, because via that feature attackers maybe can access ressources on your intranet!
|
||||
allow_attachments_downloads: false
|
||||
|
||||
Reference in New Issue
Block a user