def METHOD_NAME():
    from tests.backend import migrations as migrations_test_module
    patches = {}
    for file in importlib.resources.files(migrations_test_module).iterdir():
        file_name = file.name
        match = re.search(MIGRATION_FILE_PATTERN, file_name)
        if match:
            idx = int(match.group("id"))
            assert idx not in patches  # Sanity check
            sql = importlib.resources.files(migrations_test_module).joinpath(file_name).read_text()
            patches[idx] = sql
    return patches