Skip to content

Commit 59bf4ca

Browse files
committed
edit ddl
1 parent fc917b3 commit 59bf4ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/texera_ddl.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ CREATE TABLE IF NOT EXISTS "user"
100100
google_avatar VARCHAR(100),
101101
role user_role_enum NOT NULL DEFAULT 'INACTIVE',
102102
comment TEXT,
103+
permission JSONB NOT NULL DEFAULT '{}'::jsonb,
103104
account_creation_time TIMESTAMPTZ NOT NULL DEFAULT now(),
104105
-- check that either password or google_id is not null
105106
CONSTRAINT ck_nulltest CHECK ((password IS NOT NULL) OR (google_id IS NOT NULL))

0 commit comments

Comments
 (0)