--- /dev/null
+<?php
+/**
+ * Table Definition for queue_item
+ */
+require_once 'DB/DataObject.php';
+
+class Queue_item extends DB_DataObject
+{
+ ###START_AUTOCODE
+ /* the code below is auto generated do not remove the above tag */
+
+ public $__table = 'queue_item'; // table name
+ public $notice_id; // int(4) primary_key not_null
+ public $created; // datetime() not_null
+ public $claimed; // datetime()
+
+ /* Static get */
+ function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Queue_item',$k,$v); }
+
+ /* the code above is auto generated do not remove the tag below */
+ ###END_AUTOCODE
+}
user_id integer not null comment 'user who is logged in' references user (id),
modified timestamp comment 'date this record was modified'
) ENGINE=InnoDB;
+
+create table queue_item (
+
+ notice_id integer not null primary key comment 'notice queued' references notice (id),
+ created datetime not null comment 'date this record was created',
+ claimed datetime comment 'date this item was claimed',
+
+ index queue_item_created_idx (created)
+
+) ENGINE=InnoDB;
+