mirror of https://github.com/jumpserver/jumpserver
Update db index more than 767
parent
d73d6e943b
commit
594ad0e14f
|
@ -71,7 +71,7 @@ class CommandLog(models.Model):
|
||||||
asset = models.CharField(max_length=128, db_index=True)
|
asset = models.CharField(max_length=128, db_index=True)
|
||||||
system_user = models.CharField(max_length=48, db_index=True)
|
system_user = models.CharField(max_length=48, db_index=True)
|
||||||
command_no = models.IntegerField()
|
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)
|
output = models.TextField(blank=True)
|
||||||
timestamp = models.FloatField(db_index=True)
|
timestamp = models.FloatField(db_index=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue