aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.sql
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-08-29 17:43:22 +0100
committerStruan Donald <struan@exo.org.uk>2012-08-29 17:43:22 +0100
commit0fad1a7b85ac83dce778b7dd22cd9d74f524ce23 (patch)
treeb74e71b18b6cd8d267b29b264f8af89e801b9ca9 /db/schema.sql
parent716c333de51d06e289f0dd798ec675b6466e336a (diff)
allow endpoints to be configured at a category level
default cobrand now checks for endpoint configuration and only extra fallbacks are in UK cobrand
Diffstat (limited to 'db/schema.sql')
-rw-r--r--db/schema.sql9
1 files changed, 8 insertions, 1 deletions
diff --git a/db/schema.sql b/db/schema.sql
index 571c71bcd..819a6c0be 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -82,6 +82,12 @@ create table contacts (
-- extra fields required for open311
extra text
+
+ -- per contact endpoint configuration
+ endpoint text,
+ jurisdiction text default '',
+ api_key text default '',
+ send_method text
);
create unique index contacts_area_id_category_idx on contacts(area_id, category);
@@ -445,5 +451,6 @@ create table open311conf (
send_method text,
send_comments boolean not null default 'f',
comment_user_id int references users(id),
- suppress_alerts boolean not null default 'f'
+ suppress_alerts boolean not null default 'f',
+ can_be_devolved boolean not null default 'f'
);