create table if not exists project_group
(
    id               serial    not null
        constraint project_group_pk
            primary key,
    name             varchar(256),
    poms_project_ids integer[] not null,
    poms_user_id     integer   not null
        constraint project_group_user_id_fk
            references "user"
);

comment on column project_group.poms_project_ids is '运维项目id';

create unique index if not exists project_group_id_uindex
    on project_group (id);

