Skip to content

Commit

Permalink
Add field to ORM. #882
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Jan 21, 2024
1 parent e7f264a commit 1556f55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terrariumDatabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ class NotificationService(db.Entity):
enabled = orm.Required(bool, default=True)
setup = orm.Required(orm.Json)
messages = orm.Set(lambda: NotificationMessage)
state = orm.Optional(orm.Json)

ENCRYPTED_FIELDS = ["username", "password", "user_key", "api_token", "access_secret", "token", "allowed_users"]

Expand Down

0 comments on commit 1556f55

Please sign in to comment.