Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 211 Bytes
CREATE TABLE trunk_queue (
id bigserial PRIMARY KEY,
name varchar(255),
message text,
locked_at timestamptz
);
CREATE INDEX trunk_queue_name_id ON trunk_queue (name, id) WHERE locked_at IS NULL;