This commit is contained in:
tonyrewin 2022-12-24 10:34:03 +03:00
parent 9bb8751d03
commit 6268e3f2c7

View File

@ -93,6 +93,11 @@ if __name__ == "__main__":
print("MODE: MIGRATE")
migrate()
elif x == "bson":
from migration.bson2json import json_tables
print("MODE: BSON")
json_tables()
else:
sys.excepthook = exception_handler
uvicorn.run(