add platform to userprofile

This commit is contained in:
baoliang 2021-03-28 11:10:50 +08:00
parent 6293858b15
commit 56226f0d1b
2 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ class Userprofile(models.Model):
status = models.IntegerField('用户状态', null=True, blank=True, default=0) status = models.IntegerField('用户状态', null=True, blank=True, default=0)
admin_status = models.IntegerField('管理状态', default=3) admin_status = models.IntegerField('管理状态', default=3)
message_status = models.BooleanField('是否发送消息', default=True) message_status = models.BooleanField('是否发送消息', default=True)
platform = models.CharField('手机操作系统', null=True, blank=True, max_length=32)
# 20201017新增字段职位 # 20201017新增字段职位
zhiwei = models.CharField('职位', max_length=256, null=True, blank=True) zhiwei = models.CharField('职位', max_length=256, null=True, blank=True)
created = models.DateTimeField('创建时间', auto_now_add=True) created = models.DateTimeField('创建时间', auto_now_add=True)