def evolve(self): collection = mapper(Workspace).collection DBSession.drop_indexes(collection) DBSession.ensure_indexes(collection) DBSession.flush_all()
def evolve(self): collection = mapper(Category).collection DBSession.drop_indexes(collection) DBSession.ensure_indexes(collection) DBSession.flush_all()