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/components/com_hotproperty/flags?a=commitdiff_plain;h=4d3b89043314b0081da0202c6c4e2f90b92fb81f;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 ); """