Move mongodb migrations inside the server's folder

This commit is contained in:
allegroai
2019-12-29 08:58:54 +02:00
parent b536020058
commit 551be12f01
4 changed files with 12 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ from service_repo.auth.fixed_user import FixedUser
log = config.logger(__file__)
migration_dir = (Path(__file__) / "../../migration/mongodb").resolve()
migration_dir = Path(__file__).resolve().parent / "mongo" / "migrations"
class MissingElasticConfiguration(Exception):