create table training_information ( id serial not null constraint training_information_record_pkey primary key, departmentname varchar(255) not null, traindate varchar(255), filetype varchar(255), filename varchar(255), filesize varchar(255), updatedate timestamp, attachpath varchar(255) ); comment on table training_information is '公司培训资源库'; comment on column training_information.departmentname is '部门分类'; comment on column training_information.traindate is '时间(三级目录)'; comment on column training_information.filetype is '文件类型'; comment on column training_information.filename is '文件名'; comment on column training_information.filesize is '文件大小'; comment on column training_information.updatedate is '更新时间'; comment on column training_information.attachpath is '文件路径';