Fix migrations properly (#3116)

* Revert "fix migrations and linting"
This reverts commit 53e410627f.
* really fix migrations
This commit is contained in:
Hugh Rundle 2023-11-15 19:54:16 +11:00 committed by GitHub
parent bbc78f03ae
commit 54ec5e2ae0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,13 @@
# Generated by Django 3.2.23 on 2023-11-15 08:46
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("bookwyrm", "0184_auto_20231106_0421"),
("bookwyrm", "0186_alter_notification_notification_type"),
]
operations = []

View file

@ -0,0 +1,44 @@
# Generated by Django 3.2.23 on 2023-11-15 08:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("bookwyrm", "0187_merge_20231115_0846"),
]
operations = [
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"),
("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,
),
),
]