mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 01:11:57 +00:00
perf: add sftplog command models field index
This commit is contained in:
@@ -74,3 +74,6 @@ class Command(AbstractSessionCommand):
|
||||
db_table = "terminal_command"
|
||||
ordering = ('-timestamp',)
|
||||
verbose_name = _('Command record')
|
||||
indexes = [
|
||||
models.Index(fields=['timestamp', 'org_id'], name='idx_timestamp_org'),
|
||||
]
|
||||
|
Reference in New Issue
Block a user