django/tests/migrations
Simon Charette 1b539ef27e Refs #31055 -- Augmented regression tests for database system checks.
We might want to change this in the future but it should be further
discussed first.
2025-11-13 10:18:06 +01:00
..
deprecated_field_migrations Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
faulty_migrations
migrations_test_apps Fixed #33174 -- Fixed migrations crash for model inheriting from Generic[T]. 2025-05-12 17:39:20 +01:00
related_models_app
test_add_many_to_many_field_initial Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_auto_now_add Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_fake_initial_case_insensitive Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_migrations Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_atomic_operation Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_migrations_backwards_deps_1 Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_migrations_bad_pyc
test_migrations_clashing_prefix Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_migrations_conflict Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_conflict_long_name Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_migrations_custom_user Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_migrations_empty
test_migrations_fake_split_initial Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_first Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_initial_false Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_manual_porting Fixed #27844 -- Added optimizemigration management command. 2022-02-22 10:30:40 +01:00
test_migrations_namespace_package
test_migrations_no_ancestor Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_no_changes Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField. 2025-09-05 10:43:10 -04:00
test_migrations_no_default Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField. 2025-09-05 10:43:10 -04:00
test_migrations_no_init
test_migrations_no_operations
test_migrations_non_atomic Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_migrations_noop Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_order Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_plan Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_private
test_migrations_run_before Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_squashed Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_squashed_complex Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_squashed_complex_multi_apps Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_squashed_double Fixed #36146 -- Recorded applied/unapplied migrations recursively. 2025-02-13 12:52:06 +01:00
test_migrations_squashed_erroneous Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_squashed_extra
test_migrations_squashed_loop Fixed #24529 -- Allowed double squashing of migrations. 2025-01-22 10:56:30 +01:00
test_migrations_squashed_no_replaces Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_squashed_partially_applied Fixed #24529 -- Allowed double squashing of migrations. 2025-01-22 10:56:30 +01:00
test_migrations_squashed_ref_squashed Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
test_migrations_squashed_replaced_order Fixed #36652 -- Increased determinism when loading migrations from disk. 2025-11-04 08:15:22 -05:00
test_migrations_unmigdep Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
__init__.py
models.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
routers.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_autodetector.py Fixed #36438 -- Made MigrationAutodetector remove generated fields before their base fields. 2025-07-25 13:59:13 +02:00
test_base.py Fixed assertIndexExists() crash when non-index constraint exists on the same columns. 2025-09-29 23:01:12 +02:00
test_commands.py Refs #31055 -- Augmented regression tests for database system checks. 2025-11-13 10:18:06 +01:00
test_deprecated_fields.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_exceptions.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_executor.py Refs #36500 -- Rewrapped long docstrings and block comments via a script. 2025-07-23 20:17:55 -03:00
test_graph.py Completed test coverage for django.db.migrations.graph. 2023-02-15 07:40:19 +01:00
test_loader.py Fixed #36652 -- Increased determinism when loading migrations from disk. 2025-11-04 08:15:22 -05:00
test_multidb.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_operations.py Fixed #35972 -- Fixed lookup crashes after subquery annotations. 2025-08-04 10:14:01 +02:00
test_optimizer.py Refs #35038 -- Reduced CreateModel/AlterConstraint operations when optimizing migrations. 2025-06-19 12:22:23 +02:00
test_questioner.py Fixed #36016 -- Prevented traceback when quitting makemigrations with Ctrl-C. 2024-12-19 11:33:18 +01:00
test_state.py Refs #36500 -- Rewrapped long docstrings and block comments via a script. 2025-07-23 20:17:55 -03:00
test_writer.py Fixed #36695 -- Fixed handling of parameterized generics in migration serialization. 2025-11-03 20:45:48 -05:00