mirror of
https://github.com/django/django.git
synced 2025-03-13 10:50:55 +00:00
Fixed DatabaseFeatures.supports_expression_indexes on MySQL with MyISAM.
This commit is contained in:
parent
0ad5316f22
commit
24f442b91d
@ -336,5 +336,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
||||
def supports_expression_indexes(self):
|
||||
return (
|
||||
not self.connection.mysql_is_mariadb
|
||||
and self._mysql_storage_engine != "MyISAM"
|
||||
and self.connection.mysql_version >= (8, 0, 13)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user