diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/schema.sql | 9 | ||||
-rw-r--r-- | db/schema_0010-add_open311_conf.sql | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/db/schema.sql b/db/schema.sql index 37ffddd51..d4dbd76de 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -388,3 +388,12 @@ create table admin_log ( whenedited timestamp not null default ms_current_timestamp() ); +-- Record open 311 configuration details + +create table open311conf ( + id integer primary key, + area_id integer not null unique, + endpoint text not null, + jurisdiction text, + api_key text +); diff --git a/db/schema_0010-add_open311_conf.sql b/db/schema_0010-add_open311_conf.sql new file mode 100644 index 000000000..06667caf0 --- /dev/null +++ b/db/schema_0010-add_open311_conf.sql @@ -0,0 +1,11 @@ +begin; + +CREATE TABLE open311conf ( + id INTEGER PRIMARY KEY, + area_id INTEGER NOT NULL unique, + endpoint TEXT NOT NULL, + jurisdiction TEXT, + api_key TEXT +); + +commit; |