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.
29 lines
858 B
29 lines
858 B
2 years ago
|
create table t_data_security_specification
|
||
|
(
|
||
|
id serial not null,
|
||
|
file_name varchar(255) not null,
|
||
|
tags varchar(255),
|
||
|
create_at timestamp with time zone not null,
|
||
|
path varchar(255) not null
|
||
|
);
|
||
|
|
||
|
comment on table t_data_security_specification is '数据安全规范';
|
||
|
|
||
|
comment on column t_data_security_specification.id is 'ID唯一标识';
|
||
|
|
||
|
comment on column t_data_security_specification.file_name is '文件名';
|
||
|
|
||
|
comment on column t_data_security_specification.tags is '标签';
|
||
|
|
||
|
comment on column t_data_security_specification.create_at is '文件创建时间';
|
||
|
|
||
|
comment on column t_data_security_specification.path is '文件路径';
|
||
|
|
||
|
create unique index t_data_security_specification_id_uindex
|
||
|
on t_data_security_specification (id);
|
||
|
|
||
|
alter table t_data_security_specification
|
||
|
add constraint t_data_security_specification_pk
|
||
|
primary key (id);
|
||
|
|