org.flowable.entitylink.service.db.create.flowable.gbase8s.create.entitylink.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of db-migration-flowable
Show all versions of db-migration-flowable
db-migration 使用 Liquibase 支持 Flowable 工作流。
create table ACT_RU_ENTITYLINK (
ID_ NVARCHAR2(64),
REV_ INTEGER,
CREATE_TIME_ TIMESTAMP(6),
LINK_TYPE_ NVARCHAR2(255),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
PARENT_ELEMENT_ID_ NVARCHAR2(255),
REF_SCOPE_ID_ NVARCHAR2(255),
REF_SCOPE_TYPE_ NVARCHAR2(255),
REF_SCOPE_DEFINITION_ID_ NVARCHAR2(255),
ROOT_SCOPE_ID_ NVARCHAR2(255),
ROOT_SCOPE_TYPE_ NVARCHAR2(255),
HIERARCHY_TYPE_ NVARCHAR2(255),
primary key (ID_)
);
create index ACT_IDX_ENT_LNK_SCOPE on ACT_RU_ENTITYLINK(SCOPE_ID_, SCOPE_TYPE_, LINK_TYPE_);
create index ACT_IDX_ENT_LNK_REF_SCOPE on ACT_RU_ENTITYLINK(REF_SCOPE_ID_, REF_SCOPE_TYPE_, LINK_TYPE_);
create index ACT_IDX_ENT_LNK_ROOT_SCOPE on ACT_RU_ENTITYLINK(ROOT_SCOPE_ID_, ROOT_SCOPE_TYPE_, LINK_TYPE_);
create index ACT_IDX_ENT_LNK_SCOPE_DEF on ACT_RU_ENTITYLINK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_, LINK_TYPE_);
insert into ACT_GE_PROPERTY values ('entitylink.schema.version', '7.0.1.1', 1);