| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-11-29 | Fixed #35308 -- Handled OSError when launching code formatters. | Jacob Walls | |
| Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-09-03 | Fixed #35704 -- Fixed reduction for AddIndex subclasses. | Adam Johnson | |
| 2024-08-01 | Reverted "Fixed #28646 -- Prevented duplicate index when unique is set to ↵ | Sarah Boyce | |
| True on PostgreSQL." This reverts commit 9cf9c796be8dd53bc3b11355ff39d65c81d7be6d due to a crash on Oracle as it didn't allow multiple indexes on the same field. | |||
| 2024-07-30 | Fixed #28646 -- Prevented duplicate index when unique is set to True on ↵ | Ben Cail | |
| PostgreSQL. | |||
| 2023-09-18 | Refs #27236 -- Removed Meta.index_together per deprecation timeline. | Mariusz Felisiak | |
| 2023-05-12 | Fixed #470 -- Added support for database defaults on fields. | Ian Foote | |
| Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews. | |||
| 2022-12-28 | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | |
| Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-07-12 | Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes. | David Wobrock | |
| This also deprecates AlterIndexTogether migration operation. | |||
| 2022-05-02 | Fixed #33413 -- Made migrations propage collations to related fields. | David Wobrock | |
| 2022-04-13 | Fixed tests on databases that don't support introspecting foreign keys. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-01-13 | Fixed #26167 -- Added support for functional indexes. | Hannes Ljungberg | |
| Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu> | |||
| 2020-11-07 | Removed hardcoded pks in migrations' test_alter_order_with_respect_to. | Tim Graham | |
| 2020-04-23 | Fixed #29224 -- Fixed removing index_together indexes if exists ↵ | David Wobrock | |
| unique_together constraint on the same fields. | |||
| 2020-01-20 | Refs #31117 -- Made various tests properly handle unexpected databases aliases. | Matthijs Kooijman | |
| - Used selected "databases" instead of django.db.connections. - Made routers in tests.migrations skip migrations on unexpected databases. - Added DiscoverRunnerGetDatabasesTests.assertSkippedDatabases() hook which properly asserts messages about skipped databases. | |||
| 2019-10-29 | Used more specific unittest assertions in tests. | Nick Pope | |
| * assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False. | |||
| 2019-08-21 | Fixed #21039 -- Added AddIndexConcurrently/RemoveIndexConcurrently ↵ | Mads Jensen | |
| operations for PostgreSQL. Thanks to Simon Charettes for review. Co-Authored-By: Daniel Tao <daniel.tao@gmail.com> | |||
| 2019-08-19 | Moved migrations.test_operations.OperationTestBase to migrations.test_base. | Mads Jensen | |
| Co-Authored-By: Daniel Tao <daniel.tao@gmail.com> | |||
| 2019-01-10 | Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵ | Simon Charette | |
| favor of databases. | |||
| 2018-07-10 | Fixed #11964 -- Added support for database check constraints. | Ian Foote | |
| 2017-02-10 | Added multi_db=True to test cases that access the 'other' db connection. | Tim Graham | |
| Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683. | |||
| 2017-01-26 | Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context ↵ | Chillar Anand | |
| manager. | |||
| 2017-01-25 | Removed unused variables that are overwritten. | Mads Jensen | |
| 2016-02-25 | Fixed #26117 -- Consulted database routers in initial migration detection. | Scott Sexton | |
| Thanks Simon Charette for help. | |||
| 2015-06-02 | Improved isolation of applied-migrations table in migration tests. | Carl Meyer | |
| 2015-02-23 | Made migrations tests write to a temporary directory. | Aymeric Augustin | |
| This is preferrable to writing in the current working directory because it eliminates the risk to leak unwanted files, which can result in very weird test failures. Also this will help if we ever try to run these tests concurrently. | |||
| 2014-11-19 | Fixed #23872 -- Removed sensitivity of migrations tests to CWD. | Carl Meyer | |
| 2014-09-23 | Called table_names instead of get_table_list in migrations | Claude Paroz | |
| 2014-06-07 | Fixed #22750, #22248: Model renaming now also alters field FKs | Andrew Godwin | |
| 2014-02-02 | Ensure cursors are closed when no longer needed. | Michael Manfre | |
| This commit touchs various parts of the code base and test framework. Any found usage of opening a cursor for the sake of initializing a connection has been replaced with 'ensure_connection()'. | |||
| 2013-08-23 | Fix some small errors in the tests | Andrew Godwin | |
| 2013-07-25 | Add tests for the migrate command and fix a bug they exposed | Andrew Godwin | |
