2022-11-22 13:54:40 +00:00
|
|
|
# Generated by Django 3.2.14 on 2022-11-22 13:52
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
2022-12-05 03:06:50 +00:00
|
|
|
import common.db.fields
|
|
|
|
|
2022-11-22 13:54:40 +00:00
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
|
|
('authentication', '0013_connectiontoken_protocol'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.RenameField(
|
|
|
|
model_name='connectiontoken',
|
|
|
|
old_name='account_username',
|
2022-12-05 03:06:50 +00:00
|
|
|
new_name='account_name'
|
2022-11-22 13:54:40 +00:00
|
|
|
),
|
2022-11-23 08:11:17 +00:00
|
|
|
migrations.AlterField(
|
|
|
|
model_name='connectiontoken',
|
2022-12-05 03:06:50 +00:00
|
|
|
name='account_name',
|
|
|
|
field=models.CharField(max_length=128, verbose_name='Account name'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='connectiontoken',
|
|
|
|
name='input_username',
|
|
|
|
field=models.CharField(blank=True, default='', max_length=128, verbose_name='Input username'),
|
2022-11-23 08:11:17 +00:00
|
|
|
),
|
2022-11-22 13:54:40 +00:00
|
|
|
migrations.AddField(
|
|
|
|
model_name='connectiontoken',
|
2022-12-05 03:06:50 +00:00
|
|
|
name='input_secret',
|
|
|
|
field=common.db.fields.EncryptCharField(blank=True, default='', max_length=128,
|
|
|
|
verbose_name='Input secret'),
|
|
|
|
),
|
|
|
|
migrations.RenameField(
|
|
|
|
model_name='connectiontoken',
|
|
|
|
old_name='secret',
|
|
|
|
new_name='value',
|
2022-11-22 13:54:40 +00:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='connectiontoken',
|
2022-12-05 03:06:50 +00:00
|
|
|
name='value',
|
|
|
|
field=models.CharField(default='', max_length=64, verbose_name='Value'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='connectiontoken',
|
|
|
|
name='connect_method',
|
|
|
|
field=models.CharField(default='web_ui', max_length=32, verbose_name='Connect method'),
|
|
|
|
preserve_default=False,
|
2022-11-22 13:54:40 +00:00
|
|
|
),
|
|
|
|
]
|