]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Remove UNIQUE constraint from magicfolder db schema
authorDavid Stainton <dstainton415@gmail.com>
Thu, 14 Jan 2016 12:37:25 +0000 (13:37 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 25 Jan 2016 15:54:29 +0000 (15:54 +0000)
src/allmydata/magicfolderdb.py

index 0db1857c26bda82dc2859cab0bbd5889931879c7..982b5fe298f8b02f52182d6b608b292d8bbdccf1 100644 (file)
@@ -20,8 +20,8 @@ CREATE TABLE local_files
  mtime               NUMBER,                      -- ST_MTIME
  ctime               NUMBER,                      -- ST_CTIME
  version             INTEGER,
- last_uploaded_uri   VARCHAR(256) UNIQUE,       -- URI:CHK:...
- last_downloaded_uri VARCHAR(256) UNIQUE,       -- URI:CHK:...
+ last_uploaded_uri   VARCHAR(256),                -- URI:CHK:...
+ last_downloaded_uri VARCHAR(256),                -- URI:CHK:...
  last_downloaded_timestamp TIMESTAMP
 );
 """