-
Notifications
You must be signed in to change notification settings - Fork 69
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 #880 from Daimler/feature-877-bugfix-old-reports-n…
…ot-fetchable Feature 877 bugfix old reports not fetchable
- Loading branch information
Showing
3 changed files
with
7 additions
and
0 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
sechub-server/src/main/resources/db/migration/U14__sechub_report_type_bugfix2.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 @@ | ||
-- Undo / revert string enum to (wrong) integer representation | ||
UPDATE scan_report SET result_type ='1' WHERE result_type ='MODEL'; |
4 changes: 4 additions & 0 deletions
4
sechub-server/src/main/resources/db/migration/V14__sechub_report_type_bugfix.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 @@ | ||
-- 0.27.0-server and 0.27.1-sesrver did store result enum values accidently as integers instead | ||
-- using string representation - this was fixed already, but we must clean up wrong created entries | ||
-- here as well (new reports only, old ones where already migrated to 'RESULT' ) | ||
UPDATE scan_report SET result_type ='MODEL' WHERE result_type ='1'; |