aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.sql
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-08-09 18:33:52 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-08-09 18:33:52 +0100
commiteb9fdecc08f346b17c6cf9334a74fe13af69b716 (patch)
tree72f2ecada6ea6978a089dc36335d20dd023e8bd3 /db/schema.sql
parenta4bfd8e348a5d589c7a3886cd5fe11bd12f17c6d (diff)
parent223c035294f0f3a79ae341349f8f78ffdf61ccd5 (diff)
Merge branch 'admin_abuse_additions'
Diffstat (limited to 'db/schema.sql')
-rw-r--r--db/schema.sql6
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 );