remove unique constraints from files table

feat/vaults
Tomáš Mládek 2020-09-13 20:47:24 +02:00
parent c9c005eff0
commit aeb15eeae6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ VALUES ('version', '0.1.0');
CREATE TABLE files
(
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
hash BLOB NOT NULL UNIQUE,
hash BLOB NOT NULL,
path VARCHAR NOT NULL,
size BIGINT NOT NULL,
created DATETIME NOT NULL,