| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-05-10 | Refs #34553 -- Split constraint escaping test in subtests. | Simon Charette | |
| This ensures that constraint violations are tested in isolation from each other as an IntegrityError only ensures a least one constraint is violated. For example, the assertion added in 42e8cf4 break both the name_constraint_rhs and the rebate_constraint constraints and thus doesn't constitute a proper regression test. Refs #32369. | |||
| 2023-05-09 | Refs #34534 -- Reduced Add/RemoveConstraint and Add/RenameIndex operations ↵ | Akash Kumar Sen | |
| when optimizing migrations. | |||
| 2023-05-03 | Fixed #34529, Refs #34525 -- Reduced index operations with ↵ | Mariusz Felisiak | |
| Meta.indexes/index_together when optimizing migrations. This makes squashing migrations an available path for changing Meta.index_together, which is deprecated, to Meta.indexes. Follow up to f81032572107846922745b68d5b7191058fdd5f5. | |||
| 2023-05-01 | Fixed #34528 -- Reduced Add/RemoveIndex operations when optimizing migrations. | Mariusz Felisiak | |
| 2023-03-21 | Fixed #34388 -- Allowed using choice enumeration types directly on model and ↵ | T. Franzel | |
| form fields. | |||
| 2023-03-20 | Fixed #34420 -- Corrected the order of imports in generated migration files. | Andy Chosak | |
| 2023-03-10 | Fixed #34333 -- Fixed migration operations ordering when adding ↵ | Durval Carvalho | |
| index/constraint on new foreign key. Thanks Simon Charette and David Wobrock for reviews. | |||
| 2023-03-04 | Refs #34381 -- Fixed isolation of MigrateTests.test_migrate_fake_initial(). | Mariusz Felisiak | |
| 2023-02-24 | Fixed #34366 -- Reduced AlterField operations when optimizing migrations. | Laurent Tramoy | |
| 2023-02-23 | Refs #30060, Refs #34217 -- Made SchemaEditor not generate SQL for ↵ | Mariusz Felisiak | |
| CheckConstraint if not supported. The new logic mirrors the logic in SchemaEditor._delete_check_sql() added in 68ef274bc505cd44f305c03cbf84cf08826200a8. Thanks Tim Graham for the report. | |||
| 2023-02-15 | Completed test coverage for django.db.migrations.graph. | Marcelo Galigniana | |
| 2023-02-14 | Fixed #34250 -- Fixed renaming model with m2m relation to a model with the ↵ | DevilsAutumn | |
| same name. | |||
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2023-01-19 | Fixed #32528 -- Replaced django.utils.topological_sort with ↵ | Nick Pope | |
| graphlib.TopologicalSort(). graphlib.TopologicalSort() is available since Python 3.9. | |||
| 2023-01-18 | Refs #34233 -- Used types.NoneType. | Nick Pope | |
| Available since Python 3.10 where it was reintroduced. | |||
| 2023-01-18 | Fixed #34233 -- Dropped support for Python 3.8 and 3.9. | Mariusz Felisiak | |
| 2023-01-17 | Refs #32365 -- Removed django.utils.timezone.utc per deprecation timeline. | Mariusz Felisiak | |
| 2023-01-17 | Refs #32365 -- Removed support for pytz timezones per deprecation timeline. | Mariusz Felisiak | |
| 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-12-27 | Fixed #34217 -- Fixed migration crash when removing check constraints on ↵ | DevilsAutumn | |
| MySQL < 8.0.16. | |||
| 2022-11-17 | Fixed #28987 -- Fixed altering ManyToManyField when changing to ↵ | DevilsAutumn | |
| self-referential. | |||
| 2022-10-31 | Used more augmented assignment statements. | Nick Pope | |
| Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | |||
| 2022-09-28 | Fixed #34051 -- Made makemigrations --check exit before making migrations. | Jacob Walls | |
| 2022-09-27 | Fixed #34052 -- Made migrate --check don't emit signals and output when up ↵ | JunKi Yoon | |
| to date. | |||
| 2022-09-27 | Fixed #34050 -- Replaced invalid chars in migration names with '_'. | Adam Johnson | |
| Thanks to Bishal Gautam for the report and initial implementation. Regression in fa58450a9ab8a1bdd2a5090b51b00078fd85ffa6. Co-Authored-By: Bishal Gautam <bisalgt@gmail.com> | |||
| 2022-09-25 | Fixed #34027 -- Fixed migrations crash when altering type of char/text ↵ | David Sanders | |
| fields referenced by foreign key on PostgreSQL. | |||
| 2022-08-29 | Refs #33953 -- Fixed test_rename_model_with_db_table_rename_m2m() crash on ↵ | Mariusz Felisiak | |
| SQLite < 3.20. | |||
| 2022-08-26 | Fixed #33953 -- Reverted "Fixed #33201 -- Made RenameModel operation a noop ↵ | Iuri de Silvio | |
| for models with db_table." Regression in afeafd6036616bac8263d762c1610f22241c0187. This reverts afeafd6036616bac8263d762c1610f22241c0187. Thanks Timothy Thomas for the report. | |||
| 2022-08-25 | Fixed #33938 -- Fixed migration crash for m2m with a through model in ↵ | Simon Charette | |
| another app. Regression in aa4acc164d1247c0de515c959f7b09648b57dc42. Thanks bryangeplant for the report. | |||
| 2022-08-25 | Fixed #33916 -- Added support for serialization of enum.Flag in migrations. | Willem Van Onsem | |
| 2022-08-16 | Refs #33916 -- Added tests for serialization of enum.Flag in migrations. | Willem Van Onsem | |
| 2022-08-03 | Fixed #33887 -- Fixed test_fails_squash_migration_manual_porting() on final ↵ | Alberto Planas | |
| tags. Regression in 7c318a8bdd66f8c5241864c9970dddb525d0ca4c. | |||
| 2022-07-26 | Refs #27236 -- Reverted AlterIndexTogether deprecation. | Mariusz Felisiak | |
| This partly reverts a6385b382e05a614a99e5a5913d8e631823159a2. | |||
| 2022-07-21 | Refs #27236 -- Made cosmetic edits to Meta.index_together deprecation. | Mariusz Felisiak | |
| This should make it more straightforward to move forward when deprecation ends. | |||
| 2022-07-12 | Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes. | David Wobrock | |
| This also deprecates AlterIndexTogether migration operation. | |||
| 2022-07-12 | Refs #27236 -- Split RenameField() tests with unique/index_together. | David Wobrock | |
| 2022-06-17 | Fixed #24870 -- Added --update option to makemigrations command. | David Wobrock | |
| 2022-06-13 | Refs #27236 -- Split index_together and unique_together autodetector tests. | David Wobrock | |
| 2022-06-13 | Refs #27236 -- Added test_autodetector.BaseAutodetectorTests. | David Wobrock | |
| 2022-06-02 | Fixed #31788 -- Fixed migration optimization after altering field to ↵ | David Wobrock | |
| ManyToManyField. This makes AddField() used for altering to ManyToManyField, dependent on the prior RemoveField. | |||
| 2022-05-26 | Fixed #23740 -- Fixed removing unique_together constraint if exists primary ↵ | David Wobrock | |
| key/unique constraint on the same field. | |||
| 2022-05-17 | Refs #27064 -- Made migrations generate RenameIndex operations when moving ↵ | David Wobrock | |
| indexes from index_together to Meta.indexes. | |||
| 2022-05-16 | Refs #27064 -- Made migrations generate RenameIndex operations when renaming ↵ | David Wobrock | |
| Meta.indexes. | |||
| 2022-05-16 | Fixed #33710 -- Made RenameIndex operation a noop when the old and new name ↵ | David Wobrock | |
| match. | |||
| 2022-05-12 | Refs #27064 -- Added RenameIndex migration operation. | David Wobrock | |
| 2022-05-05 | Refs #30581 -- Moved CheckConstraint tests for conditional expressions to ↵ | Mariusz Felisiak | |
| migrations.test_operations. This allows avoiding warning in tests about using RawSQL in CheckConstraints. | |||
| 2022-05-02 | Fixed #33413 -- Made migrations propage collations to related fields. | David Wobrock | |
| 2022-04-21 | Fixed #33509 -- Added "(no-op)" to sqlmigrate output for operations without ↵ | Adam Johnson | |
| SQL statement. | |||
| 2022-04-21 | Refs #33509 -- Made sqlmigrate tests stricter and improved isolation. | Adam Johnson | |
| 2022-04-13 | Fixed tests on databases that don't support introspecting foreign keys. | Mariusz Felisiak | |
