Switch to unified view
a/Allura/allura/websetup/bootstrap.py | b/Allura/allura/websetup/bootstrap.py | ||
---|---|---|---|
... |
... |
||
175 | log.info('Dropping collection %s:%s', database, coll) |
175 | log.info('Dropping collection %s:%s', database, coll) |
176 | try: |
176 | try: |
177 | db.drop_collection(coll) |
177 | db.drop_collection(coll) |
178 | except: |
178 | except: |
179 | pass |
179 | pass |
180 | create_trove_categories.run([]) |
180 | create_trove_categories.run([''])
|
181 | index.run([]) |
181 | index.run([''])
|
182 | 182 | ||
183 | 183 | ||
184 | 184 | ||
185 | def clear_all_database_tables(): |
185 | def clear_all_database_tables(): |
186 | conn = M.main_doc_session.bind.conn |
186 | conn = M.main_doc_session.bind.conn |