create table if not exists label ( id bigserial primary key, project_uuid uuid not null, name varchar(255) not null, color varchar(255) not null ); create index if not exists idx_label_project on label (project_uuid);