From: David Stainton Date: Tue, 19 Jan 2016 14:35:16 +0000 (+0100) Subject: Update magic-folder db schema to use REAL instead of NUMBER of TIMESTAMP X-Git-Url: https://git.rkrishnan.org/components/%22news.html/rgr-080307.php?a=commitdiff_plain;h=refs%2Fheads%2F2438.magic-folder-stable.9;p=tahoe-lafs%2Ftahoe-lafs.git Update magic-folder db schema to use REAL instead of NUMBER of TIMESTAMP --- diff --git a/src/allmydata/magicfolderdb.py b/src/allmydata/magicfolderdb.py index 982b5fe2..fdda3f06 100644 --- a/src/allmydata/magicfolderdb.py +++ b/src/allmydata/magicfolderdb.py @@ -17,12 +17,12 @@ CREATE TABLE local_files path VARCHAR(1024) PRIMARY KEY, -- UTF-8 filename relative to local magic folder dir -- note that size is before mtime and ctime here, but after in function parameters size INTEGER, -- ST_SIZE, or NULL if the file has been deleted - mtime NUMBER, -- ST_MTIME - ctime NUMBER, -- ST_CTIME + mtime REAL, -- ST_MTIME + ctime REAL, -- ST_CTIME version INTEGER, last_uploaded_uri VARCHAR(256), -- URI:CHK:... last_downloaded_uri VARCHAR(256), -- URI:CHK:... - last_downloaded_timestamp TIMESTAMP + last_downloaded_timestamp REAL ); """