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