File tree 3 files changed +21
-17
lines changed
3 files changed +21
-17
lines changed Original file line number Diff line number Diff line change 6
6
<update tableName =" CI_CONFIG" >
7
7
<column name =" BUILD_TYPE" value =" script" />
8
8
</update >
9
- <addColumn tableName =" CI_RESULT" >
10
- <column name =" QUEUED_TIME" type =" datetime" nullable =" true" />
11
- <column name =" EXIT_CODE" type =" int" nullable =" true" />
12
- <column name =" BUILD_SCRIPT" type =" text" nullable =" false" defaultValue = " " />
13
- </addColumn >
14
- <sql >
15
- UPDATE CI_RESULT SET QUEUED_TIME = START_TIME
16
- </sql >
17
- <sql >
18
- UPDATE CI_RESULT SET EXIT_CODE = 0 WHERE STATUS = 'success'
19
- </sql >
20
- <sql >
21
- UPDATE CI_RESULT SET EXIT_CODE = -1 WHERE STATUS = 'failure'
22
- </sql >
23
- <addNotNullConstraint tableName =" CI_RESULT" columnName =" QUEUED_TIME" />
24
- <addNotNullConstraint tableName =" CI_RESULT" columnName =" EXIT_CODE" />
25
9
</changeSet >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <changeSet >
3
+ <addColumn tableName =" CI_RESULT" >
4
+ <column name =" QUEUED_TIME" type =" datetime" nullable =" true" />
5
+ <column name =" EXIT_CODE" type =" int" nullable =" true" />
6
+ <column name =" BUILD_SCRIPT" type =" text" nullable =" false" defaultValue = " " />
7
+ </addColumn >
8
+ <sql >
9
+ UPDATE CI_RESULT SET QUEUED_TIME = START_TIME
10
+ </sql >
11
+ <sql >
12
+ UPDATE CI_RESULT SET EXIT_CODE = 0 WHERE STATUS = 'success'
13
+ </sql >
14
+ <sql >
15
+ UPDATE CI_RESULT SET EXIT_CODE = -1 WHERE STATUS = 'failure'
16
+ </sql >
17
+ <addNotNullConstraint tableName =" CI_RESULT" columnName =" QUEUED_TIME" />
18
+ <addNotNullConstraint tableName =" CI_RESULT" columnName =" EXIT_CODE" />
19
+ </changeSet >
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ class Plugin extends gitbucket.core.plugin.Plugin with CIService with AccountSer
55
55
new LiquibaseMigration (" update/gitbucket-ci_1.4.0.xml" )),
56
56
new Version (" 1.5.0" ,
57
57
new LiquibaseMigration (" update/gitbucket-ci_1.5.0.xml" )),
58
- new Version (" 1.6.0" ),
58
+ new Version (" 1.6.0" ,
59
+ new LiquibaseMigration (" update/gitbucket-ci_1.6.0.xml" )),
59
60
new Version (" 1.6.1" )
60
61
)
61
62
You can’t perform that action at this time.
0 commit comments