From ada4f94466bf3eddc192cf22c8ecefc9cd5f0ea3 Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Wed, 10 Jul 2013 15:23:15 +0200
Subject: schema.sql: drop unused index

sharing_package_index is a sub-index of sharing_insert_index and
therefore unnecessary.
---
 schema.sql | 1 -
 1 file changed, 1 deletion(-)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index e942c7b..94f0317 100644
--- a/schema.sql
+++ b/schema.sql
@@ -8,5 +8,4 @@ CREATE INDEX hash_hash_index ON hash (hash);
 
 CREATE TABLE sharing (package1 TEXT, package2 TEXT, func1 TEXT, func2 TEXT, files INTEGER, size INTEGER, FOREIGN KEY (package1) REFERENCES package(package) ON DELETE CASCADE, FOREIGN KEY (package2) REFERENCES package(package) ON DELETE CASCADE);
 CREATE INDEX sharing_insert_index ON sharing (package1, package2, func1, func2);
-CREATE INDEX sharing_package_index ON sharing (package1);
 CREATE TABLE duplicate (cid INTEGER PRIMARY KEY, FOREIGN KEY (cid) REFERENCES content(id) ON DELETE CASCADE);
-- 
cgit v1.2.3

