aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.sql
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-02-14 12:55:15 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-02-14 12:55:15 +0000
commita5373a4ce9e966f70cd5edf0334c27781d7a2f04 (patch)
tree9bf59ec3fd7b9de0194dc8e997e57e18f787629c /db/schema.sql
parent2530538ca6e36b659a63cc3b67099972fe0116af (diff)
parentf0edab7ee84e4358c279a5a8ec37dbb0ae8f1b3d (diff)
Merge branch 'pwa'
Diffstat (limited to 'db/schema.sql')
-rw-r--r--db/schema.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/schema.sql b/db/schema.sql
index cf2914467..0e38ad862 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -449,6 +449,7 @@ create table admin_log (
or object_type = 'body'
or object_type = 'category'
or object_type = 'role'
+ or object_type = 'manifesttheme'
),
object_id integer not null,
action text not null,
@@ -562,3 +563,13 @@ CREATE TABLE state (
type text not null check (type = 'open' OR type = 'closed' OR type = 'fixed'),
name text not null unique
);
+
+CREATE TABLE manifest_theme (
+ id serial not null primary key,
+ cobrand text not null unique,
+ name text not null,
+ short_name text not null,
+ background_colour text,
+ theme_colour text,
+ images text ARRAY
+);