Skip to content

Commit a25eb68

Browse files
Add NOT NULL constraint and default value to username
1 parent 425f808 commit a25eb68

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 t2 (
22
id SERIAL PRIMARY KEY,
3-
username VARCHAR(50)
3+
username VARCHAR(50) NOT NULL DEFAULT ''
44
)

0 commit comments

Comments
 (0)