mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-15 06:49:17 +00:00
feat: 增加人脸识别功能
This commit is contained in:
19
apps/users/migrations/0002_user_face_vector.py
Normal file
19
apps/users/migrations/0002_user_face_vector.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.1.13 on 2024-11-08 03:33
|
||||
|
||||
import common.db.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='face_vector',
|
||||
field=common.db.fields.EncryptTextField(blank=True, max_length=2048, null=True, verbose_name='Face Vector'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user