2019-10-08 12:30:17 +00:00
|
|
|
# Generated by Django 2.2.6 on 2019-10-08 12:23
|
|
|
|
|
|
|
|
import django.db.models.deletion
|
2019-10-08 12:34:59 +00:00
|
|
|
from django.db import migrations, models
|
2019-10-08 12:30:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
2019-12-31 11:51:16 +00:00
|
|
|
("passbook_core", "0001_initial"),
|
2019-10-08 12:30:17 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2019-12-31 11:51:16 +00:00
|
|
|
name="EmailFactor",
|
2019-10-08 12:30:17 +00:00
|
|
|
fields=[
|
2019-12-31 11:51:16 +00:00
|
|
|
(
|
|
|
|
"factor_ptr",
|
|
|
|
models.OneToOneField(
|
|
|
|
auto_created=True,
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
parent_link=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
to="passbook_core.Factor",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("host", models.TextField(default="localhost")),
|
|
|
|
("port", models.IntegerField(default=25)),
|
|
|
|
("username", models.TextField(blank=True, default="")),
|
|
|
|
("password", models.TextField(blank=True, default="")),
|
|
|
|
("use_tls", models.BooleanField(default=False)),
|
|
|
|
("use_ssl", models.BooleanField(default=False)),
|
|
|
|
("timeout", models.IntegerField(default=0)),
|
|
|
|
("ssl_keyfile", models.TextField(blank=True, default=None, null=True)),
|
|
|
|
("ssl_certfile", models.TextField(blank=True, default=None, null=True)),
|
|
|
|
(
|
|
|
|
"from_address",
|
|
|
|
models.EmailField(default="system@passbook.local", max_length=254),
|
|
|
|
),
|
2019-10-08 12:30:17 +00:00
|
|
|
],
|
|
|
|
options={
|
2019-12-31 11:51:16 +00:00
|
|
|
"verbose_name": "Email Factor",
|
|
|
|
"verbose_name_plural": "Email Factors",
|
2019-10-08 12:30:17 +00:00
|
|
|
},
|
2019-12-31 11:51:16 +00:00
|
|
|
bases=("passbook_core.factor",),
|
2019-10-08 12:30:17 +00:00
|
|
|
),
|
|
|
|
]
|