aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.sql
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-07-12 17:25:52 +0100
committerStruan Donald <struan@exo.org.uk>2012-07-12 17:25:52 +0100
commit4c5fe7626d9fc482e2be8fa66090a99ad6a1141f (patch)
treecfbb8ea1b2ebaac66ef50d9f578ecf93d283624c /db/schema.sql
parent5e85e2e217d5b453212924765d592c235eb93071 (diff)
add in external_source and external_source_id to schema
Diffstat (limited to 'db/schema.sql')
-rw-r--r--db/schema.sql6
1 files changed, 5 insertions, 1 deletions
diff --git a/db/schema.sql b/db/schema.sql
index 832104991..690b7080f 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -198,7 +198,11 @@ create table problem (
send_fail_timestamp timestamp,
-- record send_method used, which can be used to infer usefulness of external_id
- send_method_used text
+ send_method_used text,
+
+ -- record details about messages from external sources, eg. message manager
+ external_source text,
+ external_source_id text
);
create index problem_state_latitude_longitude_idx on problem(state, latitude, longitude);
create index problem_user_id_idx on problem ( user_id );