#更改数据库

This commit is contained in:
Bob 2020-10-25 20:33:21 +08:00
parent dde649513d
commit 53d832d922
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,5 +1,7 @@
.idea/ .idea/
.venv/ .venv/
.media/ .media/
*/__pycache__/
*/*.pyc
*/migrations */migrations
NewMediaMonitoring/local_settings.py NewMediaMonitoring/local_settings.py

View File

@ -708,11 +708,11 @@ class TimelinessMonitoring(models.Model):
counties = models.CharField('县区',max_length=256,null=True,blank=True) counties = models.CharField('县区',max_length=256,null=True,blank=True)
remark = models.CharField('备注',max_length=256,null=True,blank=True) remark = models.CharField('备注',max_length=256,null=True,blank=True)
results = models.CharField('监测结果',max_length=256,null=True,blank=True) results = models.CharField('监测结果',max_length=256,null=True,blank=True)
update = models.IntegerField('更新次数',max_length=256,null=True,blank=True) update = models.CharField('更新次数',max_length=256,null=True,blank=True)
silet = models.IntegerField('最大连续静默日数',max_length=256,null= True,blank=True) silet = models.CharField('最大连续静默日数',max_length=256,null= True,blank=True)
start_data = models.CharField('开始时间',max_length=256,null=True,blank=True) start_data = models.CharField('开始时间',max_length=256,null=True,blank=True)
end_data = models.CharField('结束时间',max_length=256,null=True,blank=True) end_data = models.CharField('结束时间',max_length=256,null=True,blank=True)
comment = models.IntegerField('评论次数',max_length=256,null=True,blank=True) comment = models.CharField('评论次数',max_length=256,null=True,blank=True)
date = models.CharField('最近更新时间',max_length=256,null=True,blank=True) date = models.CharField('最近更新时间',max_length=256,null=True,blank=True)
def __str__(self): def __str__(self):