CREATE TABLE revision_meta.approved_labels_queue
(
    commit_id bigint NOT NULL,
    CONSTRAINT approved_labels_queue_commit_id_check CHECK (commit_id > 0)
);

CREATE INDEX approved_labels_queue_commit_id_idx
    ON revision_meta.approved_labels_queue
    USING btree (commit_id);

CREATE TABLE revision_meta.approved_bboxes_queue
(
    commit_id bigint NOT NULL,
    CONSTRAINT approved_bboxes_queue_commit_id_check CHECK (commit_id > 0)
);

CREATE INDEX approved_bboxes_queue_commit_id_idx
    ON revision_meta.approved_bboxes_queue
    USING btree (commit_id);