-
Notifications
You must be signed in to change notification settings - Fork 1
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 #121 from OHDSI/ARACHNE-119
Wrong type for the analysis_state_journal.error
- Loading branch information
Showing
3 changed files
with
4 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
2 changes: 2 additions & 0 deletions
2
datanode/src/main/resources/db/migration/V20241210000004__change_error_to_varchar.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,2 @@ | ||
ALTER TABLE analysis_state_journal | ||
ALTER COLUMN error TYPE VARCHAR; |
2 changes: 1 addition & 1 deletion
2
...0241210000004__update_stage_and_error.sql → ...0241210000005__update_stage_and_error.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,4 +1,4 @@ | ||
UPDATE analysis_state_journal SET | ||
stage = analyses.stage, | ||
error = analyses.error | ||
FROM analyses WHERE analyses.current_state_id = analyses.id; | ||
FROM analyses WHERE analyses.current_state_id = analysis_state_journal.id; |