Add ability to dismiss notifications
This commit is contained in:
parent
34fc279092
commit
32b2ecdfa6
9 changed files with 162 additions and 11 deletions
|
@ -363,7 +363,7 @@ class Notification(BaseModel):
|
|||
target = ForeignKeyField(User, index=True)
|
||||
metadata_json = TextField(default='{}')
|
||||
created = DateTimeField(default=datetime.now, index=True)
|
||||
|
||||
dismissed = BooleanField(default=False)
|
||||
|
||||
|
||||
class ExternalNotificationEvent(BaseModel):
|
||||
|
|
Reference in a new issue