-
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.
Wrong type for the analysis_state_journal.error
- Loading branch information
ymolodkov
committed
Jan 10, 2025
1 parent
c91dca6
commit 98bd997
Showing
3 changed files
with
7 additions
and
1 deletion.
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/V20241210000005__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; |
4 changes: 4 additions & 0 deletions
4
datanode/src/main/resources/db/migration/V20241210000006__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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
UPDATE analysis_state_journal SET | ||
stage = analyses.stage, | ||
error = analyses.error | ||
FROM analyses WHERE analyses.current_state_id = analysis_state_journal.id; |