Skip to content

Commit 60944ce

Browse files
Modify username column to be NOT NULL with default
1 parent a4ec17a commit 60944ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/1.0.0_create_t1.sql

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

0 commit comments

Comments
 (0)