4
1
Fork 0

Default user fields to empty rather than NULL

pull/24/head
Daniel Lim 2019-08-31 15:46:56 +08:00
parent ad7029f26a
commit ca87bef767
1 changed files with 4 additions and 4 deletions

View File

@ -2,10 +2,10 @@
CREATE TABLE IF NOT EXISTS "user" (
id BYTEA PRIMARY KEY,
username VARCHAR(63555) UNIQUE,
bio VARCHAR(63535),
profile_pic VARCHAR(63535),
first_name VARCHAR(65535),
last_name VARCHAR(65535),
bio VARCHAR(63535) DEFAULT '',
profile_pic VARCHAR(63535) DEFAULT '',
first_name VARCHAR(65535) DEFAULT '',
last_name VARCHAR(65535) DEFAULT '',
phone_number VARCHAR(32) UNIQUE
);