forked from apache/incubator-kie-kogito-apps
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KOGITO-9825:Data index flyway postgresql migration scripts doesn't al…
…low multiple executions (apache#1884)
- Loading branch information
1 parent
46cef0a
commit 6e19808
Showing
5 changed files
with
84 additions
and
23 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
6 changes: 3 additions & 3 deletions
6
...ostgresql/src/main/resources/db/migration/V1.45.0.1__add_identity_to_process_instance.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ALTER TABLE processes | ||
ADD COLUMN created_by character varying, | ||
ADD COLUMN updated_by character varying; | ||
ALTER TABLE IF exists processes | ||
ADD COLUMN IF NOT EXISTS created_by character varying, | ||
ADD COLUMN IF NOT EXISTS updated_by character varying; |
2 changes: 2 additions & 0 deletions
2
...ta-index-storage/data-index-storage-postgresql/src/main/resources/db/migration/readme.txt
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,2 @@ | ||
Ensure migration scripts are developed to support several executions over the same database without any error. | ||
This feature will make sure this migration execution would be compatible with other needed flyway migrations without broking the chain. |