public $__table = 'notice_inbox'; // table name
public $user_id; // int(4) primary_key not_null
public $notice_id; // int(4) primary_key not_null
- public $created; // datetime() not_null
public $source; // tinyint(1) default_1
+ public $created; // datetime() not_null
/* Static get */
function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Notice_inbox',$k,$v); }
public $smsemail; // varchar(255)
public $uri; // varchar(255) unique_key
public $autosubscribe; // tinyint(1)
- public $urlshorteningservice; // varchar(50)
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
+ public $inboxed; // tinyint(1)
+ public $urlshorteningservice; // varchar(50) default_ur1.ca
/* Static get */
function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('User',$k,$v); }
[notice_inbox]
user_id = 129
notice_id = 129
-created = 142
source = 17
+created = 142
[notice_inbox__keys]
user_id = K
smsemail = 2
uri = 2
autosubscribe = 17
-urlshorteningservice = 2
created = 142
modified = 384
+inboxed = 17
+urlshorteningservice = 2
[user__keys]
id = K
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',
urlshorteningservice varchar(50) default 'ur1.ca' comment 'service to use for auto-shortening URLs',
+ inboxed tinyint default 0 comment 'has an inbox been created for this user?',
created datetime not null comment 'date this record was created',
modified timestamp comment 'date this record was modified',