You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
495 B
18 lines
495 B
1 year ago
|
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);
|
||
|
|