-- Your SQL goes here
create table issue_votes (
    id bigserial primary key,
    positive boolean,
    issue_id int not null references issues (id),
    user_id bigint not null,
    unique (issue_id, user_id)
);