mirror of
https://github.com/Hopiu/django.git
synced 2026-03-25 10:20:31 +00:00
Made PostgreSQL's SchemaEditor._create_index_sql() respect the "sql" argument.
This commit is contained in:
parent
5e9aded33f
commit
bd366ca2ae
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
|
|||
include=None,
|
||||
expressions=None,
|
||||
):
|
||||
sql = (
|
||||
sql = sql or (
|
||||
self.sql_create_index
|
||||
if not concurrently
|
||||
else self.sql_create_index_concurrently
|
||||
|
|
|
|||
Loading…
Reference in a new issue