summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/schema.py
AgeCommit message (Collapse)Author
2019-03-28[2.2.x] Fixed "byte string" typo in various docs and comments.Mariusz Felisiak
Backport of 881362986a1ee8f650752de8471a895890b71f96 from master
2019-03-18[2.2.x] Fixed #30258 -- Adjusted postgres schema value quoting of ranges.Simon Charette
Thanks Tilman Koschnick for the report and patch. Backport of 386d89ab55e620440d30590a8a104fe6d5eef830 from master
2019-01-01Fixed #30060 -- Moved SQL generation for indexes and constraints to ↵Paveł Tyślacki
SchemaEditor.
2018-10-29Fixed #29547 -- Added support for partial indexes.Mads Jensen
Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and Markus Holtermann for comments and feedback.
2018-06-29Fixed #28077 -- Added support for PostgreSQL opclasses in Index.Ian Foote
Thanks Vinay Karanam for the initial patch.
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
2017-08-08Refs #23766 -- Added tests for CursorWrapper.callproc().Mariusz Felisiak
Thanks Tim Graham for the review.
2017-06-20Refs #25530 -- Changed _create_index_name to take a table as first parameter.Simon Charette
2017-06-06Fixed #28275 -- Added more hooks to SchemaEditor._alter_field().Florian Apolloner
2017-05-24Fixed #27860 -- Dropped varchar_pattern_ops/text_pattern_ops index before ↵Mariusz Felisiak
altering char/text field in PostgreSQL. Thanks Tim Graham for the review.
2017-03-03Refs #27860 -- Simplified deleting indexes on PostgreSQL using "IF EXISTS".Mariusz Felisiak
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2016-12-24Fixed #25492 -- Checked deferred foreign key constraints before dropping them.Simon Charette
This allows running foreign key data and schema altering operations in the same migration on PostgreSQL. Thanks Tim for review.
2016-08-12Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.Akshesh
2016-07-15Refs #26889 -- Refactored SchemaEditor to allow backend specific indexes.Jon Dufresne
2016-07-13Fixed #26889 -- Fixed missing PostgreSQL index in SchemaEditor.add_field().Jon Dufresne
2016-07-07Fixed #25317, #26090 -- Fixed swapping combinations of unique and db_index ↵Jon Dufresne
during migrations.
2016-01-08Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on ↵Tim Graham
Char/TextField with unique=True and db_index=True. Thanks Simon Charette for review.
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-12-10Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField when using ↵Federico Frenguelli
AlterField. Thanks to Emanuele Palazzetti for the help.
2015-08-15Fixed #25180 -- Prevented varchar_patterns_ops and text_patterns_ops indexes ↵Caio Ariede
for ArrayField.
2015-08-07Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede