From c9576f0b0858941c6d2ebd2df9c6baa7d7a57473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Thu, 28 Aug 2025 23:50:32 +0200 Subject: [PATCH] Documented env migration command --- docs/usage/console_commands.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/usage/console_commands.md b/docs/usage/console_commands.md index e5197251..173f7b78 100644 --- a/docs/usage/console_commands.md +++ b/docs/usage/console_commands.md @@ -66,6 +66,8 @@ docker exec --user=www-data partdb php bin/console cache:clear * `partdb:migrations:import-partkeepr`: Imports a mysqldump XML dump of a PartKeepr database into Part-DB. This is only needed for users, which want to migrate from PartKeepr to Part-DB. *All existing data in the Part-DB database is deleted!* +* `settings:migrate-env-to-settings`: Migrate configuration from environment variables to the settings interface. +The value of the environment variable is copied to the settings database, so the environment variable can be removed afterwards without losing the configuration. ## Database commands @@ -76,4 +78,4 @@ docker exec --user=www-data partdb php bin/console cache:clear * `php bin/console partdb:attachments:download`: Download all attachments, which are not already downloaded, to the local filesystem. This is useful to create local backups of the attachments, no matter what happens on the remote and - also makes pictures thumbnails available for the frontend for them \ No newline at end of file + also makes pictures thumbnails available for the frontend for them