diff options
Diffstat (limited to 'db/schema.sql')
-rw-r--r-- | db/schema.sql | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/db/schema.sql b/db/schema.sql index 9c5b3d8fd..53c236dd6 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -130,7 +130,8 @@ create table users ( email text not null unique, name text, phone text, - password text not null default '' + password text not null default '', + flagged boolean not null default 'f' ); -- Problems reported by users of site @@ -175,7 +176,8 @@ create table problem ( cobrand_data text not null default '' check (cobrand_data ~* '^[a-z0-9]*$'), -- Extra data used in cobranded versions of the site lastupdate timestamp not null default ms_current_timestamp(), whensent timestamp, - send_questionnaire boolean not null default 't' + send_questionnaire boolean not null default 't', + flagged boolean not null default 'f' ); create index problem_state_latitude_longitude_idx on problem(state, latitude, longitude); create index problem_user_id_idx on problem ( user_id ); |