-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add bulk_notifs in EmailSendTrackKind enum, plus its migration file
- Loading branch information
1 parent
27cfd2a
commit 6587d62
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...munaute/notification/migrations/0011_alter_emailsenttrack_kind_alter_notification_kind.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Generated by Django 5.0.9 on 2024-11-27 13:57 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("notification", "0010_alter_emailsenttrack_kind_alter_notification_kind"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="emailsenttrack", | ||
name="kind", | ||
field=models.CharField( | ||
choices=[ | ||
("first_reply", "Première réponse à un sujet"), | ||
("following_replies", "Réponses suivantes"), | ||
("onboarding", "Onboarding d'un nouvel utilisateur"), | ||
("pending_topic", "Question sans réponse"), | ||
("magic_link", "Lien de connexion magique"), | ||
("bulk_notifs", "Notifications groupées"), | ||
], | ||
max_length=20, | ||
verbose_name="type", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="notification", | ||
name="kind", | ||
field=models.CharField( | ||
choices=[ | ||
("first_reply", "Première réponse à un sujet"), | ||
("following_replies", "Réponses suivantes"), | ||
("onboarding", "Onboarding d'un nouvel utilisateur"), | ||
("pending_topic", "Question sans réponse"), | ||
("magic_link", "Lien de connexion magique"), | ||
("bulk_notifs", "Notifications groupées"), | ||
], | ||
max_length=20, | ||
verbose_name="type", | ||
), | ||
), | ||
] |