Remove UNIQUE constraint from magicfolder db schema 224/head
authorDavid Stainton <dstainton415@gmail.com>
Thu, 14 Jan 2016 12:37:25 +0000 (13:37 +0100)
committerDavid Stainton <dstainton415@gmail.com>
Thu, 14 Jan 2016 12:37:25 +0000 (13:37 +0100)
src/allmydata/magicfolderdb.py

index 0db1857c26bda82dc2859cab0bbd5889931879c7..982b5fe298f8b02f52182d6b608b292d8bbdccf1 100644 (file)
@@ -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
 );
 """