aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSansar Choinyambuu <schoinya@hsr.ch>2011-09-05 17:50:49 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-09-08 12:08:16 +0200
commita08796a5c3bd5abbb2b8efd0e7d96d1a451b8b31 (patch)
tree38b68d4e7564e10254b9c4215ebdd8f9613cf3d1
parent83bbce1885c44b473f5477826783896945137f74 (diff)
downloadstrongswan-a08796a5c3bd5abbb2b8efd0e7d96d1a451b8b31.tar.bz2
strongswan-a08796a5c3bd5abbb2b8efd0e7d96d1a451b8b31.tar.xz
Added directory column with default value of zero into file_hashes table
-rw-r--r--src/libimcv/plugins/imv_attestation/tables.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libimcv/plugins/imv_attestation/tables.sql b/src/libimcv/plugins/imv_attestation/tables.sql
index 0407d1e17..8cc0e5588 100644
--- a/src/libimcv/plugins/imv_attestation/tables.sql
+++ b/src/libimcv/plugins/imv_attestation/tables.sql
@@ -27,9 +27,10 @@ CREATE TABLE product_file (
DROP TABLE IF EXISTS file_hashes;
CREATE TABLE file_hashes (
file INTEGER NOT NULL,
+ directory INTEGER DEFAULT 0,
product INTEGER NOT NULL,
algo INTEGER NOT NULL,
hash BLOB NOT NULL,
- PRIMARY KEY(file, product, algo)
+ PRIMARY KEY(file, directory, product, algo)
);