diff --git a/django-stubs/db/migrations/autodetector.pyi b/django-stubs/db/migrations/autodetector.pyi index 931945734..4cb0b52f2 100644 --- a/django-stubs/db/migrations/autodetector.pyi +++ b/django-stubs/db/migrations/autodetector.pyi @@ -43,17 +43,24 @@ class MigrationAutodetector: def generate_created_proxies(self) -> None: ... def generate_deleted_models(self) -> None: ... def generate_deleted_proxies(self) -> None: ... + def create_renamed_fields(self) -> None: ... renamed_fields: Any def generate_renamed_fields(self) -> None: ... def generate_added_fields(self) -> None: ... def generate_removed_fields(self) -> None: ... def generate_altered_fields(self) -> None: ... def create_altered_indexes(self) -> None: ... + def generate_renamed_indexes(self) -> None: ... + def create_altered_constraints(self) -> None: ... + def generate_added_constraints(self) -> None: ... + def generate_removed_constraints(self) -> None: ... def generate_added_indexes(self) -> None: ... def generate_removed_indexes(self) -> None: ... + def generate_removed_altered_unique_together(self) -> None: ... def generate_altered_unique_together(self) -> None: ... def generate_altered_index_together(self) -> None: ... def generate_altered_db_table(self) -> None: ... + def generate_altered_db_table_comment(self) -> None: ... def generate_altered_options(self) -> None: ... def generate_altered_order_with_respect_to(self) -> None: ... def generate_altered_managers(self) -> None: ... diff --git a/scripts/stubtest/allowlist_todo.txt b/scripts/stubtest/allowlist_todo.txt index 45811f582..2f189e4b9 100644 --- a/scripts/stubtest/allowlist_todo.txt +++ b/scripts/stubtest/allowlist_todo.txt @@ -650,14 +650,7 @@ django.db.backends.utils.names_digest django.db.backends.utils.split_tzname_delta django.db.connection django.db.migrations.Migration.suggest_name -django.db.migrations.autodetector.MigrationAutodetector.create_altered_constraints -django.db.migrations.autodetector.MigrationAutodetector.create_renamed_fields -django.db.migrations.autodetector.MigrationAutodetector.generate_added_constraints -django.db.migrations.autodetector.MigrationAutodetector.generate_altered_db_table_comment django.db.migrations.autodetector.MigrationAutodetector.generate_removed_altered_index_together -django.db.migrations.autodetector.MigrationAutodetector.generate_removed_altered_unique_together -django.db.migrations.autodetector.MigrationAutodetector.generate_removed_constraints -django.db.migrations.autodetector.MigrationAutodetector.generate_renamed_indexes django.db.migrations.graph.MigrationGraph.make_state django.db.migrations.graph.Node.__ge__ django.db.migrations.graph.Node.__gt__