]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add sms email address to user
authorEvan Prodromou <evan@prodromou.name>
Mon, 21 Jul 2008 03:59:19 +0000 (23:59 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 21 Jul 2008 03:59:19 +0000 (23:59 -0400)
darcs-hash:20080721035919-84dde-e06f9094902522d2cd0ad71d65d565293f19db4a.gz

classes/User.php
classes/stoica.ini
db/laconica.sql

index edf11728cd487b20bdf53a13875b4a98c0fc0cd4..f22144e5cd46174c937b173c44f62bf1a1dff6c6 100644 (file)
@@ -44,6 +44,7 @@ class User extends DB_DataObject
     public $sms;                             // varchar(64)  unique_key
     public $carrier;                         // int(4)  
     public $smsnotify;                       // tinyint(1)  
+    public $smsemail;                        // varchar(255)  
     public $uri;                             // varchar(255)  unique_key
     public $autosubscribe;                   // tinyint(1)  
     public $created;                         // datetime()   not_null
index 955b4d9fcf4fb49e5366d0e087ffac47c71530ac..cffefa96d71a75018b23995721e5b66681dfa2c2 100644 (file)
@@ -168,6 +168,7 @@ updatefrompresence = 17
 sms = 2
 carrier = 1
 smsnotify = 17
+smsemail = 2
 uri = 2
 autosubscribe = 17
 created = 142
index 3c8478beba0519df727514508f9678a8d3ce11fc..84e1d1fac56fa9a7119010050503d60c84b598af 100644 (file)
@@ -55,6 +55,7 @@ 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',
+    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',