mirror of
https://github.com/django/django.git
synced 2024-12-29 04:26:28 +00:00
[4.2.x] Made PostgreSQL's SchemaEditor._create_index_sql() respect the "sql" argument.
Backport of bd366ca2ae
from main
This commit is contained in:
parent
9a1848f48c
commit
edbc9d11ff
@ -353,7 +353,7 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
|
|||||||
include=None,
|
include=None,
|
||||||
expressions=None,
|
expressions=None,
|
||||||
):
|
):
|
||||||
sql = (
|
sql = sql or (
|
||||||
self.sql_create_index
|
self.sql_create_index
|
||||||
if not concurrently
|
if not concurrently
|
||||||
else self.sql_create_index_concurrently
|
else self.sql_create_index_concurrently
|
||||||
|
Loading…
Reference in New Issue
Block a user