add a transport flag to queue items

darcs-hash:20080719140906-84dde-9fcac26ee544ad53091808256f70b1745ac27a70.gz
This commit is contained in:
Evan Prodromou 2008-07-19 10:09:06 -04:00
parent 957df3d43d
commit 53f59ca9d2
3 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ class Queue_item extends DB_DataObject
public $__table = 'queue_item'; // table name public $__table = 'queue_item'; // table name
public $notice_id; // int(4) primary_key not_null public $notice_id; // int(4) primary_key not_null
public $transport; // varchar(8) not_null
public $created; // datetime() not_null public $created; // datetime() not_null
public $claimed; // datetime() public $claimed; // datetime()

View File

@ -81,6 +81,7 @@ id = N
[queue_item] [queue_item]
notice_id = 129 notice_id = 129
transport = 130
created = 142 created = 142
claimed = 14 claimed = 14

View File

@ -200,6 +200,7 @@ create table remember_me (
create table queue_item ( create table queue_item (
notice_id integer not null primary key comment 'notice queued' references notice (id), notice_id integer not null primary key comment 'notice queued' references notice (id),
transport varchar(8) not null comment 'queue for what? "email", "jabber", "sms", "irc", ...',
created datetime not null comment 'date this record was created', created datetime not null comment 'date this record was created',
claimed datetime comment 'date this item was claimed', claimed datetime comment 'date this item was claimed',