运维服务中台
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.
 
 
 
 
 

30 lines
748 B

create table report_file
(
-- Only integer types can be auto increment
id serial not null,
file_name varchar(255) not null,
project_id int not null,
url varchar(1024) not null,
start_time timestamp not null,
report_type varchar(255) not null
);
comment on table report_file is '报表文件';
comment on column report_file.file_name is '报表文件名';
comment on column report_file.project_id is '运维项目id';
comment on column report_file.url is '文件路径';
comment on column report_file.start_time is '产生时间';
comment on column report_file.report_type is '报表类型';
create unique index report_file_id_uindex
on report_file (id);
alter table report_file
add constraint report_file_pk
primary key (id);