aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema_0053-add-report-extra-fields-table.sql
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-07-24 09:59:06 +0100
committerDave Arter <davea@mysociety.org>2017-08-17 13:21:31 +0100
commitfb03c300258b5d1dc419d7d08ecb3afa12a2fa5b (patch)
treec110c92155be4cfeadd91d1d663df0684c341929 /db/schema_0053-add-report-extra-fields-table.sql
parent653d8b84d6a14f1759950e774b9b1a8bbba5f1b1 (diff)
Add site-wide extra fields for reports, and admin UI to manage
- Also provides an editor for the extra Open311 fields on contacts. - Adds .btn--small class for small buttons Fixes #1743.
Diffstat (limited to 'db/schema_0053-add-report-extra-fields-table.sql')
-rw-r--r--db/schema_0053-add-report-extra-fields-table.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/schema_0053-add-report-extra-fields-table.sql b/db/schema_0053-add-report-extra-fields-table.sql
new file mode 100644
index 000000000..be92abd47
--- /dev/null
+++ b/db/schema_0053-add-report-extra-fields-table.sql
@@ -0,0 +1,11 @@
+BEGIN;
+
+CREATE TABLE report_extra_fields (
+ id serial not null primary key,
+ name text not null,
+ cobrand text,
+ language text,
+ extra text
+);
+
+COMMIT;