Beispiel #1
0
 def evolve(self):
     collection = mapper(Workspace).collection
     DBSession.drop_indexes(collection)
     DBSession.ensure_indexes(collection)
     DBSession.flush_all()
Beispiel #2
0
 def evolve(self):
     collection = mapper(Category).collection
     DBSession.drop_indexes(collection)
     DBSession.ensure_indexes(collection)
     DBSession.flush_all()