invoke task for celan_settings

This commit is contained in:
Matthias 2021-08-01 01:06:17 +02:00
parent 2347f15c2e
commit ae8e58ac12

View File

@ -137,6 +137,14 @@ def rebuild(c):
manage(c, "rebuild_models")
@task
def clean_settings(c):
"""
Clean the setting tables of old settings
"""
manage(c, "clean_settings")
@task
def migrate(c):
"""
@ -167,7 +175,7 @@ def static(c):
manage(c, "collectstatic --no-input")
@task(pre=[install, migrate, static])
@task(pre=[install, migrate, static, clean_settings])
def update(c):
"""
Update InvenTree installation.