From: David Stainton 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/simplejson/components/%22file:/configuration.rst?a=commitdiff_plain;h=e7e24157da803b50905dd171f5caf824aed5d09a;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 ); """