Skip to content

Instantly share code, notes, and snippets.

@AquaGeek
Last active July 20, 2022 06:38
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AquaGeek/5867766 to your computer and use it in GitHub Desktop.
Save AquaGeek/5867766 to your computer and use it in GitHub Desktop.
iOS Cache.db
CREATE TABLE cfurl_cache_blob_data(
entry_ID INTEGER PRIMARY KEY,
response_object BLOB,
request_object BLOB,
proto_props BLOB,
user_info BLOB
);
CREATE INDEX proto_props_index ON cfurl_cache_blob_data(entry_ID);
CREATE TABLE cfurl_cache_receiver_data(
entry_ID INTEGER PRIMARY KEY,
receiver_data BLOB
);
CREATE INDEX receiver_data_index ON cfurl_cache_receiver_data(entry_ID);
CREATE TABLE cfurl_cache_response(
entry_ID INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE,
version INTEGER,
hash_value INTEGER,
storage_policy INTEGER,
request_key TEXT UNIQUE,
time_stamp NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE INDEX request_key_index ON cfurl_cache_response(request_key);
CREATE INDEX time_stamp_index ON cfurl_cache_response(time_stamp);
CREATE TABLE cfurl_cache_schema_version(schema_version INTEGER);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment