add email to citizen table
This commit is contained in:
@@ -18,7 +18,8 @@ create table citizen
|
||||
birthday date not null,
|
||||
user_id uuid not null references "user" (id) unique,
|
||||
vote_anonymous boolean default true not null,
|
||||
follow_anonymous boolean default true not null
|
||||
follow_anonymous boolean default true not null,
|
||||
email text not null check ( email ~* '.+@.+\..+' )
|
||||
);
|
||||
|
||||
create table workgroup
|
||||
|
||||
Reference in New Issue
Block a user