Skip to content

Commit

Permalink
Add galaxy_url mapped column to notification model
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Apr 11, 2024
1 parent 8637d94 commit f402f40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2951,6 +2951,9 @@ class Notification(Base, Dictifiable, RepresentById):
dispatched: Mapped[Boolean] = mapped_column(
Boolean, index=True, default=False
) # Whether the notification has been dispatched to users via other channels
galaxy_url: Mapped[Optional[str]] = mapped_column(
String(255)
) # The URL to the Galaxy instance, used for generating links in the notification
# A bug in early 23.1 led to values being stored as json string, so we use this special type to process the result value twice.
# content should always be a dict
content: Mapped[Optional[bytes]] = mapped_column(DoubleEncodedJsonType)
Expand Down

0 comments on commit f402f40

Please sign in to comment.