summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-08 14:16:24 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-08 14:16:24 -0400
commita8a36677748b304faf20742598b90f3d9634f393 (patch)
tree1696b4c28db055544910f7f06786cfe97f4338b9 /db
parent75f285ddf6decb4f8c3b1b87d29d9b12f833e9fc (diff)
initial non-Ajax version of favorites
darcs-hash:20080908181624-84dde-8200e1d91eb5f560ef0f296c9e1c56f93ef1b0c5.gz
Diffstat (limited to 'db')
-rw-r--r--db/laconica.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index b358e54b8..867deb797 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -47,6 +47,7 @@ create table user (
email varchar(255) unique key comment 'email address for password recovery etc.',
incomingemail varchar(255) unique key comment 'email address for post-by-email',
emailnotifysub tinyint default 1 comment 'Notify by email of subscriptions',
+ emailnotifyfav tinyint default 1 comment 'Notify by email of favorites',
emailmicroid tinyint default 1 comment 'whether to publish email microid',
language varchar(50) comment 'preferred language',
timezone varchar(50) comment 'timezone',
@@ -281,10 +282,10 @@ create table foreign_link (
credentials varchar(255) comment 'authc credentials, typically a password',
noticesync tinyint not null default 1 comment 'notice synchronization, bit 1 = sync outgoing, bit 2 = sync incoming',
friendsync tinyint not null default 2 comment 'friend synchronization, bit 1 = sync outgoing, bit 2 = sync incoming',
- profilesync tinyint not null default 1 comment 'profile synchronization, bit 1 = sync outgoing, bit 2 = sync incoming',
+ profilesync tinyint not null default 1 comment 'profile synchronization, bit 1 = sync outgoing, bit 2 = sync incoming',
created datetime not null comment 'date this record was created',
modified timestamp comment 'date this record was modified',
-
+
constraint primary key (user_id, foreign_id, service),
index foreign_user_user_id_idx (user_id)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;