mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #25287 -- Added support for multiplying and dividing DurationField by scalar values on SQLite.
This commit is contained in:
parent
9e1ccd7283
commit
54e94640ac
7 changed files with 64 additions and 3 deletions
|
@ -60,6 +60,7 @@ class Experiment(models.Model):
|
|||
estimated_time = models.DurationField()
|
||||
start = models.DateTimeField()
|
||||
end = models.DateTimeField()
|
||||
scalar = models.IntegerField(null=True)
|
||||
|
||||
class Meta:
|
||||
db_table = 'expressions_ExPeRiMeNt'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue