Show the kiosk label prefix, and let a plugin declare the settings it owns
This commit is contained in:
@@ -869,7 +869,10 @@ def upgrade_all_plugins():
|
||||
Idempotent. Run this after `flask db upgrade` on every deploy and
|
||||
upgrade. It stamps each bundled plugin's anchor revision into
|
||||
alembic_version_<plugin> and applies any per-plugin migrations added
|
||||
after the ownership cutover (ADR-008). Safe to re-run at head.
|
||||
after the ownership cutover (ADR-008). It also seeds any settings a
|
||||
plugin declares (get_settings_defaults) that this site is missing, so a
|
||||
setting added in a later version reaches a site that installed earlier.
|
||||
Safe to re-run at head.
|
||||
"""
|
||||
pm = current_app.extensions.get('plugin_manager')
|
||||
if not pm:
|
||||
|
||||
Reference in New Issue
Block a user