diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-22 23:43:38 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-22 23:43:38 -0400 |
commit | 78564c21d46d56a2cf413b9ba804d5a60430f06e (patch) | |
tree | 00c93d104e5f21977d8a93baffad8b6710f287b8 /db | |
parent | 3f5252c168de7c0a1ffb9625e3926543c5586c6e (diff) |
schema changes for user support of designs
Diffstat (limited to 'db')
-rw-r--r-- | db/laconica.sql | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/laconica.sql b/db/laconica.sql index d42c20e2a..c87340e8e 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -41,6 +41,7 @@ create table sms_carrier ( /* local users */ create table user ( + id integer primary key comment 'foreign key to profile table' references profile (id), nickname varchar(64) unique key comment 'nickname or username, duped in profile', password varchar(255) comment 'salted password, can be null for OpenID users', @@ -71,6 +72,8 @@ create table user ( inboxed tinyint default 0 comment 'has an inbox been created for this user?', created datetime not null comment 'date this record was created', modified timestamp comment 'date this record was modified', + design_id integer comment 'id of a design' references design(id), + viewdesigns tinyint default 1 comment 'whether to view user-provided designs', index user_smsemail_idx (smsemail) ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci; |