Added directory column with default value of zero into file_hashes table

This commit is contained in:
Sansar Choinyambuu authored and Andreas Steffen committed 2011-09-08 12:08:16 +02:00
1 parent 83bbce1885
commit a08796a5c3
1 file changed
+2 -1
@@ -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)
);