add autosubscribe flag to users
darcs-hash:20080720200530-84dde-dade3117bdf510c1880d35f27bd9352995725175.gz
This commit is contained in:
parent
bb366ab0b8
commit
48ac5b9e85
@ -45,6 +45,7 @@ class User extends DB_DataObject
|
|||||||
public $carrier; // int(4)
|
public $carrier; // int(4)
|
||||||
public $smsnotify; // tinyint(1)
|
public $smsnotify; // tinyint(1)
|
||||||
public $uri; // varchar(255) unique_key
|
public $uri; // varchar(255) unique_key
|
||||||
|
public $autosubscribe; // tinyint(1)
|
||||||
public $created; // datetime() not_null
|
public $created; // datetime() not_null
|
||||||
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
|
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
|
||||||
|
|
||||||
|
@ -169,6 +169,7 @@ sms = 2
|
|||||||
carrier = 1
|
carrier = 1
|
||||||
smsnotify = 17
|
smsnotify = 17
|
||||||
uri = 2
|
uri = 2
|
||||||
|
autosubscribe = 17
|
||||||
created = 142
|
created = 142
|
||||||
modified = 384
|
modified = 384
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@ create table user (
|
|||||||
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',
|
||||||
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',
|
||||||
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'
|
||||||
) ENGINE=MyISAM;
|
) ENGINE=MyISAM;
|
||||||
|
Loading…
Reference in New Issue
Block a user