Exemplo n.º 1
0
def upgrade():
    """Create or upgrade the search index and database."""
    upgrade_system()
Exemplo n.º 2
0
def upgrade():
    """Create or upgrade the search index and database."""
    upgrade_system()
    update_roles()
    upgrade_collections()
Exemplo n.º 3
0
def resetindex():
    """Re-create the ES index configuration, dropping all data."""
    delete_index()
    upgrade_system()