This commit is contained in:
xieshen 2021-02-02 10:13:16 +08:00
commit 53e8dde0b3
1 changed files with 3 additions and 2 deletions

View File

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