database changes to say whether to deliver messages for a subscription
darcs-hash:20081209033637-5ed1f-df5ef40e57cc0e9485e34e2f5e46249dcb0d9130.gz
This commit is contained in:
parent
8286fd1281
commit
a68f513cc8
|
@ -32,6 +32,8 @@ class Subscription extends Memcached_DataObject
|
||||||
public $__table = 'subscription'; // table name
|
public $__table = 'subscription'; // table name
|
||||||
public $subscriber; // int(4) primary_key not_null
|
public $subscriber; // int(4) primary_key not_null
|
||||||
public $subscribed; // int(4) primary_key not_null
|
public $subscribed; // int(4) primary_key not_null
|
||||||
|
public $jabber; // tinyint(1) default_1
|
||||||
|
public $sms; // tinyint(1) default_1
|
||||||
public $token; // varchar(255)
|
public $token; // varchar(255)
|
||||||
public $secret; // varchar(255)
|
public $secret; // varchar(255)
|
||||||
public $created; // datetime() not_null
|
public $created; // datetime() not_null
|
||||||
|
|
|
@ -268,6 +268,8 @@ id = N
|
||||||
[subscription]
|
[subscription]
|
||||||
subscriber = 129
|
subscriber = 129
|
||||||
subscribed = 129
|
subscribed = 129
|
||||||
|
jabber = 17
|
||||||
|
sms = 17
|
||||||
token = 2
|
token = 2
|
||||||
secret = 2
|
secret = 2
|
||||||
created = 142
|
created = 142
|
||||||
|
|
|
@ -88,6 +88,8 @@ create table remote_profile (
|
||||||
create table subscription (
|
create table subscription (
|
||||||
subscriber integer not null comment 'profile listening',
|
subscriber integer not null comment 'profile listening',
|
||||||
subscribed integer not null comment 'profile being listened to',
|
subscribed integer not null comment 'profile being listened to',
|
||||||
|
jabber tinyint default 1 comment 'deliver jabber messages',
|
||||||
|
sms tinyint default 1 comment 'deliver sms messages',
|
||||||
token varchar(255) comment 'authorization token',
|
token varchar(255) comment 'authorization token',
|
||||||
secret varchar(255) comment 'token secret',
|
secret varchar(255) comment 'token secret',
|
||||||
created datetime not null comment 'date this record was created',
|
created datetime not null comment 'date this record was created',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user