          else:
              name = self.quote_name(name)
          columns = Columns(table, columns, self.quote_name)
          if condition:
              return Statement(
                  self.sql_create_unique_index,
                  table=table,
                  name=name,
                  columns=columns,
                  condition=' WHERE ' + condition,
              ) if self.connection.features.supports_partial_indexes else None
          else:
              return Statement(
                  self.sql_create_unique,
                  table=table,
                  name=name,
 
</s> remove             return Statement(
                self.sql_create_unique,
                table=table,
                name=name,
                columns=columns,
            )
 </s> add             sql = self.sql_create_unique
        return Statement(
            sql,
            table=table,
            name=name,
            columns=columns,
            condition=self._index_condition_sql(condition),
        ) </s> remove             condition=(' WHERE ' + condition) if condition else '',
 </s> add             condition=self._index_condition_sql(condition),
            if not self.connection.features.supports_partial_indexes:
                return None
            sql = self.sql_create_unique_index
          else:
              name = self.quote_name(name)
          columns = Columns(table, columns, self.quote_name)
          if condition:
            if not self.connection.features.supports_partial_indexes:
                return None
            sql = self.sql_create_unique_index
            if not self.connection.features.supports_partial_indexes:
                return None
            sql = self.sql_create_unique_index
            if not self.connection.features.supports_partial_indexes:
                return None
            sql = self.sql_create_unique_index
            if not self.connection.features.supports_partial_indexes:
                return None
            sql = self.sql_create_unique_index
            if not self.connection.features.supports_partial_indexes:
                return None
            sql = self.sql_create_unique_index
            if not self.connection.features.supports_partial_indexes:
                return None
            sql = self.sql_create_unique_index
            if not self.connection.features.supports_partial_indexes:
                return None
            sql = self.sql_create_unique_index
          else:
              return Statement(
                  self.sql_create_unique,
                  table=table,
                  name=name,
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 Refs #30913 -- Added BaseDatabaseSchemaEditor._index_condition_sql(). 
django/db/backends/base/schema.py