From: Evan Prodromou Date: Tue, 15 Jul 2008 22:19:46 +0000 (-0400) Subject: unique key on a boolean value is not scalable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=72fda63585b4c6dae290ae08de4a0f33e1bb252c;p=quix0rs-gnu-social.git unique key on a boolean value is not scalable darcs-hash:20080715221946-84dde-cd843d283da019b102073bc64732f4abb89a6456.gz --- diff --git a/db/laconica.sql b/db/laconica.sql index e906b05fe0..bb9f16459b 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -45,7 +45,7 @@ create table user ( nickname varchar(64) unique key comment 'nickname or username, duped in profile', password varchar(255) comment 'salted password, can be null for OpenID users', email varchar(255) unique key comment 'email address for password recovery etc.', - emailnotifysub tinyint default 1 unique key comment 'Notify by email of subscriptions', + emailnotifysub tinyint default 1 comment 'Notify by email of subscriptions', jabber varchar(255) unique key comment 'jabber ID for notices', jabbernotify tinyint default 0 comment 'whether to send notices to jabber', jabberreplies tinyint default 0 comment 'whether to send notices to jabber on replies',