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