summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-07-22 17:52:43 +1200
committerBrenda Wallace <shiny@cpan.org>2009-07-22 17:52:43 +1200
commit9ab07b4468048d20b2b826ef6595a862d5a21ffd (patch)
tree83f810627b819c292c8257b45503e7e81e4850d3
parent38d70f13865b197e17773ba24d67ea1148c32ab3 (diff)
Fixed "User" table - added design_id and viewdesigns
-rw-r--r--db/laconica_pg.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql
index f5d35f985..55a103ee0 100644
--- a/db/laconica_pg.sql
+++ b/db/laconica_pg.sql
@@ -72,6 +72,8 @@ create table "user" (
autosubscribe integer default 0 /* comment 'automatically subscribe to users who subscribe to us' */,
urlshorteningservice varchar(50) default 'ur1.ca' /* comment 'service to use for auto-shortening URLs' */,
inboxed integer default 0 /* comment 'has an inbox been created for this user?' */,
+ design_id integer /* comment 'id of a design' */references design(id),
+ viewdesigns integer default 1 /* comment 'whether to view user-provided designs'*/,
created timestamp not null default CURRENT_TIMESTAMP /* comment 'date this record was created' */,
modified timestamp /* comment 'date this record was modified' */