public $sms; // varchar(64) unique_key
public $carrier; // int(4)
public $smsnotify; // tinyint(1)
+ public $smsreplies; // tinyint(1)
public $smsemail; // varchar(255)
public $uri; // varchar(255) unique_key
public $autosubscribe; // tinyint(1)
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 */