Adds field for user deactivation reason
This commit is contained in:
18
bookwyrm/migrations/0066_user_deactivation_reason.py
Normal file
18
bookwyrm/migrations/0066_user_deactivation_reason.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.8 on 2021-04-12 15:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bookwyrm', '0065_merge_20210411_1702'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='deactivation_reason',
|
||||
field=models.CharField(blank=True, choices=[('self_deletion', 'Self Deletion'), ('moderator_deletion', 'Moderator Deletion'), ('domain_block', 'Domain Block')], max_length=255, null=True),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user