]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
added index to files table
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 18 Jul 2012 20:00:35 +0000 (22:00 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 19 Jul 2012 11:49:35 +0000 (13:49 +0200)
src/libpts/plugins/imv_attestation/tables.sql

index bb7bf39886ef6a2983d4771bd214aa147ec74e43..42553bef0becbc8549d4e8223d06719a9be0865a 100644 (file)
@@ -6,6 +6,10 @@ CREATE TABLE files (
   type INTEGER NOT NULL,
   path TEXT NOT NULL
 );
+DROP INDEX IF EXISTS files_path;
+CREATE INDEX files_path ON files (
+  path
+);
 
 DROP TABLE IF EXISTS products;
 CREATE TABLE products (