summaryrefslogtreecommitdiffstats
path: root/users/migrations
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-16 19:42:48 -0700
committerAndrew Godwin2022-12-16 19:42:48 -0700
commit12567f6891ad591390cbd74c0e7b77a4a024a24e (patch)
tree39a6bab590d3f1bde3802854d4a1175780404276 /users/migrations
parentc588567c8698700cd347d9b8f884a7967890aa58 (diff)
downloadtakahe-12567f6891ad591390cbd74c0e7b77a4a024a24e.tar.gz
takahe-12567f6891ad591390cbd74c0e7b77a4a024a24e.tar.bz2
takahe-12567f6891ad591390cbd74c0e7b77a4a024a24e.zip
Identity admin/moderation
Diffstat (limited to 'users/migrations')
-rw-r--r--users/migrations/0004_identity_admin_notes_identity_restriction_and_more.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/users/migrations/0004_identity_admin_notes_identity_restriction_and_more.py b/users/migrations/0004_identity_admin_notes_identity_restriction_and_more.py
new file mode 100644
index 0000000..6b7aa0a
--- /dev/null
+++ b/users/migrations/0004_identity_admin_notes_identity_restriction_and_more.py
@@ -0,0 +1,30 @@
+# Generated by Django 4.1.4 on 2022-12-17 01:55
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("users", "0003_identity_followers_etc"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="identity",
+ name="admin_notes",
+ field=models.TextField(blank=True, null=True),
+ ),
+ migrations.AddField(
+ model_name="identity",
+ name="restriction",
+ field=models.IntegerField(
+ choices=[(0, "None"), (1, "Limited"), (2, "Blocked")], default=0
+ ),
+ ),
+ migrations.AddField(
+ model_name="identity",
+ name="sensitive",
+ field=models.BooleanField(default=False),
+ ),
+ ]