migration wip

This commit is contained in:
2021-08-20 12:30:52 +03:00
parent 3075dbb64b
commit f756cb9fb6
3 changed files with 4 additions and 2 deletions

View File

@@ -67,5 +67,8 @@ if __name__ == '__main__':
topics()
users()
shouts()
elif sys.argv[1] == "bson":
import migration.bson2json
bson2json.json_tables()
else:
print('usage: python migrate.py <all|topics|users|shouts|comments>')