mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
* feat: 终端会话增加字段: command_amount(命令数量) * perf: 优化已产生会话的命令数量计算方式 * Update 0065_session_command_amount.py * Update session.py * Update session.py * perf: 优化会话命令数量的计算逻辑 * perf: 优化命令数量获取 --------- Co-authored-by: fangfang.dong <fangfang.dong@fit2cloud.com> Co-authored-by: Bai <baijiangjie@gmail.com>
19 lines
422 B
Python
19 lines
422 B
Python
# Generated by Django 4.1.10 on 2023-07-31 10:46
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('terminal', '0064_auto_20230728_1001'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='session',
|
|
name='cmd_amount',
|
|
field=models.IntegerField(default=-1, verbose_name='Command amount'),
|
|
),
|
|
]
|