Skip to content

Commit

Permalink
Remove redundant nullable in dispatched column
Browse files Browse the repository at this point in the history
Co-authored-by: John Davis <[email protected]>
  • Loading branch information
davelopez and jdavcs committed Apr 8, 2024
1 parent 8479189 commit c86e785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2949,7 +2949,7 @@ class Notification(Base, Dictifiable, RepresentById):
String(16), index=True, nullable=True
) # Defines the 'importance' of the notification ('info', 'warning', 'urgent', etc.). Used for filtering, highlight rendering, etc
dispatched: Mapped[Boolean] = mapped_column(
Boolean, index=True, nullable=False, default=False
Boolean, index=True, default=False
) # Whether the notification has been dispatched to users via other channels
# 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
Expand Down

0 comments on commit c86e785

Please sign in to comment.