aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.sql
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-05-04 00:04:09 +0100
committerDave Whiteland <dave@mysociety.org>2012-05-04 00:04:09 +0100
commitc1c23af9b7d9b6b451ac1d197b0d26ae6850935e (patch)
treedc2f20e46042b41e22e8c4efc2b3074b60063833 /db/schema.sql
parent61b0332d8abc37d5270773e66eff708c85de4128 (diff)
parentdb156a1d0311f8fe60736ffe307d324eee0b8480 (diff)
merge master to get schema changes
Diffstat (limited to 'db/schema.sql')
-rw-r--r--db/schema.sql5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/schema.sql b/db/schema.sql
index 5824b2d6d..e1205099d 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -194,7 +194,10 @@ create table problem (
-- logging sending failures (used by webservices)
send_fail_count integer not null default 0,
send_fail_reason text,
- send_fail_timestamp timestamp
+ send_fail_timestamp timestamp,
+
+ -- record send_method used, which can be used to infer usefulness of external_id
+ send_method_used text
);
create index problem_state_latitude_longitude_idx on problem(state, latitude, longitude);
create index problem_user_id_idx on problem ( user_id );