renumber-migrations: Avoid crashing with squashed migrations.

This commit is contained in:
Tim Abbott 2024-09-13 16:11:28 -07:00
parent d4b1d0a68e
commit 3514cbd7e8
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def resolve_conflicts(conflicts: list[str], files_list: list[str]) -> None:
if __name__ == "__main__": if __name__ == "__main__":
MIGRATIONS_TO_SKIP = {"0209", "0261", "0501"} MIGRATIONS_TO_SKIP = {"0209", "0261", "0501", "0001"}
while True: while True:
conflicts: list[str] = [] conflicts: list[str] = []
stack: list[str] = [] stack: list[str] = []