aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.sql
diff options
context:
space:
mode:
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 690b7080f..571c71bcd 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -202,7 +202,10 @@ create table problem (
-- record details about messages from external sources, eg. message manager
external_source text,
- external_source_id text
+ external_source_id text,
+
+ -- number of me toos
+ interest_count integer
);
create index problem_state_latitude_longitude_idx on problem(state, latitude, longitude);
create index problem_user_id_idx on problem ( user_id );