diff options
author | Sansar Choinyambuu <schoinya@hsr.ch> | 2011-09-05 17:50:49 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-09-08 12:08:16 +0200 |
commit | a08796a5c3bd5abbb2b8efd0e7d96d1a451b8b31 (patch) | |
tree | 38b68d4e7564e10254b9c4215ebdd8f9613cf3d1 | |
parent | 83bbce1885c44b473f5477826783896945137f74 (diff) | |
download | strongswan-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.sql | 3 |
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) ); |