Files
jumpserver/apps/ops/migrations/0010_auto_20191217_1758.py
fit2bot 031077c298 perf: password 等使用 rsa 加密传输 (#8188)
* perf: 修改 model fields 路径

* stash it

* pref: 统一加密方式,密码字段采用 rsa 加密

* pref: 临时密码使用 rsa

* perf: 去掉 debug msg

* perf: 去掉 Debug

* perf: 去掉 debug

* perf: 抽出来

Co-authored-by: ibuler <ibuler@qq.com>
2022-05-07 16:20:12 +08:00

69 lines
2.1 KiB
Python

# Generated by Django 2.2.7 on 2019-12-17 09:58
import common.db.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('ops', '0009_auto_20191217_1713'),
]
operations = [
migrations.RemoveField(
model_name='adhoc',
name='_hosts',
),
migrations.AlterField(
model_name='adhoc',
name='_become',
field=common.db.fields.EncryptJsonDictCharField(blank=True, null=True, default='', max_length=1024, verbose_name='Become'),
),
migrations.AlterField(
model_name='adhoc',
name='_options',
field=common.db.fields.JsonDictCharField(default='', max_length=1024, verbose_name='Options'),
),
migrations.AlterField(
model_name='adhoc',
name='_tasks',
field=common.db.fields.JsonListTextField(verbose_name='Tasks'),
),
migrations.RenameField(
model_name='adhoc',
old_name='_become',
new_name='become',
),
migrations.RenameField(
model_name='adhoc',
old_name='_options',
new_name='options',
),
migrations.RenameField(
model_name='adhoc',
old_name='_tasks',
new_name='tasks',
),
migrations.AlterField(
model_name='adhocrunhistory',
name='_result',
field=common.db.fields.JsonDictTextField(blank=True, null=True, verbose_name='Adhoc raw result'),
),
migrations.AlterField(
model_name='adhocrunhistory',
name='_summary',
field=common.db.fields.JsonDictTextField(blank=True, null=True, verbose_name='Adhoc result summary'),
),
migrations.RenameField(
model_name='adhocrunhistory',
old_name='_result',
new_name='result',
),
migrations.RenameField(
model_name='adhocrunhistory',
old_name='_summary',
new_name='summary',
),
]