From 59180bb642607b6546f56f14bf886a70e98cba83 Mon Sep 17 00:00:00 2001 From: David Stainton Date: Thu, 14 Jan 2016 13:37:25 +0100 Subject: [PATCH] Remove UNIQUE constraint from magicfolder db schema --- src/allmydata/magicfolderdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); """ -- 2.45.2