diff --git a/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java b/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java index f18b62ba8df516190ef88d75c404cde1df8da99c..26b03017a74ca865f1721d68835caf3a29c5170e 100644 --- a/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java +++ b/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java @@ -1641,6 +1641,8 @@ private CaseDbSchemaVersionNumber updateFromSchema8dot1toSchema8dot2(CaseDbSchem // Add new hash columns statement.execute("ALTER TABLE tsk_image_info ADD COLUMN sha1 TEXT DEFAULT NULL"); statement.execute("ALTER TABLE tsk_image_info ADD COLUMN sha256 TEXT DEFAULT NULL"); + + statement.execute("ALTER TABLE data_source_info ADD COLUMN acquisition_details TEXT"); /* * Add new tsk_db_extended_info table with TSK version, creation diff --git a/tsk/auto/db_postgresql.cpp b/tsk/auto/db_postgresql.cpp index 0fb11fecb0878ce69c22982e4cf1c47ff8ed0334..ee8aa6962a1621804e35441bc70dd89498f05eea 100755 --- a/tsk/auto/db_postgresql.cpp +++ b/tsk/auto/db_postgresql.cpp @@ -540,7 +540,7 @@ int TskDbPostgreSQL::initialize() { "Error creating tsk_vs_info table: %s\n") || attempt_exec - ("CREATE TABLE data_source_info (obj_id INTEGER PRIMARY KEY, device_id TEXT NOT NULL, time_zone TEXT NOT NULL, FOREIGN KEY(obj_id) REFERENCES tsk_objects(obj_id));", + ("CREATE TABLE data_source_info (obj_id INTEGER PRIMARY KEY, device_id TEXT NOT NULL, time_zone TEXT NOT NULL, acquisition_details TEXT, FOREIGN KEY(obj_id) REFERENCES tsk_objects(obj_id));", "Error creating data_source_info table: %s\n") || attempt_exec diff --git a/tsk/auto/db_sqlite.cpp b/tsk/auto/db_sqlite.cpp index 183c1e506e673563f38e816836e0eb0137c90fc6..2e660729a57ae56d4f345a8e2abaa63e321fa8a0 100755 --- a/tsk/auto/db_sqlite.cpp +++ b/tsk/auto/db_sqlite.cpp @@ -301,7 +301,7 @@ int "Error creating tsk_fs_info table: %s\n") || attempt_exec - ("CREATE TABLE data_source_info (obj_id INTEGER PRIMARY KEY, device_id TEXT NOT NULL, time_zone TEXT NOT NULL, FOREIGN KEY(obj_id) REFERENCES tsk_objects(obj_id));", + ("CREATE TABLE data_source_info (obj_id INTEGER PRIMARY KEY, device_id TEXT NOT NULL, time_zone TEXT NOT NULL, acquisition_details TEXT, FOREIGN KEY(obj_id) REFERENCES tsk_objects(obj_id));", "Error creating data_source_info table: %s\n") || attempt_exec diff --git a/tsk/base/tsk_base.h b/tsk/base/tsk_base.h old mode 100644 new mode 100755 index 99c75730980acd6436943303720397baa0b42473..00dcf7a123edef7a16fae18452db84797060e250 --- a/tsk/base/tsk_base.h +++ b/tsk/base/tsk_base.h @@ -39,11 +39,11 @@ * 3.1.2b1 would be 0x03010201. Snapshot from Jan 2, 2003 would be * 0xFF030102. * See TSK_VERSION_STR for string form. */ -#define TSK_VERSION_NUM 0x040604ff +#define TSK_VERSION_NUM 0x040605ff /** Version of code in string form. See TSK_VERSION_NUM for * integer form. */ -#define TSK_VERSION_STR "4.6.4" +#define TSK_VERSION_STR "4.6.5" /* include the TSK-specific header file that we created in autoconf