`
alan3258
  • 浏览: 70397 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Activiti添加数据库表注释(oracle)

 
阅读更多

Activiti添加数据库表注释(oracle)

-- Add comments to the table 
comment on table ACT_GE_BYTEARRAY
  is '二进制数据表';
-- Add comments to the columns 
comment on column ACT_GE_BYTEARRAY.id_
  is '主键ID';
comment on column ACT_GE_BYTEARRAY.rev_
  is 'Version(版本)';
comment on column ACT_GE_BYTEARRAY.name_
  is '部署的文件名称,如:mail.bpmn、mail.png 、mail.bpmn20.xml';
comment on column ACT_GE_BYTEARRAY.deployment_id_
  is '部署表ID';
comment on column ACT_GE_BYTEARRAY.bytes_
  is '部署文件';
comment on column ACT_GE_BYTEARRAY.generated_
  is '0为用户生成 1为Activiti生成';

-- Add comments to the table 
comment on table ACT_GE_PROPERTY
  is '属性数据表';
-- Add comments to the columns 
comment on column ACT_GE_PROPERTY.name_
  is 'schema.version

schema.history

next.dbid';
comment on column ACT_GE_PROPERTY.value_
  is '5.*

create(5.*)';
comment on column ACT_GE_PROPERTY.rev_
  is 'version';
  
-- Add comments to the table 
comment on table ACT_HI_ACTINST
  is '历史节点表';
-- Add comments to the columns 
comment on column ACT_HI_ACTINST.proc_def_id_
  is '流程定义ID';
comment on column ACT_HI_ACTINST.proc_inst_id_
  is '流程实例ID';
comment on column ACT_HI_ACTINST.execution_id_
  is '执行实例ID';
comment on column ACT_HI_ACTINST.act_id_
  is '节点ID';
comment on column ACT_HI_ACTINST.task_id_
  is '任务实例ID';
comment on column ACT_HI_ACTINST.call_proc_inst_id_
  is '调用外部的流程实例ID';
comment on column ACT_HI_ACTINST.act_name_
  is '节点名称';
comment on column ACT_HI_ACTINST.act_type_
  is '节点类型';
comment on column ACT_HI_ACTINST.assignee_
  is '签收人';
comment on column ACT_HI_ACTINST.start_time_
  is '开始时间';
comment on column ACT_HI_ACTINST.end_time_
  is '结束时间';
comment on column ACT_HI_ACTINST.duration_
  is '耗时';

  
  -- Add comments to the table 
comment on table ACT_HI_ATTACHMENT
  is '历史附件表';
-- Add comments to the columns 
comment on column ACT_HI_ATTACHMENT.user_id_
  is '用户ID';
comment on column ACT_HI_ATTACHMENT.name_
  is '名称';
comment on column ACT_HI_ATTACHMENT.description_
  is '描述';
comment on column ACT_HI_ATTACHMENT.type_
  is '类型';
comment on column ACT_HI_ATTACHMENT.task_id_
  is '任务实例ID';
comment on column ACT_HI_ATTACHMENT.proc_inst_id_
  is '流程实例ID';
comment on column ACT_HI_ATTACHMENT.content_id_
  is '字节表的ID';

-- Add comments to the table 
comment on table ACT_HI_COMMENT
  is '历史意见表';
-- Add comments to the columns 
comment on column ACT_HI_COMMENT.type_
  is '类型';
comment on column ACT_HI_COMMENT.time_
  is '填写时间';
comment on column ACT_HI_COMMENT.user_id_
  is '填写人';
comment on column ACT_HI_COMMENT.task_id_
  is '节点实例ID';
comment on column ACT_HI_COMMENT.proc_inst_id_
  is '流程实例ID';
comment on column ACT_HI_COMMENT.action_
  is '行为类型';
comment on column ACT_HI_COMMENT.message_
  is '用于存放流程产生的信息,比如审批意见';
comment on column ACT_HI_COMMENT.full_msg_
  is '全部内容';
  -- Add comments to the table 
comment on table ACT_HI_DETAIL
  is '历史详情表';
-- Add comments to the columns 
comment on column ACT_HI_DETAIL.type_
  is '类型';
comment on column ACT_HI_DETAIL.proc_inst_id_
  is '流程实例ID';
comment on column ACT_HI_DETAIL.execution_id_
  is '执行实例ID';
comment on column ACT_HI_DETAIL.task_id_
  is '任务实例ID';
comment on column ACT_HI_DETAIL.act_inst_id_
  is '节点实例ID';
comment on column ACT_HI_DETAIL.name_
  is '节点名称';
comment on column ACT_HI_DETAIL.var_type_
  is '参数类型';
comment on column ACT_HI_DETAIL.rev_
  is '乐观锁';
comment on column ACT_HI_DETAIL.time_
  is '时间戳';
comment on column ACT_HI_DETAIL.bytearray_id_
  is '字节表ID ACT_GE_BYTEARRAY表的ID';
comment on column ACT_HI_DETAIL.double_
  is '存储变量类型为Double';
comment on column ACT_HI_DETAIL.long_
  is '存储变量类型为long';
comment on column ACT_HI_DETAIL.text_
  is '存储变量值类型为String';
comment on column ACT_HI_DETAIL.text2_
  is '此处存储的是JPA持久化对象时,才会有值。此值为对象ID';

-- Add comments to the table 
comment on table ACT_HI_IDENTITYLINK
  is '历史流程人员表';
-- Add comments to the columns 
comment on column ACT_HI_IDENTITYLINK.group_id_
  is '组ID';
comment on column ACT_HI_IDENTITYLINK.type_
  is '类型';
comment on column ACT_HI_IDENTITYLINK.user_id_
  is '用户ID';
comment on column ACT_HI_IDENTITYLINK.task_id_
  is '节点实例ID';
comment on column ACT_HI_IDENTITYLINK.proc_inst_id_
  is '流程实例ID';
-- Add comments to the table 
comment on table ACT_HI_PROCINST
  is '历史流程实例表';
-- Add comments to the columns 
comment on column ACT_HI_PROCINST.proc_inst_id_
  is '流程实例ID';
comment on column ACT_HI_PROCINST.business_key_
  is '业务主键';
comment on column ACT_HI_PROCINST.proc_def_id_
  is '流程定义ID';
comment on column ACT_HI_PROCINST.start_time_
  is '开始时间';
comment on column ACT_HI_PROCINST.end_time_
  is '结束时间';
comment on column ACT_HI_PROCINST.duration_
  is '耗时';
comment on column ACT_HI_PROCINST.start_user_id_
  is '起草人';
comment on column ACT_HI_PROCINST.start_act_id_
  is '开始节点ID';
comment on column ACT_HI_PROCINST.end_act_id_
  is '结束节点ID';
comment on column ACT_HI_PROCINST.super_process_instance_id_
  is '父流程实例ID';
comment on column ACT_HI_PROCINST.delete_reason_
  is '删除原因';

  -- Add comments to the table 
comment on table ACT_HI_TASKINST
  is '历史任务实例表';
-- Add comments to the columns 
comment on column ACT_HI_TASKINST.proc_def_id_
  is '流程定义ID';
comment on column ACT_HI_TASKINST.task_def_key_
  is '节点定义ID';
comment on column ACT_HI_TASKINST.proc_inst_id_
  is '流程实例ID';
comment on column ACT_HI_TASKINST.execution_id_
  is '执行实例ID';
comment on column ACT_HI_TASKINST.parent_task_id_
  is '节点名称';
comment on column ACT_HI_TASKINST.name_
  is '父节点实例ID';
comment on column ACT_HI_TASKINST.description_
  is '描述';
comment on column ACT_HI_TASKINST.owner_
  is '实际签收人 任务的拥有者';
comment on column ACT_HI_TASKINST.assignee_
  is '签收人或被委托';
comment on column ACT_HI_TASKINST.start_time_
  is '开始时间';
comment on column ACT_HI_TASKINST.claim_time_
  is '提醒时间';
comment on column ACT_HI_TASKINST.end_time_
  is '结束时间';
comment on column ACT_HI_TASKINST.duration_
  is '耗时';
comment on column ACT_HI_TASKINST.delete_reason_
  is '删除原因';
comment on column ACT_HI_TASKINST.priority_
  is '优先级别';
comment on column ACT_HI_TASKINST.due_date_
  is '过期时间';
comment on column ACT_HI_TASKINST.form_key_
  is '节点定义的

formkey';

-- Add comments to the table 
comment on table ACT_HI_VARINST
  is '历史变量表';
-- Add comments to the columns 
comment on column ACT_HI_VARINST.proc_inst_id_
  is '流程实例ID';
comment on column ACT_HI_VARINST.execution_id_
  is '执行实例ID';
comment on column ACT_HI_VARINST.task_id_
  is '任务实例ID';
comment on column ACT_HI_VARINST.name_
  is '节点名称';
comment on column ACT_HI_VARINST.var_type_
  is '参数类型';
comment on column ACT_HI_VARINST.rev_
  is '乐观锁';
comment on column ACT_HI_VARINST.bytearray_id_
  is '字节表ID ACT_GE_BYTEARRAY表的主键';
comment on column ACT_HI_VARINST.double_
  is '存储DoubleType类型的数据';
comment on column ACT_HI_VARINST.long_
  is '存储LongType类型的数据';
comment on column ACT_HI_VARINST.text2_
  is '此处存储的是JPA持久化对象时,才会有值。此值为对象ID';

  -- Add comments to the table 
comment on table ACT_ID_GROUP
  is '用户组信息表';
-- Add comments to the columns 
comment on column ACT_ID_GROUP.rev_
  is '乐观锁';
comment on column ACT_ID_GROUP.name_
  is '节点名称';
comment on column ACT_ID_GROUP.type_
  is '节点类型';

  
  -- Add comments to the table 
comment on table ACT_ID_INFO
  is '用户扩展信息表';
-- Add comments to the columns 
comment on column ACT_ID_INFO.rev_
  is '乐观锁';
comment on column ACT_ID_INFO.user_id_
  is '用户ID';
comment on column ACT_ID_INFO.type_
  is '节点类型';

  
  -- Add comments to the table 
comment on table ACT_ID_MEMBERSHIP
  is '用户与分组对应信息表';
-- Add comments to the columns 
comment on column ACT_ID_MEMBERSHIP.user_id_
  is '用户ID';
comment on column ACT_ID_MEMBERSHIP.group_id_
  is '用户组ID';

  
  -- Add comments to the table 
comment on table ACT_ID_USER
  is '用户信息表';
-- Add comments to the columns 
comment on column ACT_ID_USER.rev_
  is '乐观锁';
comment on column ACT_ID_USER.first_
  is '姓';
comment on column ACT_ID_USER.last_
  is '名';
comment on column ACT_ID_USER.email_
  is 'EMAIL_';
comment on column ACT_ID_USER.pwd_
  is '密码';
comment on column ACT_ID_USER.picture_id_
  is '图片ID';

  
  -- Add comments to the table 
comment on table ACT_RE_DEPLOYMENT
  is '部署信息表';
-- Add comments to the columns 
comment on column ACT_RE_DEPLOYMENT.name_
  is '部署名称';
comment on column ACT_RE_DEPLOYMENT.category_
  is '分类';
comment on column ACT_RE_DEPLOYMENT.deploy_time_
  is '部署时间';

  
  -- Add comments to the table 
comment on table ACT_RE_MODEL
  is '流程设计模型部署表';
-- Add comments to the columns 
comment on column ACT_RE_MODEL.rev_
  is '乐观锁';
comment on column ACT_RE_MODEL.name_
  is '名称';
comment on column ACT_RE_MODEL.key_
  is 'KEY_';
comment on column ACT_RE_MODEL.category_
  is '分类';
comment on column ACT_RE_MODEL.create_time_
  is '创建时间';
comment on column ACT_RE_MODEL.last_update_time_
  is '最新修改时间';
comment on column ACT_RE_MODEL.version_
  is '版本';
comment on column ACT_RE_MODEL.meta_info_
  is '以json格式保存流程定义的信息';
comment on column ACT_RE_MODEL.deployment_id_
  is '部署ID';

  
  -- Add comments to the table 
comment on table ACT_RE_PROCDEF
  is '流程定义数据表';
-- Add comments to the columns 
comment on column ACT_RE_PROCDEF.rev_
  is '乐观锁';
comment on column ACT_RE_PROCDEF.category_
  is '分类';
comment on column ACT_RE_PROCDEF.name_
  is '名称';
comment on column ACT_RE_PROCDEF.key_
  is '定义的KEY';
comment on column ACT_RE_PROCDEF.version_
  is '版本';
comment on column ACT_RE_PROCDEF.deployment_id_
  is '部署表ID';
comment on column ACT_RE_PROCDEF.resource_name_
  is 'bpmn文件名称';
comment on column ACT_RE_PROCDEF.dgrm_resource_name_
  is 'png图片名称';
comment on column ACT_RE_PROCDEF.description_
  is '描述';
comment on column ACT_RE_PROCDEF.has_start_form_key_
  is '是否存在开始节点formKey';
comment on column ACT_RE_PROCDEF.suspension_state_
  is '是否挂起 1 激活 2挂起';

  
  -- Add comments to the columns 
comment on column ACT_RU_EVENT_SUBSCR.rev_
  is '版本';
comment on column ACT_RU_EVENT_SUBSCR.event_type_
  is '事件类型';
comment on column ACT_RU_EVENT_SUBSCR.event_name_
  is '事件名称';
comment on column ACT_RU_EVENT_SUBSCR.execution_id_
  is '执行实例ID';
comment on column ACT_RU_EVENT_SUBSCR.proc_inst_id_
  is '流程实例ID';
comment on column ACT_RU_EVENT_SUBSCR.activity_id_
  is '活动实例ID';
comment on column ACT_RU_EVENT_SUBSCR.configuration_
  is '配置';
comment on column ACT_RU_EVENT_SUBSCR.created_
  is '是否创建';
comment on column ACT_RU_EVENT_SUBSCR.proc_def_id_
  is '流程定义ID';

  
  -- Add comments to the table 
comment on table ACT_RU_EXECUTION
  is '运行时流程执行实例表';
-- Add comments to the columns 
comment on column ACT_RU_EXECUTION.rev_
  is '乐观锁';
comment on column ACT_RU_EXECUTION.proc_inst_id_
  is '流程实例ID';
comment on column ACT_RU_EXECUTION.business_key_
  is '业务主键ID';
comment on column ACT_RU_EXECUTION.parent_id_
  is '父节点实例ID';
comment on column ACT_RU_EXECUTION.proc_def_id_
  is '流程定义ID';
comment on column ACT_RU_EXECUTION.super_exec_
  is 'SUPER_EXEC_';
comment on column ACT_RU_EXECUTION.act_id_
  is '节点实例ID';
comment on column ACT_RU_EXECUTION.is_active_
  is '是否激活';
comment on column ACT_RU_EXECUTION.is_concurrent_
  is '是否并行';
comment on column ACT_RU_EXECUTION.suspension_state_
  is '是否挂起';

  -- Add comments to the table 
comment on table ACT_RU_IDENTITYLINK
  is '运行时流程人员表';
-- Add comments to the columns 
comment on column ACT_RU_IDENTITYLINK.rev_
  is '乐观锁';
comment on column ACT_RU_IDENTITYLINK.group_id_
  is '组ID';
comment on column ACT_RU_IDENTITYLINK.type_
  is '类型';
comment on column ACT_RU_IDENTITYLINK.user_id_
  is '用户ID';
comment on column ACT_RU_IDENTITYLINK.task_id_
  is '节点实例ID';
comment on column ACT_RU_IDENTITYLINK.proc_inst_id_
  is '流程实例ID';
comment on column ACT_RU_IDENTITYLINK.proc_def_id_
  is '流程定义ID';

  -- Add comments to the table 
comment on table ACT_RU_JOB
  is '运行时定时任务数据表';
-- Add comments to the columns 
comment on column ACT_RU_JOB.rev_
  is '版本';
comment on column ACT_RU_JOB.type_
  is '类型';
comment on column ACT_RU_JOB.lock_exp_time_
  is '锁定释放时间';
comment on column ACT_RU_JOB.lock_owner_
  is '挂起者';
comment on column ACT_RU_JOB.execution_id_
  is '执行实例ID';
comment on column ACT_RU_JOB.process_instance_id_
  is '流程实例ID';
comment on column ACT_RU_JOB.proc_def_id_
  is '流程定义ID';
comment on column ACT_RU_JOB.exception_stack_id_
  is '异常信息ID';
comment on column ACT_RU_JOB.exception_msg_
  is '异常信息';
comment on column ACT_RU_JOB.duedate_
  is '到期时间';
comment on column ACT_RU_JOB.repeat_
  is '重复';
comment on column ACT_RU_JOB.handler_type_
  is '处理类型';
comment on column ACT_RU_JOB.handler_cfg_
  is '标识';

  
  -- Add comments to the table 
comment on table ACT_RU_TASK
  is '运行时任务节点表';
-- Add comments to the columns 
comment on column ACT_RU_TASK.rev_
  is '乐观锁';
comment on column ACT_RU_TASK.execution_id_
  is '执行实例ID';
comment on column ACT_RU_TASK.proc_inst_id_
  is '流程实例ID';
comment on column ACT_RU_TASK.proc_def_id_
  is '流程定义ID';
comment on column ACT_RU_TASK.name_
  is '节点定义名称';
comment on column ACT_RU_TASK.parent_task_id_
  is '父节点实例ID';
comment on column ACT_RU_TASK.description_
  is '节点定义描述';
comment on column ACT_RU_TASK.task_def_key_
  is '节点定义的KEY';
comment on column ACT_RU_TASK.owner_
  is '拥有者(一般情况下为空,只有在委托时才有值)';
comment on column ACT_RU_TASK.assignee_
  is '签收人或委托人';
comment on column ACT_RU_TASK.delegation_
  is '委托类型';
comment on column ACT_RU_TASK.priority_
  is '优先级别';
comment on column ACT_RU_TASK.create_time_
  is '创建时间';
comment on column ACT_RU_TASK.due_date_
  is '过期时间';
comment on column ACT_RU_TASK.suspension_state_
  is '是否挂起 1代表激活 2代表挂起';

  -- Add comments to the table 
comment on table ACT_RU_VARIABLE
  is '运行时流程变量数据表';
-- Add comments to the columns 
comment on column ACT_RU_VARIABLE.rev_
  is '乐观锁';
comment on column ACT_RU_VARIABLE.type_
  is '类型';
comment on column ACT_RU_VARIABLE.name_
  is '名称';
comment on column ACT_RU_VARIABLE.execution_id_
  is '执行实例ID';
comment on column ACT_RU_VARIABLE.proc_inst_id_
  is '流程实例ID';
comment on column ACT_RU_VARIABLE.task_id_
  is '节点实例ID';
comment on column ACT_RU_VARIABLE.bytearray_id_
  is '字节表ID';

 

分享到:
评论

相关推荐

    Activiti 5.22.0数据库表结构(21张表全部表和字段中文注释和取值说明)

    Activiti 5.22.0数据库表结构添加中文注释MySQL脚本,内含3个脚本,分别是: 1、21张表全部表和字段中文注释和取值说明建表脚本(单SQL文件) 2、21张表全部表和字段中文注释和取值说明添加注释脚本(单SQL文件) 3...

    Activiti6.0 数据库表说明文档1

    Activiti6.0 数据库表说明文档1 Activiti6.0 是一个基于 Java 的开源工作流引擎,旨在提供一个灵活、可扩展、可靠的工作流管理系统。Activiti6.0 的数据库表结构是其核心组件之一,用于存储和管理工作流相关的数据...

    activiti5.8数据库表结构图

    activiti5.8数据库表结构图activiti5.8数据库表结构图

    activiti5数据库表结构

    activiti5数据库表结构,activiti5数据库表结构activiti5数据库表结构

    activiti适配达梦数据库教程

    然而,activiti 默认支持的数据库只有 MySQL、 PostgreSQL、Oracle 等少数几种,而达梦数据库作为一个国产数据库产品,需要通过二次开发来实现对达梦数据库的适配。 activiti 的数据库适配机制 activiti 的数据库...

    Activiti数据库表结构介绍

    Activiti数据库表结构介绍 Activiti是一个流程引擎,用于管理和执行业务流程。为了存储和管理流程相关数据,Activiti使用了多个数据库表来实现。这篇文章将简要概括Activiti数据库表结构,对于初入Activiti的同学来...

    Activiti创建数据库表demo

    这个"Activiti创建数据库表demo"是一个示例,旨在教你如何使用Activiti来创建和管理数据库表。在深入讲解之前,我们先了解一下Activiti的基本概念。 1. **Activiti概述**: Activiti是一个轻量级、基于Java的企业...

    activiti6-增加表注释字段注释

    整理了activiti6的表注释字段注释。

    Activiti工作流数据库表结构.docx

    Activiti工作流数据库表结构详解 Activiti是一款基于Java的开源工作流引擎,可以实现业务流程自动化和工作流管理。为了更好地理解Activiti的工作机制,我们需要了解Activiti工作流数据库表结构。 Activiti工作流...

    Activiti-5.21数据库表结构详解(共25张表)

    Activiti-5.21数据库表结构详解(共25张表) 工作流的应用越来越广泛,而activiti是公认的现阶段最好的工作流框架之一,详细了解activiti的库表结构有助于您更好的掌握学习工作流框架,共享本资源以供广大编程从业人员...

    Activiti工作流数据库表结构说明

    ### Activiti工作流数据库表结构说明 #### 一、数据库表名说明 Activiti工作流引擎作为一款开源的业务流程管理(Business Process Management, BPM)框架,为开发人员提供了强大的流程设计、部署、运行和监控等功能...

    Activiti数据库表结构(整理后).docx

    "Activiti数据库表结构详解" Activiti是一种基于Java的开源工作流引擎,它提供了强大的工作流管理功能。Activiti的数据库表结构是理解Activiti工作流引擎的核心组件之一。本文将详细介绍Activiti数据库表结构的组成...

    activiti 5.22.0 23张表注释脚本.sql

    activiti 5.22.0 版本 23张表 增加注释脚本 部分字段是空

    Activiti创建数据库表

    在使用Activiti时,为了支持流程的运行,我们需要在数据库中创建一系列的表来存储流程实例、任务、变量等信息。这篇内容将详细介绍如何通过Activiti流程引擎以及XML文件来创建数据库表。 首先,理解Activiti的核心...

    Activiti工作流数据库表结构

    在使用Activiti时,了解其数据库表结构至关重要,因为这些表存储了流程定义、运行时数据以及历史信息。以下是主要的Activiti数据库表及其功能的详细说明: 1. **ACT_GE_BYTEARRAY**:这个表存储流程定义和流程资源...

    Activiti7创建数据库表

    Activiti7数据库表的建立,其中包含了17张以上的数据表,这些数据表原本是可以通过Activiti7自行创建,但是Activiti7还不持直接通过MySQL8.0的数据库来创建表,所以通过这个文件手动创建

    Activiti工作流数据库表结构.pdf

    文档《Activiti工作流数据库表结构.pdf》详细描述了Activiti工作流引擎在数据库中使用的一系列表以及这些表的作用和结构。 下面详细说明在Activiti引擎中常见的数据库表及其功能: 1. ACT_GE_* 表:这类表用于存储...

    activiti的数据库模型

    activiti的数据库模型 activiti的数据库模型activiti的数据库模型

    activiti 5.4 demo基于oracle数据库安装配置

    ### Activiti 5.4 Demo基于Oracle数据库安装配置详解 #### 一、环境准备与配置 根据提供的部分内容,我们可以了解到作者在安装配置Activiti 5.4的过程中所使用的软件及环境,具体步骤如下: 1. **下载所需软件:*...

Global site tag (gtag.js) - Google Analytics