diff --git a/dependency-check-core/src/main/resources/data/upgrade_2.9.sql b/dependency-check-core/src/main/resources/data/upgrade_2.9.sql index 175da176a..6c2c3382d 100644 --- a/dependency-check-core/src/main/resources/data/upgrade_2.9.sql +++ b/dependency-check-core/src/main/resources/data/upgrade_2.9.sql @@ -1,6 +1,7 @@ -ALTER TABLE cpeEntry ADD COLUMN IF NOT EXISTS dictionaryEntry BOOLEAN; -ALTER TABLE cpeEntry ALTER COLUMN dictionaryEntry SET DEFAULT FALSE; -UPDATE cpeEntry SET dictionaryEntry=false; +--the following is not currently used. +--ALTER TABLE cpeEntry ADD COLUMN IF NOT EXISTS dictionaryEntry BOOLEAN; +--ALTER TABLE cpeEntry ALTER COLUMN dictionaryEntry SET DEFAULT FALSE; +--UPDATE cpeEntry SET dictionaryEntry=false; -UPDATE Properties SET value='3.0' WHERE ID='version'; \ No newline at end of file +--UPDATE Properties SET value='3.0' WHERE ID='version'; \ No newline at end of file diff --git a/dependency-check-core/src/main/resources/dependencycheck.properties b/dependency-check-core/src/main/resources/dependencycheck.properties index 1096e2d4d..89f4c5e83 100644 --- a/dependency-check-core/src/main/resources/dependencycheck.properties +++ b/dependency-check-core/src/main/resources/dependencycheck.properties @@ -18,7 +18,7 @@ engine.version.url=http://jeremylong.github.io/DependencyCheck/current.txt data.directory=[JAR]/data #if the filename has a %s it will be replaced with the current expected version data.file_name=dc.h2.db -data.version=3.0 +data.version=2.9 data.connection_string=jdbc:h2:file:%s;FILE_LOCK=SERIALIZED;AUTOCOMMIT=ON; #data.connection_string=jdbc:mysql://localhost:3306/dependencycheck