CREATE TABLE IF NOT EXISTS wk_gp_role (
    wk UUID NOT NULL,
    gp UUID NOT NULL,
    repo_read BOOLEAN NOT NULL DEFAULT FALSE,
    repo_write BOOLEAN NOT NULL DEFAULT FALSE,
    channel_read BOOLEAN NOT NULL DEFAULT FALSE,
    channel_write BOOLEAN NOT NULL DEFAULT FALSE,
    ai_read BOOLEAN NOT NULL DEFAULT FALSE,
    ai_write BOOLEAN NOT NULL DEFAULT FALSE,
    pr_review BOOLEAN NOT NULL DEFAULT FALSE,
    issues_ass BOOLEAN NOT NULL DEFAULT FALSE,
    log_view BOOLEAN NOT NULL DEFAULT FALSE,
    PRIMARY KEY (wk, gp)
);
