reverted changes as a schema upgrade is not needed at this time

Former-commit-id: 22671cb1c7e2e6db26f704f12b5fb86100586221
This commit is contained in:
Jeremy Long
2015-07-09 06:18:30 -04:00
parent 58888ac389
commit bf3fe6404a
2 changed files with 6 additions and 5 deletions

View File

@@ -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';
--UPDATE Properties SET value='3.0' WHERE ID='version';

View File

@@ -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