summaryrefslogtreecommitdiff
path: root/django/db/backends/base/schema.py
AgeCommit message (Expand)Author
2025-01-10Refs #36064 -- Added Model.has_db_default() to encapsulate NOT_PROVIDED checks.Simon Charette
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-08-01Reverted "Fixed #28646 -- Prevented duplicate index when unique is set to Tru...Sarah Boyce
2024-07-30Fixed #28646 -- Prevented duplicate index when unique is set to True on Postg...Ben Cail
2024-07-25Fixed #35625 -- Fixed a crash when adding a field with db_default and check c...Simon Charette
2024-05-28Fixed #35469 -- Removed deferred SQL to create index removed by AlterField op...Jacob Walls
2024-05-03Fixed #35422 -- Fixed migrations crash when altering GeneratedField referenci...Mariusz Felisiak
2024-04-02Fixed #35336 -- Addressed crash when adding a GeneratedField with % literals.Simon Charette
2024-03-26Fixed #35329 -- Fixed migrations crash when adding partial unique constraints...Mariusz Felisiak
2024-02-04Fixed #35149 -- Fixed crashes of db_default with unresolvable output field.Simon Charette
2024-02-04Refs #35149 -- Made equivalent db_default alterations noops.Simon Charette
2024-02-03Fixed #35162 -- Fixed crash when adding fields with db_default on MySQL.Simon Charette
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-12-03Fixed #35002 -- Made UniqueConstraints with fields respect nulls_distinct.Peter Thomassen
2023-11-30Fixed #35006 -- Fixed migrations crash when altering Meta.db_table_comment on...Mariusz Felisiak
2023-11-07Fixed #34946 -- Preserved db_default on combined default field addition.Simon Charette
2023-09-18Refs #27236 -- Removed Meta.index_together per deprecation timeline.Mariusz Felisiak
2023-09-09Fixed #34820 -- Fixed migrations crash when changing a ForeignObject field.donghao
2023-09-07Fixed #31300 -- Added GeneratedField model field.Jeremy Nauta
2023-07-22Refs #24686 -- Made AlterField operation a noop when renaming related model w...devilsautumn
2023-07-19Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.Simon Charette
2023-07-19Reduced unique constraint eligibility code duplication.Simon Charette
2023-06-23Improved style of n-tuple wording in docs and comments.Nick Pope
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
2023-05-05Refs #27236 -- Made more cosmetic edits to Meta.index_together deprecation.Mariusz Felisiak
2023-03-02Refs #34320 -- Stopped recreating check constraints when renaming fields.Mariusz Felisiak
2023-02-23Refs #30060, Refs #34217 -- Made SchemaEditor not generate SQL for CheckConst...Mariusz Felisiak
2023-02-15Fixed #34320 -- Make sure constraints names are obtained from truncated colum...nabil-rady
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
2022-12-27Fixed #34217 -- Fixed migration crash when removing check constraints on MySQ...DevilsAutumn
2022-12-22Fixed #34219 -- Preserved Char/TextField.db_collation when altering column type.Mariusz Felisiak
2022-10-31Used more augmented assignment statements.Nick Pope
2022-09-07Fixed #33982 -- Fixed migrations crash when adding model with ExclusionConstr...James Beith
2022-08-12Fixed #33919 -- Fixed adding AutoFields on PostgreSQL.Mariusz Felisiak
2022-08-02Fixed #33881 -- Added support for database collations to ArrayField(Char/Text...Mariusz Felisiak
2022-06-13Fixed #33773 -- Made Index with multiple fields respect DEFAULT_INDEX_TABLESP...Bruce Cutler
2022-05-26Fixed #23740 -- Fixed removing unique_together constraint if exists primary k...David Wobrock
2022-05-26Refs #23740 -- Added BaseDatabaseSchemaEditor._unique_constraint_name().David Wobrock
2022-05-12Refs #27064 -- Added RenameIndex migration operation.David Wobrock
2022-05-03Fixed #29854 -- Made _all_related_fields() return deterministically ordered f...Collin Anderson
2022-05-02Fixed #33413 -- Made migrations propage collations to related fields.David Wobrock
2022-04-29Refs #33413 -- Added collation to CharField/TextField's db_parameters.David Wobrock
2022-04-13Fixed #30511 -- Used identity columns instead of serials on PostgreSQL.Florian Apolloner
2022-04-06Fixed #33471 -- Made AlterField operation a noop when changing "choices".sarahboyce
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-27Fixed #33462 -- Fixed migration crash when altering type of primary key with ...Mariusz Felisiak
2021-09-28Fixed #33125 -- Avoided redundant unique constraint when converting a non-uni...Jordan Bae
2021-09-01Fixed #33080 -- Preserved nullability of textual fields on Oracle.Mariusz Felisiak
2021-07-28Optimized BaseDatabaseSchemaEditor._effective_default() a bit,Chris Jerdonek