Skip to content

Commit 2a6052c

Browse files
Add NOT NULL constraint and default value to username
1 parent 5317ff7 commit 2a6052c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
CREATE TABLE "public"."t1" (
22
"id" serial PRIMARY KEY,
3-
"username" text
3+
"username" text NOT NULL DEFAULT ''
44
);

0 commit comments

Comments
 (0)