Skip to content

Commit

Permalink
fix: long version of go dependency unable to inserted into software t…
Browse files Browse the repository at this point in the history
…able (CVE-2020-36569)
  • Loading branch information
VSrinivasaRaghavan authored and RajNirmal committed Jan 6, 2023
1 parent 21b08b3 commit e5a2f29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/main/resources/data/upgrade_5.3.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ALTER TABLE software ALTER COLUMN versionEndExcluding SET DATA TYPE VARCHAR(75);
ALTER TABLE software ALTER COLUMN versionEndIncluding SET DATA TYPE VARCHAR(75);
ALTER TABLE software ALTER COLUMN versionStartExcluding SET DATA TYPE VARCHAR(75);
ALTER TABLE software ALTER COLUMN versionStartIncluding SET DATA TYPE VARCHAR(75);

UPDATE Properties SET `value`='5.3' WHERE ID='version';

0 comments on commit e5a2f29

Please sign in to comment.