File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2
2
ALTER TABLE " public" ." NotificationSettings"
3
3
RENAME COLUMN " topic" TO " topicOld" ;
4
4
5
+ ALTER TABLE " public" ." NotificationSettings"
6
+ ALTER COLUMN " topicOld" DROP NOT NULL ;
7
+
5
8
-- add "topic" column
6
9
ALTER TABLE " public" ." NotificationSettings"
7
10
ADD COLUMN " topic" character varying (255 );
8
11
12
+
9
13
UPDATE " NotificationSettings" SET topic= ' connect.notification.project.timeline.milestone.transition.completed' WHERE " topicOld" = ' connect.action.timeline.milestone.transition.completed'
10
14
UPDATE " NotificationSettings" SET topic= ' connect.notification.project.product.update.spec' WHERE " topicOld" = ' connect.action.project.product.update.spec'
11
15
UPDATE " NotificationSettings" SET topic= ' connect.notification.project.created' WHERE " topicOld" = ' notifications.connect.project.created'
You can’t perform that action at this time.
0 commit comments