0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/migrations
Simon Charette ed7898e1b5 Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.
AlterFooTogether operations cannot be swapped with RemoveField operations on
the same model as they could be removing the the same field as well.

Since AlterFooTogether operations don't track what their previous value was,
it's impossible to determine whether or not the optimization is safe so the
only way to proceed is to disable the optimization.

Thanks Ramiro Morales for the in-depth analysis of the issue.

Refs #24828
2018-07-19 17:06:01 -04:00
..
deprecated_field_migrations
faulty_migrations
migrations_test_apps
related_models_app
test_add_many_to_many_field_initial
test_auto_now_add
test_migrations
test_migrations_atomic_operation
test_migrations_backwards_deps_1
test_migrations_bad_pyc Fixed #29498 -- Fixed a missing pyc test file in source distribution. 2018-06-15 14:18:08 -04:00
test_migrations_conflict
test_migrations_custom_user
test_migrations_empty
test_migrations_fake_split_initial
test_migrations_first
test_migrations_initial_false
test_migrations_no_ancestor
test_migrations_no_changes
test_migrations_no_default
test_migrations_no_init Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't have __init__.py. 2018-01-31 09:36:36 -05:00
test_migrations_non_atomic
test_migrations_order
test_migrations_run_before
test_migrations_squashed
test_migrations_squashed_complex
test_migrations_squashed_complex_multi_apps
test_migrations_squashed_erroneous
test_migrations_squashed_extra
test_migrations_squashed_ref_squashed
test_migrations_unmigdep
__init__.py
models.py
routers.py
test_autodetector.py Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField. 2018-07-19 17:06:01 -04:00
test_base.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
test_commands.py Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField. 2018-07-19 17:06:01 -04:00
test_deprecated_fields.py
test_exceptions.py
test_executor.py
test_graph.py Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). 2018-05-09 11:40:28 -04:00
test_loader.py Fixed #29498 -- Fixed a missing pyc test file in source distribution. 2018-06-15 14:18:08 -04:00
test_multidb.py
test_operations.py Allowed RemoveField operations to be optimized through. 2018-07-11 10:49:50 -04:00
test_optimizer.py Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField. 2018-07-19 17:06:01 -04:00
test_questioner.py
test_state.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
test_writer.py Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset. 2018-07-09 16:33:36 -04:00