CREATE TABLE assessment.competence (
    competence_id bigserial,
    role_name text NOT NULL,

    UNIQUE(role_name)
);

CREATE TABLE assessment.sample_task_competence (
    sample_task_id bigint NOT NULL,
    competence_id bigint NOT NULL,

    PRIMARY KEY (sample_task_id, competence_id)
);
