summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-19 10:09:06 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-19 10:09:06 -0400
commit53f59ca9d27de3b31923a6e658fe8b20463d12f0 (patch)
tree99c0856a3cf8df567c6e7f39cc847be6b953cba9
parent957df3d43d82cd2c98cf40f94b461ca31025d20b (diff)
add a transport flag to queue items
darcs-hash:20080719140906-84dde-9fcac26ee544ad53091808256f70b1745ac27a70.gz
-rw-r--r--classes/Queue_item.php1
-rw-r--r--classes/stoica.ini1
-rw-r--r--db/laconica.sql1
3 files changed, 3 insertions, 0 deletions
diff --git a/classes/Queue_item.php b/classes/Queue_item.php
index 48dd2b443..a953e141b 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 bee53f863..6ee2981c2 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 cf3c51251..4591caf14 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',