diff options
author | Dave Arter <davea@mysociety.org> | 2020-01-28 09:15:59 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-14 10:35:37 +0000 |
commit | 7a40c15ea58b9475b40171f50a896fb79b470a94 (patch) | |
tree | 4f6b5a33018ff38ac776959dd6e13aaf77024761 /db/schema.sql | |
parent | a494edfb9b8b971ef825782123d4422c73288b75 (diff) |
Add ManifestTheme model for customising web manifest
Diffstat (limited to 'db/schema.sql')
-rw-r--r-- | db/schema.sql | 11 |
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 +); |