2022-02-24 19:18:43 +00:00
|
|
|
# Generated by Django 3.2.12 on 2022-02-24 18:59
|
2022-02-18 05:01:34 +00:00
|
|
|
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2022-02-24 20:15:31 +00:00
|
|
|
("bookwyrm", "0137_alter_sitesettings_allow_registration"),
|
2022-02-18 05:01:34 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2022-02-24 20:15:31 +00:00
|
|
|
name="AutoMod",
|
2022-02-18 05:01:34 +00:00
|
|
|
fields=[
|
2022-02-24 20:15:31 +00:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
verbose_name="ID",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("string_match", models.CharField(max_length=200, unique=True)),
|
|
|
|
("flag_users", models.BooleanField(default=True)),
|
|
|
|
("flag_statuses", models.BooleanField(default=True)),
|
|
|
|
(
|
|
|
|
"created_by",
|
|
|
|
models.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.PROTECT,
|
|
|
|
to=settings.AUTH_USER_MODEL,
|
|
|
|
),
|
|
|
|
),
|
2022-02-18 05:01:34 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
]
|