mirror of https://github.com/jumpserver/jumpserver
perf: 修改支持 pam
parent
c8a632ed60
commit
49a811963c
|
@ -15,12 +15,8 @@ class Migration(migrations.Migration):
|
||||||
name="status",
|
name="status",
|
||||||
field=models.CharField(
|
field=models.CharField(
|
||||||
blank=True,
|
blank=True,
|
||||||
choices=[
|
choices=[("0", "Pending"), ("1", "Confirmed"), ("2", "Ignored")],
|
||||||
("", "Pending"),
|
default="0",
|
||||||
("confirmed", "Confirmed"),
|
|
||||||
("ignored", "Ignored"),
|
|
||||||
],
|
|
||||||
default="",
|
|
||||||
max_length=32,
|
max_length=32,
|
||||||
verbose_name="Status",
|
verbose_name="Status",
|
||||||
),
|
),
|
||||||
|
@ -30,12 +26,8 @@ class Migration(migrations.Migration):
|
||||||
name="status",
|
name="status",
|
||||||
field=models.CharField(
|
field=models.CharField(
|
||||||
blank=True,
|
blank=True,
|
||||||
choices=[
|
choices=[("0", "Pending"), ("1", "Confirmed"), ("2", "Ignored")],
|
||||||
("", "Pending"),
|
default="0",
|
||||||
("confirmed", "Confirmed"),
|
|
||||||
("ignored", "Ignored"),
|
|
||||||
],
|
|
||||||
default="",
|
|
||||||
max_length=32,
|
max_length=32,
|
||||||
verbose_name="Status",
|
verbose_name="Status",
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
# Generated by Django 4.1.13 on 2024-12-02 02:07
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
("accounts", "0016_alter_accountrisk_status_and_more"),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="accountrisk",
|
|
||||||
name="status",
|
|
||||||
field=models.CharField(
|
|
||||||
blank=True,
|
|
||||||
choices=[("0", "Pending"), ("1", "Confirmed"), ("2", "Ignored")],
|
|
||||||
default="0",
|
|
||||||
max_length=32,
|
|
||||||
verbose_name="Status",
|
|
||||||
),
|
|
||||||
),
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="gatheredaccount",
|
|
||||||
name="status",
|
|
||||||
field=models.CharField(
|
|
||||||
blank=True,
|
|
||||||
choices=[("0", "Pending"), ("1", "Confirmed"), ("2", "Ignored")],
|
|
||||||
default="0",
|
|
||||||
max_length=32,
|
|
||||||
verbose_name="Status",
|
|
||||||
),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -11,7 +11,7 @@ import uuid
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('accounts', '0014_gatheraccountsautomation_check_risk'),
|
('accounts', '0016_alter_accountrisk_status_and_more'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
Loading…
Reference in New Issue