Skip to content

Commit ab6f00e

Browse files
Add NOT NULL and DEFAULT to username column
1 parent 0d6196c commit ab6f00e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

migrations/1.0.0_create_t0.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CREATE TABLE t0 (
2+
id SERIAL PRIMARY KEY,
3+
username VARCHAR(50) NOT NULL DEFAULT ''
4+
);

0 commit comments

Comments
 (0)