aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-03-08 17:39:43 +0000
committerDave Whiteland <dave@mysociety.org>2012-03-23 13:44:40 +0000
commit98fa5cc4b1e0da3515de6bef53adf7ce9be8c7e7 (patch)
tree67bb435dc9ac53e1673f68ff517b846106d1bb9c /db
parent6320071f584c22421bb903738b4cfc825f1c6955 (diff)
now using open311config all send-reports webservices, not just open311
Diffstat (limited to 'db')
-rw-r--r--db/schema.sql3
-rw-r--r--db/schema_0013-add_send_method_column_to_open311conf.sql7
2 files changed, 9 insertions, 1 deletions
diff --git a/db/schema.sql b/db/schema.sql
index 395d1c07b..d24d4dd96 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -419,5 +419,6 @@ create table open311conf (
area_id integer not null unique,
endpoint text not null,
jurisdiction text,
- api_key text
+ api_key text,
+ send_method text
);
diff --git a/db/schema_0013-add_send_method_column_to_open311conf.sql b/db/schema_0013-add_send_method_column_to_open311conf.sql
new file mode 100644
index 000000000..516fdd698
--- /dev/null
+++ b/db/schema_0013-add_send_method_column_to_open311conf.sql
@@ -0,0 +1,7 @@
+
+begin;
+
+ALTER table open311conf
+ ADD column send_method TEXT;
+
+commit;