add flag for sms replies

darcs-hash:20080721040551-84dde-f6c76d806969ccaa772da31235baaf7d9b065c15.gz
This commit is contained in:
Evan Prodromou 2008-07-21 00:05:51 -04:00
parent 3345f54186
commit 0c0ac46f43
3 changed files with 6 additions and 1 deletions

View File

@ -44,6 +44,7 @@ class User extends DB_DataObject
public $sms; // varchar(64) unique_key public $sms; // varchar(64) unique_key
public $carrier; // int(4) public $carrier; // int(4)
public $smsnotify; // tinyint(1) public $smsnotify; // tinyint(1)
public $smsreplies; // tinyint(1)
public $smsemail; // varchar(255) public $smsemail; // varchar(255)
public $uri; // varchar(255) unique_key public $uri; // varchar(255) unique_key
public $autosubscribe; // tinyint(1) public $autosubscribe; // tinyint(1)

View File

@ -168,6 +168,7 @@ updatefrompresence = 17
sms = 2 sms = 2
carrier = 1 carrier = 1
smsnotify = 17 smsnotify = 17
smsreplies = 17
smsemail = 2 smsemail = 2
uri = 2 uri = 2
autosubscribe = 17 autosubscribe = 17

View File

@ -55,11 +55,14 @@ create table user (
sms varchar(64) unique key comment 'sms phone number', sms varchar(64) unique key comment 'sms phone number',
carrier integer comment 'foreign key to sms_carrier' references sms_carrier (id), carrier integer comment 'foreign key to sms_carrier' references sms_carrier (id),
smsnotify tinyint default 0 comment 'whether to send notices to SMS', 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', smsemail varchar(255) comment 'built from sms and carrier',
uri varchar(255) unique key comment 'universally unique identifier, usually a tag URI', 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', autosubscribe tinyint default 0 comment 'automatically subscribe to users who subscribe to us',
created datetime not null comment 'date this record was created', 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; ) ENGINE=MyISAM;
/* remote people */ /* remote people */