Switch to side-by-side view
--- a/scripts/migrate_project_database.py +++ b/scripts/migrate_project_database.py @@ -57,7 +57,6 @@ for p in M.Project.query.find(dict(database=database)): p.database = '' p.database_uri = M.Project.default_database_uri(pname) - project.ensure_project_indexes() session(project).flush() if not skip: conn.drop_database(database)