Made PostgreSQL's SchemaEditor._create_index_sql() respect the "sql" argument.

This commit is contained in:
Dan Glass 2023-02-06 09:41:08 +00:00 committed by GitHub
parent 5e9aded33f
commit bd366ca2ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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