diff options
author | Jon Kristensen <info@jonkri.com> | 2014-03-01 23:10:38 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2014-03-11 17:32:55 +0000 |
commit | c44317e640cfe9dd766f09598873d8b96db2414a (patch) | |
tree | b6c20473440f452399dd137412757186d9165591 /db/schema_0031-add_url_to_body.sql | |
parent | cf20c709e13af0909620ac5387b7d070b66b8c52 (diff) |
Add `external_url' column to `body' table.
Diffstat (limited to 'db/schema_0031-add_url_to_body.sql')
-rw-r--r-- | db/schema_0031-add_url_to_body.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/schema_0031-add_url_to_body.sql b/db/schema_0031-add_url_to_body.sql new file mode 100644 index 000000000..7aaa78c64 --- /dev/null +++ b/db/schema_0031-add_url_to_body.sql @@ -0,0 +1,9 @@ +BEGIN; + +-- `external_url' includes an URL for reporting problems to the body directly. +-- It can be displayed in the new report form when no contacts are set; see +-- templates/web/fixamingata/report/new/councils_text_none.html for an example. + +ALTER TABLE body ADD external_url TEXT; + +COMMIT; |