From c86e785c0873358b0b8f70812e935b87d3f6872f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B3pez?= <46503462+davelopez@users.noreply.github.com> Date: Sat, 6 Apr 2024 11:11:39 +0200 Subject: [PATCH] Remove redundant nullable in dispatched column Co-authored-by: John Davis --- lib/galaxy/model/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index ea620edf829e..7372cb5d2d26 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -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