projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b354e5
)
Remove UNIQUE constraint from magicfolder db schema
224/head
author
David Stainton
<dstainton415@gmail.com>
Thu, 14 Jan 2016 12:37:25 +0000
(13:37 +0100)
committer
David Stainton
<dstainton415@gmail.com>
Thu, 14 Jan 2016 12:37:25 +0000
(13:37 +0100)
src/allmydata/magicfolderdb.py
patch
|
blob
|
history
diff --git
a/src/allmydata/magicfolderdb.py
b/src/allmydata/magicfolderdb.py
index 0db1857c26bda82dc2859cab0bbd5889931879c7..982b5fe298f8b02f52182d6b608b292d8bbdccf1 100644
(file)
--- 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
);
"""