Dump only settings needed for reboot on database config update from adminFE
Dump settings only needed on reboot in separate file to avoid overwriting config/{env}.exported_from_db.secret.exs
file.
For example:
- there are some config settings in database
- user runs mix task migrate_from_db with
-d
flag (settings are dumped to file and deleted fromconfig
table) - user saves config in adminFE, file with migrated from db settings is overwritten with new settings, which can lead to previously migrated settings loss