add unqualified media

This commit is contained in:
baoliang 2021-02-02 10:12:08 +08:00
parent c8f774fdd3
commit 523968ffc9
1 changed files with 3 additions and 2 deletions

View File

@ -253,8 +253,9 @@ UNQUALIFIED_MEDIA_TYPE_CHOICES = (
class UnqualifiedMedia(models.Model): class UnqualifiedMedia(models.Model):
id = models.UUIDField('id', primary_key=True, default=uuid.uuid4) id = models.UUIDField('id', primary_key=True, default=uuid.uuid4)
media_id = models.UUIDField('media_id', on_delete=models.CASCADE) media_id = models.UUIDField('media_id', null=True, blank=True)
type = models.IntegerField('Type', choices=UNQUALIFIED_MEDIA_TYPE_CHOICES, default=0) type = models.IntegerField(
'Type', choices=UNQUALIFIED_MEDIA_TYPE_CHOICES, default=0)
result = models.TextField('result', null=True, blank=True) result = models.TextField('result', null=True, blank=True)
cou = models.IntegerField('count of update', default=0) cou = models.IntegerField('count of update', default=0)
dos = models.IntegerField('days of silent', default=0) dos = models.IntegerField('days of silent', default=0)