summaryrefslogtreecommitdiff
path: root/db/laconica.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/laconica.sql')
-rw-r--r--db/laconica.sql5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index 84e1d1fac..66510b148 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -55,11 +55,14 @@ create table user (
sms varchar(64) unique key comment 'sms phone number',
carrier integer comment 'foreign key to sms_carrier' references sms_carrier (id),
smsnotify tinyint default 0 comment 'whether to send notices to SMS',
+ smsreplies tinyint default 0 comment 'whether to send notices to SMS on replies',
smsemail varchar(255) comment 'built from sms and carrier',
uri varchar(255) unique key comment 'universally unique identifier, usually a tag URI',
autosubscribe tinyint default 0 comment 'automatically subscribe to users who subscribe to us',
created datetime not null comment 'date this record was created',
- modified timestamp comment 'date this record was modified'
+ modified timestamp comment 'date this record was modified',
+
+ index user_smsemail_idx (smsemail)
) ENGINE=MyISAM;
/* remote people */