mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Add makemigration exception for evennia_launcher. Resolve #1839
This commit is contained in:
parent
be0cba2ac3
commit
c083f767d8
1 changed files with 1 additions and 1 deletions
|
|
@ -2139,7 +2139,7 @@ def main():
|
|||
|
||||
init_game_directory(CURRENT_DIR, check_db=check_db, need_gamedir=need_gamedir)
|
||||
|
||||
if option == "migrate":
|
||||
if option in ("migrate", "makemigrations"):
|
||||
# we have to launch migrate within the program to make sure migrations
|
||||
# run within the scope of the launcher (otherwise missing a db will cause errors)
|
||||
django.core.management.call_command(*([option] + unknown_args))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue