diff options
-rw-r--r-- | classes/User.php | 1 | ||||
-rw-r--r-- | classes/stoica.ini | 1 | ||||
-rw-r--r-- | db/laconica.sql | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/classes/User.php b/classes/User.php index 82e1002a4..36111ac0c 100644 --- a/classes/User.php +++ b/classes/User.php @@ -45,6 +45,7 @@ class User extends DB_DataObject public $carrier; // int(4) public $smsnotify; // tinyint(1) public $uri; // varchar(255) unique_key + public $autosubscribe; // tinyint(1) public $created; // datetime() not_null public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP diff --git a/classes/stoica.ini b/classes/stoica.ini index c79e095dc..955b4d9fc 100644 --- a/classes/stoica.ini +++ b/classes/stoica.ini @@ -169,6 +169,7 @@ sms = 2 carrier = 1 smsnotify = 17 uri = 2 +autosubscribe = 17 created = 142 modified = 384 diff --git a/db/laconica.sql b/db/laconica.sql index a598e4470..3c8478beb 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -56,6 +56,7 @@ create table user ( carrier integer comment 'foreign key to sms_carrier' references sms_carrier (id), smsnotify tinyint default 0 comment 'whether to send notices to SMS', 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' ) ENGINE=MyISAM; |