mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-16 15:28:38 +00:00
perf: 优化用户 access key 的使用和创建 (#11776)
* perf: 优化用户 access key 的使用和创建 * perf: 优化 access key api --------- Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
18
apps/users/migrations/0047_user_date_api_key_last_used.py
Normal file
18
apps/users/migrations/0047_user_date_api_key_last_used.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.1.10 on 2023-10-08 04:04
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0046_auto_20230927_1456'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='date_api_key_last_used',
|
||||
field=models.DateTimeField(blank=True, null=True, verbose_name='Date api key used'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user