提交 594ad0e1 编写于 作者: baltery's avatar baltery

Update db index more than 767

上级 d73d6e94
......@@ -71,7 +71,7 @@ class CommandLog(models.Model):
asset = models.CharField(max_length=128, db_index=True)
system_user = models.CharField(max_length=48, db_index=True)
command_no = models.IntegerField()
command = models.CharField(max_length=767, blank=True, db_index=True)
command = models.TextField(max_length=767, blank=True)
output = models.TextField(blank=True)
timestamp = models.FloatField(db_index=True)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册