Esempio n. 1
0
def upgrade():
    """Create or upgrade the search index and database."""
    upgrade_system()
    update_roles()
    upgrade_collections()
Esempio n. 2
0
def update():
    """Re-index all collections and clear some caches."""
    update_roles()
    upgrade_collections()