summaryrefslogtreecommitdiff
path: root/django/contrib/gis/db/backends/postgis/schema.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34219 -- Preserved Char/TextField.db_collation when altering column type.Mariusz Felisiak2022-12-221-2/+7
| | | | | | | This moves setting a database collation to the column type alteration as both must be set at the same time. This should also avoid another layer of the column type alteration when adding database comments support (#18468).
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-13/+18
|
* Fixed #32721 -- Fixed migrations crash when adding namespaced spatial ↵snowman22021-05-141-4/+3
| | | | indexes on PostGIS.
* Refs #32721 -- Made PostGISSchemaEditor._create_index_sql() call ↵snowman22021-05-131-17/+16
| | | | super()._create_index_sql().
* Refs #26167 -- Made DatabaseSchemaEditor._create_index_sql()'s fields ↵Hannes Ljungberg2020-12-231-3/+3
| | | | argument optional and kwarg-only.
* Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg2020-06-041-0/+1
|
* Fixed #30846 -- Made PostGIS backend respect Index's name argument.=Pratik Kumar2020-02-101-1/+5
|
* Fixed #31248 -- Added missing space before USING SQL on PostGIS.Hannes Ljungberg2020-02-101-1/+1
|
* Used Statement in PostGISSchemaEditor._create_index_sql().Mads Jensen2019-09-111-8/+10
|
* Fixed #29547 -- Added support for partial indexes.Mads Jensen2018-10-291-0/+1
| | | | | Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and Markus Holtermann for comments and feedback.
* Fixed #28465 -- Unified index SQL creation in DatabaseSchemaEditorClaude Paroz2017-08-081-2/+2
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-5/+3
|
* Fixed #27056 -- Allowed migrating geometry field dimension on PostGISClaude Paroz2016-09-221-0/+29
| | | | Thanks Tim Graham for the review.
* Simplified PostGIS index creationClaude Paroz2016-09-171-55/+27
| | | | Less special-casing and code more in line with 'normal' index creation.
* Stopped deleting from the geometry_columns view on PostGISClaude Paroz2016-09-171-7/+0
| | | | | On PostGIS < 2, geometry_columns is a table that was manually maintained. It's a view on PostGIS 2.
* Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede2015-08-071-1/+1
|
* Fixed #23804 -- Added RasterField for PostGIS.Daniel Wiesmann2015-06-191-5/+11
| | | | Thanks to Tim Graham and Claude Paroz for the reviews and patches.
* Fixed #24499 -- Dropped support for PostGIS 1.5.Tim Graham2015-04-251-50/+5
|
* Fixed #23161: Drop PostGIS geography fields correctlyAndrew Godwin2014-08-041-1/+3
|
* Used migration framework in GIS test tearDownClaude Paroz2014-04-231-1/+8
|
* Fixed PostGIS remove_field implementationClaude Paroz2014-04-211-8/+8
| | | | Fixed bad code introduced in 2f9d1576e8.
* Fixed removal of GIS column in PostGIS 1.x migrationClaude Paroz2014-04-211-0/+13
| | | | Refs #22481.
* Fixed adding new GIS column in PostGIS 1.x migrationClaude Paroz2014-04-211-22/+27
| | | | Refs #22451.
* A handle of flake8 fixesAlex Gaynor2013-11-271-2/+0
|
* PostGIS schema editor supportAndrew Godwin2013-11-271-0/+87