digitaleagentur/recoverdir/migrations/0021_recoverdirsetting.py

26 lines
966 B
Python

# Generated by Django 3.0 on 2020-10-07 08:00
from django.db import migrations, models
import django.db.models.deletion
import django_cryptography.fields
class Migration(migrations.Migration):
dependencies = [
('users', '0023_auto_20201002_2036'),
('recoverdir', '0020_historicalrdelse_rdelse'),
]
operations = [
migrations.CreateModel(
name='RecoverDirSetting',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('logpass', django_cryptography.fields.encrypt(models.CharField(blank=True, default='', max_length=500, null=True))),
('recoverkey', django_cryptography.fields.encrypt(models.CharField(blank=True, default='', max_length=500, null=True))),
('agency', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='users.Agency')),
],
),
]