create table if not exists issue_assignee ( issue uuid not null, "user" uuid not null, assigned_at timestamp with time zone not null, primary key (issue, "user") );