CREATE TABLE ugc.tasks_group_email (
    tasks_group_id bigint NOT NULL
        REFERENCES ugc.tasks_group(tasks_group_id)
        ON DELETE CASCADE,
    email text NOT NULL,
    PRIMARY KEY (tasks_group_id, email)
);
