Bot will now exit after the migration
This commit is contained in:
1
main.py
1
main.py
@@ -45,6 +45,7 @@ def main() -> None:
|
|||||||
# Perform migration if command line argument was provided
|
# Perform migration if command line argument was provided
|
||||||
if args.migrate:
|
if args.migrate:
|
||||||
migrate_database()
|
migrate_database()
|
||||||
|
exit()
|
||||||
|
|
||||||
# if args.downgrade:
|
# if args.downgrade:
|
||||||
# if not args.confirm:
|
# if not args.confirm:
|
||||||
|
Reference in New Issue
Block a user