mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #31987 -- Fixed Cast() with DurationField on MySQL.
This commit is contained in:
committed by
Mariusz Felisiak
parent
5ea1621c72
commit
fc1446073e
@@ -29,6 +29,7 @@ class DatabaseOperations(BaseDatabaseOperations):
|
||||
'PositiveBigIntegerField': 'unsigned integer',
|
||||
'PositiveIntegerField': 'unsigned integer',
|
||||
'PositiveSmallIntegerField': 'unsigned integer',
|
||||
'DurationField': 'signed integer',
|
||||
}
|
||||
cast_char_field_without_max_length = 'char'
|
||||
explain_prefix = 'EXPLAIN'
|
||||
|
||||
Reference in New Issue
Block a user