-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2460 from sumesh-aot/db-migration
Adding documentation for DB migration
- Loading branch information
Showing
5 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Migration tasks for BPM | ||
This document lists down any manual execution needed as part of the migration between versions. | ||
|
||
### DB Migration | ||
Source : https://artifacts.camunda.com/ui/native/camunda-bpm/org/camunda/bpm/distro/camunda-sql-scripts/ | ||
|
||
#### v6.0.2 to 7.0.0 | ||
Execute the database scripts under scripts/7.0.0.sql | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-- | ||
-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH | ||
-- under one or more contributor license agreements. See the NOTICE file | ||
-- distributed with this work for additional information regarding copyright | ||
-- ownership. Camunda licenses this file to you under the Apache License, | ||
-- Version 2.0; you may not use this file except in compliance with the License. | ||
-- You may obtain a copy of the License at | ||
-- | ||
-- http://www.apache.org/licenses/LICENSE-2.0 | ||
-- | ||
-- Unless required by applicable law or agreed to in writing, software | ||
-- distributed under the License is distributed on an "AS IS" BASIS, | ||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
-- See the License for the specific language governing permissions and | ||
-- limitations under the License. | ||
-- | ||
|
||
insert into ACT_GE_SCHEMA_LOG | ||
values ('1000', CURRENT_TIMESTAMP, '7.21.0'); | ||
|
||
alter table ACT_RU_EXT_TASK | ||
add column CREATE_TIME_ timestamp; | ||
|
||
alter table ACT_RU_JOB | ||
add column ROOT_PROC_INST_ID_ varchar(64); | ||
|
||
create index ACT_IDX_JOB_ROOT_PROCINST on ACT_RU_JOB(ROOT_PROC_INST_ID_); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters