mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 17:39:06 +02:00
Let doctrine detect its driver and db_version automatically.
This commit is contained in:
parent
1ae905ae78
commit
9c22149afd
2 changed files with 4 additions and 3 deletions
|
@ -8,8 +8,10 @@ parameters:
|
||||||
doctrine:
|
doctrine:
|
||||||
dbal:
|
dbal:
|
||||||
# configure these for your database server
|
# configure these for your database server
|
||||||
driver: 'pdo_mysql'
|
# Doctrine should be able to detect these settings automatically, so just override them if you getting errors.
|
||||||
server_version: '%env(string:default:db_version_fallback:DB_VERSION)%'
|
#driver: 'pdo_mysql'
|
||||||
|
#server_version: '5.6'
|
||||||
|
|
||||||
charset: utf8mb4
|
charset: utf8mb4
|
||||||
default_table_options:
|
default_table_options:
|
||||||
charset: utf8mb4
|
charset: utf8mb4
|
||||||
|
|
|
@ -13,7 +13,6 @@ parameters:
|
||||||
default_currency: 'EUR' # The currency that should be used
|
default_currency: 'EUR' # The currency that should be used
|
||||||
media_directory: 'public/media/' # The folder where uploaded attachment files are saved
|
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/)
|
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
|
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 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
|
allow_attachments_downloads: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue