Add db migrations!

This commit is contained in:
Root User 2026-02-07 18:58:52 +01:00
parent 3804745fd1
commit 2981721727
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 2 additions and 1 deletions

View file

@ -31,6 +31,7 @@
"ALLOW_ATTACHMENT_DOWNLOADS" = "0";
"APP_ENV" = "docker";
"BASE_CURRENCY" = "DKK";
"DB_AUTOMIGRATE" = "true";
"DEFAULT_LANG" = "en";
"DEFAULT_TIMEZONE" = "Europe/Copenhagen";
"INSTANCE_NAME" = "Part-DB";

View file

@ -16,7 +16,7 @@ services:
# run the doctrine:migrations:migrate commands on installation or upgrade. A database backup is written to the uploads/
# folder (under .automigration-backup), so you can restore it, if the migration fails.
# This feature is currently experimental, so use it at your own risk!
# - DB_AUTOMIGRATE=true
- DB_AUTOMIGRATE=true
# You can configure Part-DB using environment variables
# Below you can find the most essential ones predefined