moviewyrm/bookwyrm/migrations/0090_emailblocklist.py

33 lines
883 B
Python
Raw Normal View History

2021-09-08 22:30:18 +00:00
# Generated by Django 3.2.4 on 2021-09-08 22:21
2021-09-08 21:38:34 +00:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2021-09-08 22:31:07 +00:00
("bookwyrm", "0089_user_show_suggested_users"),
2021-09-08 21:38:34 +00:00
]
operations = [
migrations.CreateModel(
2021-09-08 22:31:07 +00:00
name="EmailBlocklist",
2021-09-08 21:38:34 +00:00
fields=[
2021-09-08 22:31:07 +00:00
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created_date", models.DateTimeField(auto_now_add=True)),
("domain", models.CharField(max_length=255, unique=True)),
2021-09-08 21:38:34 +00:00
],
2021-09-08 22:30:18 +00:00
options={
2021-09-08 22:31:07 +00:00
"ordering": ("-created_date",),
2021-09-08 22:30:18 +00:00
},
2021-09-08 21:38:34 +00:00
),
]