fix update_notification script

This commit is contained in:
amentis 2023-12-06 09:41:20 +02:00
parent 9e13eb4d01
commit ce0075f30a
1 changed files with 16 additions and 0 deletions

View File

@ -9,6 +9,22 @@ BEGIN
ALTER TABLE public."Notification"
ADD COLUMN is_active smallint NOT NULL;
ALTER TABLE public."Notification" DROP COLUMN contact_type_hint;
ALTER TABLE public."Notification" DROP COLUMN notify_state;
ALTER TABLE public."Notification" DROP COLUMN notified_with;
ALTER TABLE public."Notification"
ADD COLUMN contact_type_hint smallint;
ALTER TABLE public."Notification"
ADD COLUMN notify_state smallint;
ALTER TABLE public."Notification"
ADD COLUMN notified_with smallint;
ALTER TABLE public."NTFInAppNotification" DROP COLUMN is_active;
ALTER TABLE public."NTFInAppNotification"