create table if not exists project_label ( id bigserial primary key, project_uuid uuid not null, label_id bigint not null, relation_at timestamp with time zone not null ); create index if not exists idx_project_label_project on project_label (project_uuid);