From ff2bb513ed09ba5816de1563bebf618c1f8e567c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 5 Nov 2023 06:56:10 -0800 Subject: [PATCH] Adds migration for notification types --- ...86_alter_notification_notification_type.py | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 bookwyrm/migrations/0186_alter_notification_notification_type.py diff --git a/bookwyrm/migrations/0186_alter_notification_notification_type.py b/bookwyrm/migrations/0186_alter_notification_notification_type.py new file mode 100644 index 000000000..3e4effdfa --- /dev/null +++ b/bookwyrm/migrations/0186_alter_notification_notification_type.py @@ -0,0 +1,43 @@ +# Generated by Django 3.2.20 on 2023-11-05 14:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("bookwyrm", "0185_merge_20231105_1453"), + ] + + operations = [ + migrations.AlterField( + model_name="notification", + name="notification_type", + field=models.CharField( + choices=[ + ("FAVORITE", "Favorite"), + ("REPLY", "Reply"), + ("MENTION", "Mention"), + ("TAG", "Tag"), + ("FOLLOW", "Follow"), + ("FOLLOW_REQUEST", "Follow Request"), + ("BOOST", "Boost"), + ("IMPORT", "Import"), + ("USER_IMPORT", "User Import"), + ("USER_EXPORT", "User Export"), + ("ADD", "Add"), + ("REPORT", "Report"), + ("LINK_DOMAIN", "Link Domain"), + ("INVITE", "Invite"), + ("ACCEPT", "Accept"), + ("JOIN", "Join"), + ("LEAVE", "Leave"), + ("REMOVE", "Remove"), + ("GROUP_PRIVACY", "Group Privacy"), + ("GROUP_NAME", "Group Name"), + ("GROUP_DESCRIPTION", "Group Description"), + ("MOVE", "Move"), + ], + max_length=255, + ), + ), + ]