Skip to content

Commit

Permalink
Merge pull request hhyo#1113 from swords1999/patch-1
Browse files Browse the repository at this point in the history
donnot set auto_now_add for ArchiveLog.start_time
  • Loading branch information
hhyo authored Jun 12, 2021
2 parents 3cef756 + 3dd7bf3 commit 18b9590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ class ArchiveLog(models.Model):
statistics = models.TextField('归档统计日志')
success = models.BooleanField('是否归档成功')
error_info = models.TextField('错误信息')
start_time = models.DateTimeField('开始时间', auto_now_add=True)
start_time = models.DateTimeField('开始时间')
end_time = models.DateTimeField('结束时间')
sys_time = models.DateTimeField('系统时间修改', auto_now=True)

Expand Down

0 comments on commit 18b9590

Please # to comment.