From 2f88b810e050660130efb9733be65c17eded807a Mon Sep 17 00:00:00 2001 From: tnmkr Date: Mon, 8 Apr 2024 22:42:12 +0530 Subject: [PATCH] renumber-migrations: Skip migration 0501. Security fix cf8b9ad needed migration `zerver/0501_delete_dangling_usermessages` on the 8.x branch (3db1733). This resulted in two migrations numbered 0501, due to which this tool always got stuck on 0501. --- tools/renumber-migrations | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/renumber-migrations b/tools/renumber-migrations index 9eebf9ec7c..9a1cd21ebc 100755 --- a/tools/renumber-migrations +++ b/tools/renumber-migrations @@ -54,7 +54,7 @@ def resolve_conflicts(conflicts: List[str], files_list: List[str]) -> None: if __name__ == "__main__": - MIGRATIONS_TO_SKIP = {"0209", "0261"} + MIGRATIONS_TO_SKIP = {"0209", "0261", "0501"} while True: conflicts: List[str] = [] stack: List[str] = []