repo_folder

不羁岁月 提交于 2020-03-04 20:31:12
-- Create table
create table REPO_FOLDER
(
  UUID        VARCHAR2(50) not null,
  VALID       VARCHAR2(2) not null,
  CREATE_TIME TIMESTAMP(6) not null,
  CREATOR     VARCHAR2(50) not null,
  REMARK      VARCHAR2(500),
  MODIFY_TIME TIMESTAMP(6) not null,
  MODIFIER    VARCHAR2(50) not null
)
 ;
-- Add comments to the columns 
comment on column REPO_FOLDER.UUID
  is '文件夹ID';
comment on column REPO_FOLDER.VALID
  is 'YES:有效,NO:无效;参照枚举类EnumYesNo';
comment on column REPO_FOLDER.CREATE_TIME
  is '创建时间';
comment on column REPO_FOLDER.CREATOR
  is '创建者';
comment on column REPO_FOLDER.REMARK
  is '备注';
comment on column REPO_FOLDER.MODIFY_TIME
  is '最后修改时间';
comment on column REPO_FOLDER.MODIFIER
  is '修改人';
-- Create/Recreate primary, unique and foreign key constraints 
alter table REPO_FOLDER
  add constraint REPO_FOLDER_ID_KEY primary key (UUID)
   ;

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!