mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 07:49:23 +02:00
Added an accessed_date field on TrackFile for easier cache deletion (#189)
This commit is contained in:
parent
2649ad88ff
commit
f343159856
4 changed files with 38 additions and 0 deletions
|
@ -415,6 +415,7 @@ class TrackFile(models.Model):
|
|||
source = models.URLField(null=True, blank=True, max_length=500)
|
||||
creation_date = models.DateTimeField(default=timezone.now)
|
||||
modification_date = models.DateTimeField(auto_now=True)
|
||||
accessed_date = models.DateTimeField(null=True, blank=True)
|
||||
duration = models.IntegerField(null=True, blank=True)
|
||||
acoustid_track_id = models.UUIDField(null=True, blank=True)
|
||||
mimetype = models.CharField(null=True, blank=True, max_length=200)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue