]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add a transport flag to queue items
authorEvan Prodromou <evan@prodromou.name>
Sat, 19 Jul 2008 14:09:06 +0000 (10:09 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 19 Jul 2008 14:09:06 +0000 (10:09 -0400)
darcs-hash:20080719140906-84dde-9fcac26ee544ad53091808256f70b1745ac27a70.gz

classes/Queue_item.php
classes/stoica.ini
db/laconica.sql

index 48dd2b443c86525916abf55805348ce2eba54f14..a953e141b874e22c16c4c0dfbb15c2f7f030b584 100644 (file)
@@ -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()  
 
index bee53f86308985eabbf1a83cf09433831ee50643..6ee2981c2a3d7f7b620a5e4f987ca853ab1d1203 100644 (file)
@@ -81,6 +81,7 @@ id = N
 
 [queue_item]
 notice_id = 129
+transport = 130
 created = 142
 claimed = 14
 
index cf3c51251c130c0ceb71587b4500f1cfb5cfdc00..4591caf1418f4450590c524e2a1706df8d018aca 100644 (file)
@@ -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',