mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
Add PublicDomain model
This commit is contained in:
parent
4cd0227477
commit
ee9b796b7d
1 changed files with 6 additions and 0 deletions
|
@ -1610,3 +1610,9 @@ class Notification(db.Model, ModelMixin):
|
|||
|
||||
# whether user has marked the notification as read
|
||||
read = db.Column(db.Boolean, nullable=False, default=False)
|
||||
|
||||
|
||||
class PublicDomain(db.Model, ModelMixin):
|
||||
"""SimpleLogin domains that all users can use"""
|
||||
|
||||
domain = db.Column(db.String(128), unique=True, nullable=False)
|
||||
|
|
Loading…
Reference in a new issue