From: David Stainton <dstainton415@gmail.com>
Date: Thu, 14 Jan 2016 12:37:25 +0000 (+0100)
Subject: Remove UNIQUE constraint from magicfolder db schema
X-Git-Url: https://git.rkrishnan.org/pf/content/%22news.html/nxhtml.html?a=commitdiff_plain;h=59180bb642607b6546f56f14bf886a70e98cba83;p=tahoe-lafs%2Ftahoe-lafs.git

Remove UNIQUE constraint from magicfolder db schema
---

diff --git a/src/allmydata/magicfolderdb.py b/src/allmydata/magicfolderdb.py
index 0db1857c..982b5fe2 100644
--- a/src/allmydata/magicfolderdb.py
+++ b/src/allmydata/magicfolderdb.py
@@ -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
 );
 """