diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-09 13:10:23 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-09 13:10:23 +0100 |
commit | de3ec1fbef726e3794096d99cb1f3ca7066a5768 (patch) | |
tree | 8c6b94caa9b033477e87557865066d94d30b5057 /db/schema.sql | |
parent | 2b0fc3749e9cf5d210718c0082606640b3148ae1 (diff) |
set interest_count default to 0 as null + 1 = null in postgres :(
tests for the ui for interest_count as well
Diffstat (limited to 'db/schema.sql')
-rw-r--r-- | db/schema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.sql b/db/schema.sql index 8757cf80e..7cb2f3257 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -217,7 +217,7 @@ create table problem ( external_source_id text, -- number of me toos - interest_count integer + interest_count integer default 0 ); create index problem_state_latitude_longitude_idx on problem(state, latitude, longitude); create index problem_user_id_idx on problem ( user_id ); |