summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-04 00:07:46 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-04 00:07:46 -0400
commit784299c25778fccb3292b4f339446f37c11d2bf9 (patch)
tree79c910c04888597164448ab0ad0c72eda1273bab /db
parent7816e4122a1e9edb241c009b800714e31db5c356 (diff)
add a queued notice item
darcs-hash:20080704040746-84dde-36803f820ea7c238613cf5728c59a18ff1eb442d.gz
Diffstat (limited to 'db')
-rw-r--r--db/laconica.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index 46424ecce..66d9a9781 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -173,3 +173,14 @@ create table remember_me (
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;
+