perf: 修改 session 字段,添加 Comment

This commit is contained in:
ibuler
2022-12-16 15:53:59 +08:00
parent 615a1ddc96
commit d040162d86
4 changed files with 55 additions and 28 deletions

View File

@@ -0,0 +1,23 @@
# Generated by Django 3.2.14 on 2022-12-16 07:29
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('terminal', '0061_rename_system_user_command_account'),
]
operations = [
migrations.AddField(
model_name='session',
name='comment',
field=models.TextField(blank=True, null=True, verbose_name='Comment'),
),
migrations.AddField(
model_name='session',
name='type',
field=models.CharField(db_index=True, default='normal', max_length=16),
),
]