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/quickstart.html?a=commitdiff_plain;h=ac87d59e49cdc67568f41277dcd765c4a9d32d01;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 ); """