From 53f59ca9d27de3b31923a6e658fe8b20463d12f0 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 19 Jul 2008 10:09:06 -0400 Subject: [PATCH] add a transport flag to queue items darcs-hash:20080719140906-84dde-9fcac26ee544ad53091808256f70b1745ac27a70.gz --- classes/Queue_item.php | 1 + classes/stoica.ini | 1 + db/laconica.sql | 1 + 3 files changed, 3 insertions(+) diff --git a/classes/Queue_item.php b/classes/Queue_item.php index 48dd2b443c..a953e141b8 100644 --- a/classes/Queue_item.php +++ b/classes/Queue_item.php @@ -11,6 +11,7 @@ class Queue_item extends DB_DataObject public $__table = 'queue_item'; // table name public $notice_id; // int(4) primary_key not_null + public $transport; // varchar(8) not_null public $created; // datetime() not_null public $claimed; // datetime() diff --git a/classes/stoica.ini b/classes/stoica.ini index bee53f8630..6ee2981c2a 100644 --- a/classes/stoica.ini +++ b/classes/stoica.ini @@ -81,6 +81,7 @@ id = N [queue_item] notice_id = 129 +transport = 130 created = 142 claimed = 14 diff --git a/db/laconica.sql b/db/laconica.sql index cf3c51251c..4591caf141 100644 --- a/db/laconica.sql +++ b/db/laconica.sql @@ -200,6 +200,7 @@ create table remember_me ( create table queue_item ( 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', claimed datetime comment 'date this item was claimed', -- 2.39.5