Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnvanbreda committed Jan 13, 2023
2 parents 3c8505c + c023a94 commit de05a16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ALTER TABLE user_email_notification_settings DROP CONSTRAINT chk_notification_source_type;
ALTER TABLE user_email_notification_settings
ADD CONSTRAINT chk_notification_source_type CHECK (notification_source_type = 'T' OR notification_source_type = 'V' OR notification_source_type = 'C' OR notification_source_type = 'Q' OR notification_source_type = 'A' OR notification_source_type = 'S' OR notification_source_type = 'VT' OR notification_source_type = 'M' OR notification_source_type = 'PT');
ADD CONSTRAINT chk_notification_source_type CHECK (notification_source_type IN ('T', 'V', 'C', 'Q', 'A', 'S', 'VT', 'M', 'PT', 'GU'));

COMMENT ON COLUMN user_email_notification_settings.notification_source_type IS 'The notification type the setting relates to, as described in the notification Source Type. Value can be T (= trigger), C (= comment), Q (= query), V (= verification), A (= automated record check), S (= species alert), VT (= verifier task), M (= milestone), PT (= pending record task). Needs updating when notification.source_type constraint is altered.';

0 comments on commit de05a16

Please sign in to comment.