Skip to content

Commit c9576f0

Browse files
committed
Documented env migration command
1 parent cbedb37 commit c9576f0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/usage/console_commands.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ docker exec --user=www-data partdb php bin/console cache:clear
6666
* `partdb:migrations:import-partkeepr`: Imports a mysqldump XML dump of a PartKeepr database into Part-DB. This is only
6767
needed for users, which want to migrate from PartKeepr to Part-DB. *All existing data in the Part-DB database is
6868
deleted!*
69+
* `settings:migrate-env-to-settings`: Migrate configuration from environment variables to the settings interface.
70+
The value of the environment variable is copied to the settings database, so the environment variable can be removed afterwards without losing the configuration.
6971

7072
## Database commands
7173

@@ -76,4 +78,4 @@ docker exec --user=www-data partdb php bin/console cache:clear
7678

7779
* `php bin/console partdb:attachments:download`: Download all attachments, which are not already downloaded, to the
7880
local filesystem. This is useful to create local backups of the attachments, no matter what happens on the remote and
79-
also makes pictures thumbnails available for the frontend for them
81+
also makes pictures thumbnails available for the frontend for them

0 commit comments

Comments
 (0)