database: add autoupgrade command

This commit is contained in:
2023-03-18 02:12:58 -04:00
parent 6ff8c4d931
commit 188be2dfc1
3 changed files with 69 additions and 17 deletions

View File

@ -64,6 +64,9 @@ if __name__ == "__main__":
else:
data.migrate_database(args.game, int(args.version), args.action)
elif args.action == "autoupgrade":
data.autoupgrade()
elif args.action == "create-owner":
data.create_owner(args.email)