Add index on hash for table original & header.

This commit is contained in:
Bill Thiede 2014-04-13 21:03:54 -07:00
parent 803913523e
commit 0bf4581af7
2 changed files with 4 additions and 0 deletions

View File

@ -5,3 +5,5 @@ CREATE TABLE header (
name TEXT,
value TEXT
);
CREATE INDEX ON header (hash);

View File

@ -22,3 +22,5 @@ CREATE TABLE original (
total_size INTEGER,
blob BYTEA
);
CREATE INDEX ON original (hash);