1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-01 20:10:55 +01:00

Changed the mongodb migration handler name to a more generic one

This commit is contained in:
Roland Haroutiounian 2016-06-16 14:21:47 +02:00
commit 2e13ab78bc
4 changed files with 15 additions and 15 deletions

View file

@ -25,5 +25,5 @@ def refresh_dyncode(model_file, translator, output_filename):
def init_db(conn_args, editorial_model):
migration_handler = MongoDbMigrationHandler(editorial_model, conn_args)
migration_handler._install_collections()
migration_handler.init_db()
migration_handler.database.close()