mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-05 06:48:43 +00:00
01d4381898
Closes: #2066
48 lines
1.6 KiB
Python
48 lines
1.6 KiB
Python
# Generated by Django 3.2.20 on 2023-11-14 10:02
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("bookwyrm", "0185_alter_notification_notification_type"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="notification",
|
|
name="related_invite_requests",
|
|
field=models.ManyToManyField(to="bookwyrm.InviteRequest"),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="notification",
|
|
name="notification_type",
|
|
field=models.CharField(
|
|
choices=[
|
|
("FAVORITE", "Favorite"),
|
|
("BOOST", "Boost"),
|
|
("REPLY", "Reply"),
|
|
("MENTION", "Mention"),
|
|
("TAG", "Tag"),
|
|
("FOLLOW", "Follow"),
|
|
("FOLLOW_REQUEST", "Follow Request"),
|
|
("IMPORT", "Import"),
|
|
("ADD", "Add"),
|
|
("REPORT", "Report"),
|
|
("LINK_DOMAIN", "Link Domain"),
|
|
("INVITE_REQUEST", "Invite Request"),
|
|
("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,
|
|
),
|
|
),
|
|
]
|