CREATE TABLE IF NOT EXISTS pull_request_review (
    repo UUID NOT NULL,
    number BIGINT NOT NULL,
    reviewer UUID NOT NULL,
    state VARCHAR(255) NOT NULL,
    body TEXT,
    submitted_at TIMESTAMPTZ,
    created_at TIMESTAMPTZ NOT NULL,
    updated_at TIMESTAMPTZ NOT NULL,
    PRIMARY KEY (repo, number, reviewer)
);
