Skip to content

Commit 92105c0

Browse files
author
Sachin Maheshwari
committed
SQL: adding not null constraint.
1 parent b2627fd commit 92105c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/v2.0.1.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
-- add "topic" column
99
ALTER TABLE "public"."NotificationSettings"
10-
ADD COLUMN "topic" character varying(255);
10+
ADD COLUMN "topic" character varying(255) NOT NULL;
1111

1212

1313
UPDATE "NotificationSettings" SET topic='connect.notification.project.timeline.milestone.transition.completed' WHERE "topicOld"='connect.action.timeline.milestone.transition.completed'

0 commit comments

Comments
 (0)