Add mix tasks to give additional ConfigDB recovery and debugging options
-
pleroma.config dump
: prints the entire config as it would be exported to the filesystem -
pleroma.config dump GROUP
: prints all configuration values for the specified group stored in ConfigDB -
pleroma.config dump GROUP KEY
: prints the configuration value for the KEY under GROUP stored in ConfigDB -
pleroma.config groups
: lists the configuration groups stored in ConfigDB -
pleroma.config [--force] reset
: Truncates table, resets sequence for the table <--- Has warning prompt unless forced🚨 -
pleroma.config delete [--force] GROUP
: deletes ConfigDB keys stored under the GROUP <--- Has warning prompt unless forced🚨 -
pleroma.config delete [--force] GROUP KEY
: deletes ConfigDB specified KEY stored under the specified GROUP <--- Has warning prompt unless forced🚨
This should prevent the need for users to manually execute SQL queries.