-
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.
fix: suppression de type dans
EmailLastSeen
(#905)
## Description 🎸 `EmailLastSeenKind` contient des valeurs qui ne seront pas utilisées. Ces valeurs sont celles d'actions réservées aux utilisateurs connectés. Elles seront donc déjà enregistrées via le type `Logged` avec le mise en place du middleware `MarkAsSeenLoggedUserMiddleware` de #894 ## Type de changement 🚧 technique ### Points d'attention 🦺 Issue #888
- Loading branch information
1 parent
8abf9ef
commit a21b502
Showing
2 changed files
with
25 additions
and
4 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
25 changes: 25 additions & 0 deletions
25
lacommunaute/users/migrations/0007_alter_emaillastseen_last_seen_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,25 @@ | ||
# Generated by Django 5.1.5 on 2025-02-11 09:43 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("users", "0006_emaillastseen"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="emaillastseen", | ||
name="last_seen_kind", | ||
field=models.CharField( | ||
choices=[ | ||
("POST", "message"), | ||
("LOGGED", "connexion"), | ||
("VISITED", "notification cliquée"), | ||
], | ||
max_length=12, | ||
verbose_name="last seen kind", | ||
), | ||
), | ||
] |