summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-06-25 22:01:14 +1200
committerBrenda Wallace <shiny@cpan.org>2009-06-25 22:01:14 +1200
commita38245d4d184903ab4df6ee81396fd3ab8ae7bf5 (patch)
treecf6f1dc669152bdd822dc7022a0b8637e9b6c0a0
parent2456baa3bce590e516c27c97344ae83edc5f0b66 (diff)
added missing table "design"
-rw-r--r--db/laconica_pg.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql
index f8362ae93..dae8b8faf 100644
--- a/db/laconica_pg.sql
+++ b/db/laconica_pg.sql
@@ -486,6 +486,18 @@ create table file_to_post (
unique(file_id, post_id)
);
+create sequence design_seq;
+create table design (
+ id bigint default nextval('design_seq') /* comment 'design ID'*/,
+ backgroundcolor integer /* comment 'main background color'*/ ,
+ contentcolor integer /*comment 'content area background color'*/ ,
+ sidebarcolor integer /*comment 'sidebar background color'*/ ,
+ textcolor integer /*comment 'text color'*/ ,
+ linkcolor integer /*comment 'link color'*/,
+ backgroundimage varchar(255) /*comment 'background image, if any'*/,
+ disposition int default 1 /*comment 'bit 1 = hide background image, bit 2 = display background image, bit 4 = tile background image'*/,
+ primary key (id)
+);
/* Textsearch stuff */