diff options
author | Dave Whiteland <dave@mysociety.org> | 2012-03-16 12:08:14 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2012-03-23 13:45:38 +0000 |
commit | b568ab6b4f169b3afda44047d40f071f90cab099 (patch) | |
tree | b088f8d7426531184f51fd931a3406414c7dcb3b /db/schema.sql | |
parent | 38f39f9154aeef60b012c088571aaa3121e3d388 (diff) |
added retry cutoff and send_fail data to problem table for webservice send-reports
Diffstat (limited to 'db/schema.sql')
-rw-r--r-- | db/schema.sql | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/db/schema.sql b/db/schema.sql index d24d4dd96..5824b2d6d 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -189,7 +189,12 @@ create table problem ( send_questionnaire boolean not null default 't', extra text, -- extra fields required for open311 flagged boolean not null default 'f', - geocode bytea + geocode bytea, + + -- logging sending failures (used by webservices) + send_fail_count integer not null default 0, + send_fail_reason text, + send_fail_timestamp timestamp ); create index problem_state_latitude_longitude_idx on problem(state, latitude, longitude); create index problem_user_id_idx on problem ( user_id ); |