mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-18 19:06:28 +00:00
Merge branch 'rel_6_4' of https://github.com/hapifhir/hapi-fhir into rel_6_4
This commit is contained in:
commit
6fa127073b
@ -0,0 +1,4 @@
|
||||
---
|
||||
type: fix
|
||||
issue: 4630
|
||||
title: "Default values are provided for the new UPDATE_TIME columns so batch jobs started before an upgrade can complete."
|
@ -175,6 +175,14 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks<VersionEnum> {
|
||||
.nullable()
|
||||
.type(ColumnTypeEnum.DATE_TIMESTAMP);
|
||||
|
||||
version.executeRawSql("20230397.1",
|
||||
"update BT2_JOB_INSTANCE " +
|
||||
"set UPDATE_TIME = coalesce(end_time, start_time, create_time, TIMESTAMP '2023-01-01 00:00:00') " +
|
||||
"where UPDATE_TIME is null;");
|
||||
version.executeRawSql("20230397.2",
|
||||
"update bt2_work_chunk " +
|
||||
"set UPDATE_TIME = coalesce(end_time, start_time, create_time, TIMESTAMP '2023-01-01 00:00:00') " +
|
||||
"where UPDATE_TIME is null;");
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user