fix update_notification script
This commit is contained in:
parent
9e13eb4d01
commit
ce0075f30a
|
@ -9,6 +9,22 @@ BEGIN
|
||||||
ALTER TABLE public."Notification"
|
ALTER TABLE public."Notification"
|
||||||
ADD COLUMN is_active smallint NOT NULL;
|
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" DROP COLUMN is_active;
|
||||||
|
|
||||||
ALTER TABLE public."NTFInAppNotification"
|
ALTER TABLE public."NTFInAppNotification"
|
||||||
|
|
Loading…
Reference in New Issue