-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
106 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
CREATE TABLE key_item_cache ( | ||
s3_key TEXT NOT NULL UNIQUE PRIMARY KEY, | ||
etag TEXT NOT NULL, | ||
s3_timestamp BIGINT NOT NULL, | ||
s3_size BIGINT NOT NULL, | ||
has_local BOOLEAN NOT NULL DEFAULT false, | ||
has_remote BOOLEAN NOT NULL DEFAULT false | ||
s3_etag TEXT, | ||
s3_timestamp BIGINT, | ||
s3_size BIGINT, | ||
local_etag TEXT, | ||
local_timestamp BIGINT, | ||
local_size BIGINT, | ||
do_download BOOLEAN NOT NULL DEFAULT false, | ||
do_upload BOOLEAN NOT NULL DEFAULT false | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters