From: Brenda Wallace <shiny@cpan.org>
Date: Wed, 22 Jul 2009 05:52:43 +0000 (+1200)
Subject: Fixed "User" table - added design_id and viewdesigns
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9ab07b4468048d20b2b826ef6595a862d5a21ffd;p=quix0rs-gnu-social.git

Fixed "User" table - added design_id and viewdesigns
---

diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql
index f5d35f9858..55a103ee07 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' */