Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
开发团队
Flowable Engine
提交
bb023556
F
Flowable Engine
项目概览
开发团队
/
Flowable Engine
通知
9
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Flowable Engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb023556
编写于
1月 29, 2013
作者:
T
tijsrademakers
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updates to upgrade
上级
6a2d11d1
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
31 addition
and
5 deletion
+31
-5
modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java
...c/main/java/org/activiti/engine/impl/db/DbSqlSession.java
+1
-0
modules/activiti-engine/src/main/resources/org/activiti/db/liquibase/activiti-5.10.xml
...ain/resources/org/activiti/db/liquibase/activiti-5.10.xml
+3
-0
modules/activiti-engine/src/main/resources/org/activiti/db/liquibase/activiti-5.11.xml
...ain/resources/org/activiti/db/liquibase/activiti-5.11.xml
+6
-1
modules/activiti-engine/src/main/resources/org/activiti/db/liquibase/activiti-5.7.xml
...main/resources/org/activiti/db/liquibase/activiti-5.7.xml
+6
-4
modules/activiti-engine/src/main/resources/org/activiti/db/liquibase/activiti-5.9.xml
...main/resources/org/activiti/db/liquibase/activiti-5.9.xml
+15
-0
未找到文件。
modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java
浏览文件 @
bb023556
...
...
@@ -806,6 +806,7 @@ public class DbSqlSession implements Session {
Database
database
=
DatabaseFactory
.
getInstance
().
findCorrectDatabaseImplementation
(
connection
);
database
.
setDefaultSchemaName
(
this
.
connectionMetadataDefaultSchema
);
Liquibase
liquibase
=
new
Liquibase
(
"org/activiti/db/liquibase/activiti-upgrade-"
+
dbVersion
+
".xml"
,
new
ClassLoaderResourceAccessor
(),
database
);
liquibase
.
getDatabase
().
setDatabaseChangeLogLockTableName
(
"ACT_"
+
liquibase
.
getDatabase
().
getDatabaseChangeLogLockTableName
());
liquibase
.
update
(
"production"
);
}
catch
(
Exception
e
)
{
throw
new
ActivitiException
(
"Error creating Activiti tables"
,
e
);
...
...
modules/activiti-engine/src/main/resources/org/activiti/db/liquibase/activiti-5.10.xml
浏览文件 @
bb023556
...
...
@@ -12,6 +12,9 @@
<addColumn
tableName=
"ACT_RU_EXECUTION"
>
<column
name=
"CACHED_ENT_STATE_"
type=
"INTEGER"
/>
</addColumn>
<update
tableName=
"ACT_RU_EXECUTION"
>
<column
name=
"CACHED_ENT_STATE_"
value=
"7"
/>
</update>
</changeSet>
<changeSet
id=
"3 ACT_RU_IDENTITYLINK.PROC_DEF_ID"
author=
"ditte"
>
...
...
modules/activiti-engine/src/main/resources/org/activiti/db/liquibase/activiti-5.11.xml
浏览文件 @
bb023556
...
...
@@ -68,6 +68,9 @@
<addColumn
tableName=
"ACT_RU_TASK"
>
<column
name=
"SUSPENSION_STATE_"
type=
"INTEGER"
/>
</addColumn>
<update
tableName=
"ACT_RU_TASK"
>
<column
name=
"SUSPENSION_STATE_"
value=
"1"
/>
</update>
<modifyDataType
tableName=
"ACT_RU_TASK"
columnName=
"OWNER_"
newDataType=
"NVARCHAR(255)"
/>
<modifyDataType
tableName=
"ACT_RU_TASK"
columnName=
"ASSIGNEE_"
newDataType=
"NVARCHAR(255)"
/>
</changeSet>
...
...
@@ -113,7 +116,9 @@
<column
name=
"PROC_INST_ID_"
type=
"NVARCHAR(64)"
/>
<column
name=
"EXECUTION_ID_"
type=
"NVARCHAR(64)"
/>
<column
name=
"TASK_ID_"
type=
"NVARCHAR(64)"
/>
<column
name=
"NAME_"
type=
"NVARCHAR(255)"
/>
<column
name=
"NAME_"
type=
"NVARCHAR(255)"
>
<constraints
primaryKey=
"true"
nullable=
"false"
/>
</column>
<column
name=
"VAR_TYPE_"
type=
"NVARCHAR(100)"
/>
<column
name=
"REV_"
type=
"INTEGER"
/>
<column
name=
"BYTEARRAY_ID_"
type=
"NVARCHAR(64)"
/>
...
...
modules/activiti-engine/src/main/resources/org/activiti/db/liquibase/activiti-5.7.xml
浏览文件 @
bb023556
...
...
@@ -264,7 +264,7 @@
<column
name=
"DOUBLE_"
type=
"DOUBLE"
/>
<column
name=
"LONG_"
type=
"BIGINT"
/>
<column
name=
"TEXT_"
type=
"NVARCHAR(4000)"
/>
<column
name=
"TEXT2_"
type=
"NVARCHAR(4000)"
/>
<column
name=
"TEXT2_"
type=
"NVARCHAR(4000)"
/>
</createTable>
</changeSet>
...
...
@@ -402,8 +402,8 @@
<column
name=
"BYTEARRAY_ID_"
type=
"NVARCHAR(64)"
/>
<column
name=
"DOUBLE_"
type=
"DOUBLE"
/>
<column
name=
"LONG_"
type=
"BIGINT"
/>
<column
name=
"TEXT_"
type=
"NVARCHAR(
255
)"
/>
<column
name=
"TEXT2_"
type=
"NVARCHAR(
255
)"
/>
<column
name=
"TEXT_"
type=
"NVARCHAR(
4000
)"
/>
<column
name=
"TEXT2_"
type=
"NVARCHAR(
4000
)"
/>
</createTable>
</changeSet>
...
...
@@ -437,7 +437,9 @@
<column
name=
"ID_"
type=
"NVARCHAR(64)"
>
<constraints
primaryKey=
"true"
nullable=
"false"
/>
</column>
<column
name=
"TIME_"
type=
"TIMESTAMP"
/>
<column
name=
"TIME_"
type=
"TIMESTAMP"
>
<constraints
nullable=
"false"
/>
</column>
<column
name=
"USER_ID_"
type=
"NVARCHAR(255)"
/>
<column
name=
"TASK_ID_"
type=
"NVARCHAR(64)"
/>
<column
name=
"PROC_INST_ID_"
type=
"NVARCHAR(64)"
/>
...
...
modules/activiti-engine/src/main/resources/org/activiti/db/liquibase/activiti-5.9.xml
浏览文件 @
bb023556
...
...
@@ -12,6 +12,9 @@
<addColumn
tableName=
"ACT_GE_BYTEARRAY"
>
<column
name=
"GENERATED_"
type=
"BOOLEAN"
/>
</addColumn>
<update
tableName=
"ACT_GE_BYTEARRAY"
>
<column
name=
"GENERATED_"
value=
"0"
/>
</update>
</changeSet>
<changeSet
id=
"11 ACT_RU_EXECUTION.IS_EVENT_SCOPE_"
author=
"bzeuner"
>
...
...
@@ -21,6 +24,12 @@
<addColumn
tableName=
"ACT_RU_EXECUTION"
>
<column
name=
"SUSPENSION_STATE_"
type=
"INTEGER"
/>
</addColumn>
<update
tableName=
"ACT_RU_EXECUTION"
>
<column
name=
"IS_EVENT_SCOPE_"
value=
"0"
/>
</update>
<update
tableName=
"ACT_RU_EXECUTION"
>
<column
name=
"SUSPENSION_STATE_"
value=
"1"
/>
</update>
</changeSet>
<changeSet
id=
"12 ACT_RE_PROCDEF.REV_"
author=
"bzeuner"
>
...
...
@@ -30,6 +39,12 @@
<addColumn
tableName=
"ACT_RE_PROCDEF"
>
<column
name=
"SUSPENSION_STATE_"
type=
"INTEGER"
/>
</addColumn>
<update
tableName=
"ACT_RE_PROCDEF"
>
<column
name=
"REV_"
value=
"1"
/>
</update>
<update
tableName=
"ACT_RE_PROCDEF"
>
<column
name=
"SUSPENSION_STATE_"
value=
"1"
/>
</update>
</changeSet>
<changeSet
id=
"13 ACT_RU_EVENT_SUBSCR"
author=
"bzeuner"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录