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.
25 lines
684 B
25 lines
684 B
create table t_standard_doc_folder
|
|
(
|
|
id serial not null,
|
|
name varchar(255) not null,
|
|
create_at timestamp with time zone not null,
|
|
parent integer
|
|
);
|
|
|
|
comment on table t_standard_doc_folder is '标准文档文件夹';
|
|
|
|
comment on column t_standard_doc_folder.id is 'ID唯一标识';
|
|
|
|
comment on column t_standard_doc_folder.name is '文件夹名称';
|
|
|
|
comment on column t_standard_doc_folder.create_at is '文件夹创建时间';
|
|
|
|
comment on column t_standard_doc_folder.parent is '父级文件夹';
|
|
|
|
create unique index t_standard_doc_folder_id_uindex
|
|
on t_standard_doc_folder (id);
|
|
|
|
alter table t_standard_doc_folder
|
|
add constraint t_standard_doc_folder_pk
|
|
primary key (id);
|
|
|
|
|