forked from GNUsocial/gnu-social
queue_item in _pg now matches mysql
This commit is contained in:
parent
249c820559
commit
bfef918482
@ -287,14 +287,12 @@ create table remember_me (
|
|||||||
);
|
);
|
||||||
|
|
||||||
create table queue_item (
|
create table queue_item (
|
||||||
|
id serial /* comment 'unique identifier'*/,
|
||||||
notice_id integer not null /* comment 'notice queued' */ references notice (id) ,
|
frame bytea not null /* comment 'data: object reference or opaque string'*/,
|
||||||
transport varchar(8) not null /* comment 'queue for what? "email", "jabber", "sms", "irc", ...' */,
|
transport varchar(8) not null /*comment 'queue for what? "email", "jabber", "sms", "irc", ...'*/,
|
||||||
created timestamp not null default CURRENT_TIMESTAMP /* comment 'date this record was created' */,
|
created timestamp not null default CURRENT_TIMESTAMP /*comment 'date this record was created'*/,
|
||||||
claimed timestamp /* comment 'date this item was claimed' */,
|
claimed timestamp /*comment 'date this item was claimed'*/,
|
||||||
|
PRIMARY KEY (id)
|
||||||
primary key (notice_id, transport)
|
|
||||||
|
|
||||||
);
|
);
|
||||||
create index queue_item_created_idx on queue_item using btree(created);
|
create index queue_item_created_idx on queue_item using btree(created);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user