From 4a52287c59b71467b5d03496cb7dfdfa40c61878 Mon Sep 17 00:00:00 2001 From: JohnE Date: Tue, 12 Jan 2016 01:09:01 -0800 Subject: [PATCH] MOD: new fingerprints were created after a bug fix --- ...om.android.browser__browser2.db__dbfp.json | 224 - ...om.android.deskclock__alarms.db__dbfp.json | 216 - ...android.email__EmailProvider.db__dbfp.json | 707 --- ...roviders.contacts__contacts2.db__dbfp.json | 1088 +++++ ....providers.contacts__profile.db__dbfp.json | 1088 +++++ ...rs.userdictionary__user_dict.db__dbfp.json | 49 - ...com.android.vending__library.db__dbfp.json | 96 - ...__fitness.db.username_gmail.com__dbfp.json | 1642 +------ ...com.google.android.gms__keys.db__dbfp.json | 3910 +--------------- ...com.google.android.gms__node.db__dbfp.json | 142 + .../com.google.android.gms__ns.db__dbfp.json | 86 + ...com.google.android.gms__plus.db__dbfp.json | 132 + ...id.talk__google_analytics_v4.db__dbfp.json | 60 + ...le.android.youtube__identity.db__dbfp.json | 69 + ...youtube__youtube_upload_service__dbfp.json | 193 - ...twitter.android__14243322-38.db__dbfp.json | 1527 ------- ...twitter.android__14243322-dm.db__dbfp.json | 1552 ------- .../com.viber.voip__viber_messages__dbfp.json | 782 ++++ ...16d6f2f7f129e34f.profile.sqlite__dbfp.json | 277 +- ...__fitness.db.username_gmail.com__dbfp.json | 2046 --------- ...com.google.android.gms__keys.db__dbfp.json | 3961 ----------------- ...youtube__youtube_upload_service__dbfp.json | 187 - ...16d6f2f7f129e34f.profile.sqlite__dbfp.json | 328 -- 23 files changed, 3459 insertions(+), 16903 deletions(-) delete mode 100644 tests/fp_data/com.android.browser__browser2.db__dbfp.json delete mode 100644 tests/fp_data/com.android.deskclock__alarms.db__dbfp.json delete mode 100644 tests/fp_data/com.android.email__EmailProvider.db__dbfp.json create mode 100644 tests/fp_data/com.android.providers.contacts__contacts2.db__dbfp.json create mode 100644 tests/fp_data/com.android.providers.contacts__profile.db__dbfp.json delete mode 100644 tests/fp_data/com.android.providers.userdictionary__user_dict.db__dbfp.json delete mode 100644 tests/fp_data/com.android.vending__library.db__dbfp.json create mode 100644 tests/fp_data/com.google.android.gms__node.db__dbfp.json create mode 100644 tests/fp_data/com.google.android.gms__ns.db__dbfp.json create mode 100644 tests/fp_data/com.google.android.gms__plus.db__dbfp.json create mode 100644 tests/fp_data/com.google.android.talk__google_analytics_v4.db__dbfp.json create mode 100644 tests/fp_data/com.google.android.youtube__identity.db__dbfp.json delete mode 100644 tests/fp_data/com.google.android.youtube__youtube_upload_service__dbfp.json delete mode 100644 tests/fp_data/com.twitter.android__14243322-38.db__dbfp.json delete mode 100644 tests/fp_data/com.twitter.android__14243322-dm.db__dbfp.json create mode 100644 tests/fp_data/com.viber.voip__viber_messages__dbfp.json delete mode 100644 tests/fp_data_mod/com.google.android.gms__fitness.db.username_gmail.com__dbfp.json delete mode 100644 tests/fp_data_mod/com.google.android.gms__keys.db__dbfp.json delete mode 100644 tests/fp_data_mod/com.google.android.youtube__youtube_upload_service__dbfp.json delete mode 100644 tests/fp_data_mod/tv.periscope.android__com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite__dbfp.json diff --git a/tests/fp_data/com.android.browser__browser2.db__dbfp.json b/tests/fp_data/com.android.browser__browser2.db__dbfp.json deleted file mode 100644 index 1069e82..0000000 --- a/tests/fp_data/com.android.browser__browser2.db__dbfp.json +++ /dev/null @@ -1,224 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.android.browser", - "app-ver": "", - "dn-name": "browser2.db", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "_sync_state": "CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,account_name TEXT NOT NULL,account_type TEXT NOT NULL,data TEXT,UNIQUE(account_name, account_type))", - "_sync_state_metadata": "CREATE TABLE _sync_state_metadata (version INTEGER)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "bookmarks": "CREATE TABLE bookmarks(_id INTEGER PRIMARY KEY AUTOINCREMENT,title TEXT,url TEXT,folder INTEGER NOT NULL DEFAULT 0,parent INTEGER,position INTEGER NOT NULL,insert_after INTEGER,deleted INTEGER NOT NULL DEFAULT 0,account_name TEXT,account_type TEXT,sourceid TEXT,version INTEGER NOT NULL DEFAULT 1,created INTEGER,modified INTEGER,dirty INTEGER NOT NULL DEFAULT 0,sync1 TEXT,sync2 TEXT,sync3 TEXT,sync4 TEXT,sync5 TEXT)", - "history": "CREATE TABLE history(_id INTEGER PRIMARY KEY AUTOINCREMENT,title TEXT,url TEXT NOT NULL,created INTEGER,date INTEGER,visits INTEGER NOT NULL DEFAULT 0,user_entered INTEGER)", - "images": "CREATE TABLE images (url_key TEXT UNIQUE NOT NULL,favicon BLOB,thumbnail BLOB,touch_icon BLOB)", - "searches": "CREATE TABLE searches (_id INTEGER PRIMARY KEY AUTOINCREMENT,search TEXT,date LONG)", - "settings": "CREATE TABLE settings (key TEXT PRIMARY KEY,value TEXT NOT NULL)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)", - "thumbnails": "CREATE TABLE thumbnails (_id INTEGER PRIMARY KEY,thumbnail BLOB NOT NULL)" - }, - "db-metadata-hashes": { - "_sync_state": "b87dbd41332fefed918f722392a413f1", - "_sync_state_metadata": "b018ea44c267b279a7591580d7152e2d", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "bookmarks": "ff808ddae6de94e6bce8089e5837305a", - "history": "c0558f7a41b99ad6639ad23875f15c20", - "images": "e8708616e7acbf6c0329011d1d35d838", - "searches": "ebf1eaf45591ebb89ea3caa6b9b54440", - "settings": "13674d0f5fc0c6a3c30a5e86c8b75ad4", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2", - "thumbnails": "de8ca136669a09de1114ef0c3c6d4713" - }, - "db-metadata-md5": "d4deb5e6a06b1fae41bd77588c37f6ad", - "tables": { - "_sync_state": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "account_name": { - "datatype": "TEXT", - "notnull": true, - "unique": true - }, - "account_type": { - "datatype": "TEXT", - "notnull": true, - "unique": true - }, - "data": { - "datatype": "TEXT" - } - }, - "_sync_state_metadata": { - "version": { - "datatype": "INTEGER" - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "bookmarks": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_name": { - "datatype": "TEXT" - }, - "account_type": { - "datatype": "TEXT" - }, - "created": { - "datatype": "INTEGER" - }, - "deleted": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "dirty": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "folder": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "insert_after": { - "datatype": "INTEGER" - }, - "modified": { - "datatype": "INTEGER" - }, - "parent": { - "datatype": "INTEGER" - }, - "position": { - "datatype": "INTEGER", - "notnull": true - }, - "sourceid": { - "datatype": "TEXT" - }, - "sync1": { - "datatype": "TEXT" - }, - "sync2": { - "datatype": "TEXT" - }, - "sync3": { - "datatype": "TEXT" - }, - "sync4": { - "datatype": "TEXT" - }, - "sync5": { - "datatype": "TEXT" - }, - "title": { - "datatype": "TEXT" - }, - "url": { - "datatype": "TEXT" - }, - "version": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - } - }, - "history": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "created": { - "datatype": "INTEGER" - }, - "date": { - "datatype": "INTEGER" - }, - "title": { - "datatype": "TEXT" - }, - "url": { - "datatype": "TEXT", - "notnull": true - }, - "user_entered": { - "datatype": "INTEGER" - }, - "visits": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "images": { - "favicon": { - "datatype": "BLOB" - }, - "thumbnail": { - "datatype": "BLOB" - }, - "touch_icon": { - "datatype": "BLOB" - }, - "url_key": { - "datatype": "TEXT" - } - }, - "searches": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "date": { - "datatype": "LONG" - }, - "search": { - "datatype": "TEXT" - } - }, - "settings": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "TEXT", - "notnull": true - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - }, - "thumbnails": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "thumbnail": { - "datatype": "BLOB", - "notnull": true - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data/com.android.deskclock__alarms.db__dbfp.json b/tests/fp_data/com.android.deskclock__alarms.db__dbfp.json deleted file mode 100644 index da0ec06..0000000 --- a/tests/fp_data/com.android.deskclock__alarms.db__dbfp.json +++ /dev/null @@ -1,216 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.android.deskclock", - "app-ver": "", - "dn-name": "alarms.db", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "alarm_instances": "CREATE TABLE alarm_instances (_id INTEGER PRIMARY KEY,year INTEGER NOT NULL, month INTEGER NOT NULL, day INTEGER NOT NULL, hour INTEGER NOT NULL, minutes INTEGER NOT NULL, vibrate INTEGER NOT NULL, label TEXT NOT NULL, ringtone TEXT, alarm_state INTEGER NOT NULL, alarm_id INTEGER REFERENCES alarm_templates(_id) ON UPDATE CASCADE ON DELETE CASCADE, incvol INTEGER NOT NULL DEFAULT 0, preAlarm INTEGER NOT NULL DEFAULT 0, alarmVol INTEGER NOT NULL DEFAULT -1, preAlarmVol INTEGER NOT NULL DEFAULT -1, preAlarmTime INTEGER NOT NULL DEFAULT 5, preAlarmRingtone TEXT, painMode INTEGER NOT NULL DEFAULT 0, randomMode INTEGER NOT NULL DEFAULT 0, mediaStart INTEGER NOT NULL DEFAULT 0)", - "alarm_templates": "CREATE TABLE alarm_templates (_id INTEGER PRIMARY KEY,hour INTEGER NOT NULL, minutes INTEGER NOT NULL, daysofweek INTEGER NOT NULL, enabled INTEGER NOT NULL, vibrate INTEGER NOT NULL, label TEXT NOT NULL, ringtone TEXT, delete_after_use INTEGER NOT NULL DEFAULT 0, incvol INTEGER NOT NULL DEFAULT 0, preAlarm INTEGER NOT NULL DEFAULT 0, alarmVol INTEGER NOT NULL DEFAULT -1, preAlarmVol INTEGER NOT NULL DEFAULT -1, preAlarmTime INTEGER NOT NULL DEFAULT 5, preAlarmRingtone TEXT, painMode INTEGER NOT NULL DEFAULT 0, randomMode INTEGER NOT NULL DEFAULT 0, mediaStart INTEGER NOT NULL DEFAULT 0)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "selected_cities": "CREATE TABLE selected_cities (city_id TEXT PRIMARY KEY,city_name TEXT NOT NULL, timezone_name TEXT NOT NULL, timezone_offset INTEGER NOT NULL)" - }, - "db-metadata-hashes": { - "alarm_instances": "ca0199784acf406e9b5bffef623e917a", - "alarm_templates": "06a6c1a71b40187ed205b7e78c66d542", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "selected_cities": "145de04eaf723d2ac3953c63865c8628" - }, - "db-metadata-md5": "0033fb41a9e85d808a6ed048d72a514a", - "tables": { - "alarm_instances": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "alarmVol": { - "datatype": "INTEGER", - "notnull": true - }, - "alarm_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "alarm_templates(_id) ON UPDATE CASCADE ON DELETE CASCADE" - }, - "alarm_state": { - "datatype": "INTEGER", - "notnull": true - }, - "day": { - "datatype": "INTEGER", - "notnull": true - }, - "hour": { - "datatype": "INTEGER", - "notnull": true - }, - "incvol": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "label": { - "datatype": "TEXT", - "notnull": true - }, - "mediaStart": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "minutes": { - "datatype": "INTEGER", - "notnull": true - }, - "month": { - "datatype": "INTEGER", - "notnull": true - }, - "painMode": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "preAlarm": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "preAlarmRingtone": { - "datatype": "TEXT" - }, - "preAlarmTime": { - "datatype": "INTEGER", - "default": "5", - "notnull": true - }, - "preAlarmVol": { - "datatype": "INTEGER", - "notnull": true - }, - "randomMode": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "ringtone": { - "datatype": "TEXT" - }, - "vibrate": { - "datatype": "INTEGER", - "notnull": true - }, - "year": { - "datatype": "INTEGER", - "notnull": true - } - }, - "alarm_templates": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "alarmVol": { - "datatype": "INTEGER", - "notnull": true - }, - "daysofweek": { - "datatype": "INTEGER", - "notnull": true - }, - "delete_after_use": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "enabled": { - "datatype": "INTEGER", - "notnull": true - }, - "hour": { - "datatype": "INTEGER", - "notnull": true - }, - "incvol": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "label": { - "datatype": "TEXT", - "notnull": true - }, - "mediaStart": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "minutes": { - "datatype": "INTEGER", - "notnull": true - }, - "painMode": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "preAlarm": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "preAlarmRingtone": { - "datatype": "TEXT" - }, - "preAlarmTime": { - "datatype": "INTEGER", - "default": "5", - "notnull": true - }, - "preAlarmVol": { - "datatype": "INTEGER", - "notnull": true - }, - "randomMode": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "ringtone": { - "datatype": "TEXT" - }, - "vibrate": { - "datatype": "INTEGER", - "notnull": true - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "selected_cities": { - "city_id": { - "datatype": "TEXT", - "primarykey": true - }, - "city_name": { - "datatype": "TEXT", - "notnull": true - }, - "timezone_name": { - "datatype": "TEXT", - "notnull": true - }, - "timezone_offset": { - "datatype": "INTEGER", - "notnull": true - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data/com.android.email__EmailProvider.db__dbfp.json b/tests/fp_data/com.android.email__EmailProvider.db__dbfp.json deleted file mode 100644 index 8ac1303..0000000 --- a/tests/fp_data/com.android.email__EmailProvider.db__dbfp.json +++ /dev/null @@ -1,707 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.android.email", - "app-ver": "", - "dn-name": "EmailProvider.db", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "Account": "CREATE TABLE Account (_id integer primary key autoincrement, displayName text, emailAddress text, syncKey text, syncLookback integer, syncInterval text, hostAuthKeyRecv integer, hostAuthKeySend integer, flags integer, isDefault integer, compatibilityUuid text, senderName text, ringtoneUri text, protocolVersion text, newMessageCount integer, securityFlags integer, securitySyncKey text, signature text, policyKey integer, maxAttachmentSize integer, pingDuration integer)", - "Attachment": "CREATE TABLE Attachment (_id integer primary key autoincrement, fileName text, mimeType text, size integer, contentId text, contentUri text, messageKey integer, location text, encoding text, content text, flags integer, content_bytes blob, accountKey integer, uiState integer, uiDestination integer, uiDownloadedSize integer, cachedFile text)", - "HostAuth": "CREATE TABLE HostAuth (_id integer primary key autoincrement, protocol text, address text, port integer, flags integer, login text, password text, domain text, accountKey integer,certAlias text,serverCert blob)", - "Mailbox": "CREATE TABLE Mailbox (_id integer primary key autoincrement, displayName text, serverId text, parentServerId text, parentKey integer, accountKey integer, type integer, delimiter integer, syncKey text, syncLookback integer, syncInterval integer, syncTime integer, unreadCount integer, flagVisible integer, flags integer, visibleLimit integer, syncStatus text, messageCount integer not null default 0, lastTouchedTime integer default 0, uiSyncStatus integer default 0, uiLastSyncResult integer default 0, lastNotifiedMessageKey integer not null default 0, lastNotifiedMessageCount integer not null default 0, totalCount integer, hierarchicalName text, lastFullSyncTime integer)", - "Message": "CREATE TABLE Message (_id integer primary key autoincrement, syncServerId text, syncServerTimeStamp integer, displayName text, timeStamp integer, subject text, flagRead integer, flagLoaded integer, flagFavorite integer, flagAttachment integer, flags integer, clientId integer, messageId text, mailboxKey integer, accountKey integer, fromList text, toList text, ccList text, bccList text, replyToList text, meetingInfo text, snippet text, protocolSearchInfo text, threadTopic text, syncData text, flagSeen integer, mainMailboxKey integer)", - "MessageMove": "CREATE TABLE MessageMove (_id integer primary key autoincrement, messageKey integer, messageServerId text, accountKey integer, status integer, srcFolderKey integer, dstFolderKey integer, srcFolderServerId text, dstFolderServerId text)", - "MessageStateChange": "CREATE TABLE MessageStateChange (_id integer primary key autoincrement, messageKey integer, messageServerId text, accountKey integer, status integer, oldFlagRead integer, newFlagRead integer, oldFlagFavorite integer, newFlagFavorite integer)", - "Message_Deletes": "CREATE TABLE Message_Deletes (_id integer unique, syncServerId text, syncServerTimeStamp integer, displayName text, timeStamp integer, subject text, flagRead integer, flagLoaded integer, flagFavorite integer, flagAttachment integer, flags integer, clientId integer, messageId text, mailboxKey integer, accountKey integer, fromList text, toList text, ccList text, bccList text, replyToList text, meetingInfo text, snippet text, protocolSearchInfo text, threadTopic text, syncData text, flagSeen integer, mainMailboxKey integer)", - "Message_Updates": "CREATE TABLE Message_Updates (_id integer unique, syncServerId text, syncServerTimeStamp integer, displayName text, timeStamp integer, subject text, flagRead integer, flagLoaded integer, flagFavorite integer, flagAttachment integer, flags integer, clientId integer, messageId text, mailboxKey integer, accountKey integer, fromList text, toList text, ccList text, bccList text, replyToList text, meetingInfo text, snippet text, protocolSearchInfo text, threadTopic text, syncData text, flagSeen integer, mainMailboxKey integer)", - "Policy": "CREATE TABLE Policy (_id integer primary key autoincrement, passwordMode integer, passwordMinLength integer, passwordExpirationDays integer, passwordHistory integer, passwordComplexChars integer, passwordMaxFails integer, maxScreenLockTime integer, requireRemoteWipe integer, requireEncryption integer, requireEncryptionExternal integer, requireManualSyncRoaming integer, dontAllowCamera integer, dontAllowAttachments integer, dontAllowHtml integer, maxAttachmentSize integer, maxTextTruncationSize integer, maxHTMLTruncationSize integer, maxEmailLookback integer, maxCalendarLookback integer, passwordRecoveryEnabled integer, protocolPoliciesEnforced text, protocolPoliciesUnsupported text)", - "QuickResponse": "CREATE TABLE QuickResponse (_id integer primary key autoincrement, quickResponse text, accountKey integer)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" - }, - "db-metadata-hashes": { - "Account": "fed036842e5577dc74dd01dc956ac9f4", - "Attachment": "97cbd6dd02a2184e14b0fedde14d38b0", - "HostAuth": "21737d16afae9f32f4f7bd55d8bf7a41", - "Mailbox": "e9debddbaa3691cc3f0c9bd019a7f55b", - "Message": "c9fb401dd9be58b01e201fd73ee9ce09", - "MessageMove": "4187eaa7d583e9ad442f84842f00f6f3", - "MessageStateChange": "6a6a57be1f1e3867a3b91aee3141fc6a", - "Message_Deletes": "80aa2267979381e66869eed9619714be", - "Message_Updates": "a081eb58c6f3ea13cd5acdc9a7f9fffe", - "Policy": "7cfffad6145c96ef445be6023d5f2014", - "QuickResponse": "70bd01ed9d384374d4ee30a11d861901", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" - }, - "db-metadata-md5": "7d150935b5bd1d5cfeec415cecb75d8c", - "tables": { - "Account": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "compatibilityUuid": { - "datatype": "text" - }, - "displayName": { - "datatype": "text" - }, - "emailAddress": { - "datatype": "text" - }, - "flags": { - "datatype": "integer" - }, - "hostAuthKeyRecv": { - "datatype": "integer" - }, - "hostAuthKeySend": { - "datatype": "integer" - }, - "isDefault": { - "datatype": "integer" - }, - "maxAttachmentSize": { - "datatype": "integer" - }, - "newMessageCount": { - "datatype": "integer" - }, - "pingDuration": { - "datatype": "integer" - }, - "policyKey": { - "datatype": "integer" - }, - "protocolVersion": { - "datatype": "text" - }, - "ringtoneUri": { - "datatype": "text" - }, - "securityFlags": { - "datatype": "integer" - }, - "securitySyncKey": { - "datatype": "text" - }, - "senderName": { - "datatype": "text" - }, - "signature": { - "datatype": "text" - }, - "syncInterval": { - "datatype": "text" - }, - "syncKey": { - "datatype": "text" - }, - "syncLookback": { - "datatype": "integer" - } - }, - "Attachment": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "accountKey": { - "datatype": "integer" - }, - "cachedFile": { - "datatype": "text" - }, - "content": { - "datatype": "text" - }, - "contentId": { - "datatype": "text" - }, - "contentUri": { - "datatype": "text" - }, - "content_bytes": { - "datatype": "blob" - }, - "encoding": { - "datatype": "text" - }, - "fileName": { - "datatype": "text" - }, - "flags": { - "datatype": "integer" - }, - "location": { - "datatype": "text" - }, - "messageKey": { - "datatype": "integer" - }, - "mimeType": { - "datatype": "text" - }, - "size": { - "datatype": "integer" - }, - "uiDestination": { - "datatype": "integer" - }, - "uiDownloadedSize": { - "datatype": "integer" - }, - "uiState": { - "datatype": "integer" - } - }, - "HostAuth": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "accountKey": { - "datatype": "integer" - }, - "address": { - "datatype": "text" - }, - "certAlias": { - "datatype": "text" - }, - "domain": { - "datatype": "text" - }, - "flags": { - "datatype": "integer" - }, - "login": { - "datatype": "text" - }, - "password": { - "datatype": "text" - }, - "port": { - "datatype": "integer" - }, - "protocol": { - "datatype": "text" - }, - "serverCert": { - "datatype": "blob" - } - }, - "Mailbox": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "accountKey": { - "datatype": "integer" - }, - "delimiter": { - "datatype": "integer" - }, - "displayName": { - "datatype": "text" - }, - "flagVisible": { - "datatype": "integer" - }, - "flags": { - "datatype": "integer" - }, - "hierarchicalName": { - "datatype": "text" - }, - "lastFullSyncTime": { - "datatype": "integer" - }, - "lastNotifiedMessageCount": { - "datatype": "integer", - "default": "0", - "notnull": true - }, - "lastNotifiedMessageKey": { - "datatype": "integer", - "default": "0", - "notnull": true - }, - "lastTouchedTime": { - "datatype": "integer", - "default": "0" - }, - "messageCount": { - "datatype": "integer", - "default": "0", - "notnull": true - }, - "parentKey": { - "datatype": "integer" - }, - "parentServerId": { - "datatype": "text" - }, - "serverId": { - "datatype": "text" - }, - "syncInterval": { - "datatype": "integer" - }, - "syncKey": { - "datatype": "text" - }, - "syncLookback": { - "datatype": "integer" - }, - "syncStatus": { - "datatype": "text" - }, - "syncTime": { - "datatype": "integer" - }, - "totalCount": { - "datatype": "integer" - }, - "type": { - "datatype": "integer" - }, - "uiLastSyncResult": { - "datatype": "integer", - "default": "0" - }, - "uiSyncStatus": { - "datatype": "integer", - "default": "0" - }, - "unreadCount": { - "datatype": "integer" - }, - "visibleLimit": { - "datatype": "integer" - } - }, - "Message": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "accountKey": { - "datatype": "integer" - }, - "bccList": { - "datatype": "text" - }, - "ccList": { - "datatype": "text" - }, - "clientId": { - "datatype": "integer" - }, - "displayName": { - "datatype": "text" - }, - "flagAttachment": { - "datatype": "integer" - }, - "flagFavorite": { - "datatype": "integer" - }, - "flagLoaded": { - "datatype": "integer" - }, - "flagRead": { - "datatype": "integer" - }, - "flagSeen": { - "datatype": "integer" - }, - "flags": { - "datatype": "integer" - }, - "fromList": { - "datatype": "text" - }, - "mailboxKey": { - "datatype": "integer" - }, - "mainMailboxKey": { - "datatype": "integer" - }, - "meetingInfo": { - "datatype": "text" - }, - "messageId": { - "datatype": "text" - }, - "protocolSearchInfo": { - "datatype": "text" - }, - "replyToList": { - "datatype": "text" - }, - "snippet": { - "datatype": "text" - }, - "subject": { - "datatype": "text" - }, - "syncData": { - "datatype": "text" - }, - "syncServerId": { - "datatype": "text" - }, - "syncServerTimeStamp": { - "datatype": "integer" - }, - "threadTopic": { - "datatype": "text" - }, - "timeStamp": { - "datatype": "integer" - }, - "toList": { - "datatype": "text" - } - }, - "MessageMove": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "accountKey": { - "datatype": "integer" - }, - "dstFolderKey": { - "datatype": "integer" - }, - "dstFolderServerId": { - "datatype": "text" - }, - "messageKey": { - "datatype": "integer" - }, - "messageServerId": { - "datatype": "text" - }, - "srcFolderKey": { - "datatype": "integer" - }, - "srcFolderServerId": { - "datatype": "text" - }, - "status": { - "datatype": "integer" - } - }, - "MessageStateChange": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "accountKey": { - "datatype": "integer" - }, - "messageKey": { - "datatype": "integer" - }, - "messageServerId": { - "datatype": "text" - }, - "newFlagFavorite": { - "datatype": "integer" - }, - "newFlagRead": { - "datatype": "integer" - }, - "oldFlagFavorite": { - "datatype": "integer" - }, - "oldFlagRead": { - "datatype": "integer" - }, - "status": { - "datatype": "integer" - } - }, - "Message_Deletes": { - "_id": { - "datatype": "integer" - }, - "accountKey": { - "datatype": "integer" - }, - "bccList": { - "datatype": "text" - }, - "ccList": { - "datatype": "text" - }, - "clientId": { - "datatype": "integer" - }, - "displayName": { - "datatype": "text" - }, - "flagAttachment": { - "datatype": "integer" - }, - "flagFavorite": { - "datatype": "integer" - }, - "flagLoaded": { - "datatype": "integer" - }, - "flagRead": { - "datatype": "integer" - }, - "flagSeen": { - "datatype": "integer" - }, - "flags": { - "datatype": "integer" - }, - "fromList": { - "datatype": "text" - }, - "mailboxKey": { - "datatype": "integer" - }, - "mainMailboxKey": { - "datatype": "integer" - }, - "meetingInfo": { - "datatype": "text" - }, - "messageId": { - "datatype": "text" - }, - "protocolSearchInfo": { - "datatype": "text" - }, - "replyToList": { - "datatype": "text" - }, - "snippet": { - "datatype": "text" - }, - "subject": { - "datatype": "text" - }, - "syncData": { - "datatype": "text" - }, - "syncServerId": { - "datatype": "text" - }, - "syncServerTimeStamp": { - "datatype": "integer" - }, - "threadTopic": { - "datatype": "text" - }, - "timeStamp": { - "datatype": "integer" - }, - "toList": { - "datatype": "text" - } - }, - "Message_Updates": { - "_id": { - "datatype": "integer" - }, - "accountKey": { - "datatype": "integer" - }, - "bccList": { - "datatype": "text" - }, - "ccList": { - "datatype": "text" - }, - "clientId": { - "datatype": "integer" - }, - "displayName": { - "datatype": "text" - }, - "flagAttachment": { - "datatype": "integer" - }, - "flagFavorite": { - "datatype": "integer" - }, - "flagLoaded": { - "datatype": "integer" - }, - "flagRead": { - "datatype": "integer" - }, - "flagSeen": { - "datatype": "integer" - }, - "flags": { - "datatype": "integer" - }, - "fromList": { - "datatype": "text" - }, - "mailboxKey": { - "datatype": "integer" - }, - "mainMailboxKey": { - "datatype": "integer" - }, - "meetingInfo": { - "datatype": "text" - }, - "messageId": { - "datatype": "text" - }, - "protocolSearchInfo": { - "datatype": "text" - }, - "replyToList": { - "datatype": "text" - }, - "snippet": { - "datatype": "text" - }, - "subject": { - "datatype": "text" - }, - "syncData": { - "datatype": "text" - }, - "syncServerId": { - "datatype": "text" - }, - "syncServerTimeStamp": { - "datatype": "integer" - }, - "threadTopic": { - "datatype": "text" - }, - "timeStamp": { - "datatype": "integer" - }, - "toList": { - "datatype": "text" - } - }, - "Policy": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "dontAllowAttachments": { - "datatype": "integer" - }, - "dontAllowCamera": { - "datatype": "integer" - }, - "dontAllowHtml": { - "datatype": "integer" - }, - "maxAttachmentSize": { - "datatype": "integer" - }, - "maxCalendarLookback": { - "datatype": "integer" - }, - "maxEmailLookback": { - "datatype": "integer" - }, - "maxHTMLTruncationSize": { - "datatype": "integer" - }, - "maxScreenLockTime": { - "datatype": "integer" - }, - "maxTextTruncationSize": { - "datatype": "integer" - }, - "passwordComplexChars": { - "datatype": "integer" - }, - "passwordExpirationDays": { - "datatype": "integer" - }, - "passwordHistory": { - "datatype": "integer" - }, - "passwordMaxFails": { - "datatype": "integer" - }, - "passwordMinLength": { - "datatype": "integer" - }, - "passwordMode": { - "datatype": "integer" - }, - "passwordRecoveryEnabled": { - "datatype": "integer" - }, - "protocolPoliciesEnforced": { - "datatype": "text" - }, - "protocolPoliciesUnsupported": { - "datatype": "text" - }, - "requireEncryption": { - "datatype": "integer" - }, - "requireEncryptionExternal": { - "datatype": "integer" - }, - "requireManualSyncRoaming": { - "datatype": "integer" - }, - "requireRemoteWipe": { - "datatype": "integer" - } - }, - "QuickResponse": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "accountKey": { - "datatype": "integer" - }, - "quickResponse": { - "datatype": "text" - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data/com.android.providers.contacts__contacts2.db__dbfp.json b/tests/fp_data/com.android.providers.contacts__contacts2.db__dbfp.json new file mode 100644 index 0000000..2cac059 --- /dev/null +++ b/tests/fp_data/com.android.providers.contacts__contacts2.db__dbfp.json @@ -0,0 +1,1088 @@ +{ + "_file-metadata": { + "app-name": "com.android.providers.contacts", + "app-ver": "", + "dn-name": "contacts2.db", + "format-ver": "0.91", + "notes": "", + "scan-date": "2016-01-08_110349", + "scanner-name": "dbfp", + "scanner-ver": "0.95" + }, + "db-metadata": { + "_sync_state": "CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,account_name TEXT NOT NULL,account_type TEXT NOT NULL,data TEXT,UNIQUE(account_name, account_type))", + "_sync_state_metadata": "CREATE TABLE _sync_state_metadata (version INTEGER)", + "accounts": "CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_name TEXT, account_type TEXT, data_set TEXT)", + "agg_exceptions": "CREATE TABLE agg_exceptions (_id INTEGER PRIMARY KEY AUTOINCREMENT,type INTEGER NOT NULL, raw_contact_id1 INTEGER REFERENCES raw_contacts(_id), raw_contact_id2 INTEGER REFERENCES raw_contacts(_id))", + "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", + "calls": "CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,presentation INTEGER NOT NULL DEFAULT 1,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT,countryiso TEXT,voicemail_uri TEXT,is_read INTEGER,geocoded_location TEXT,lookup_uri TEXT,matched_number TEXT,normalized_number TEXT,photo_id INTEGER NOT NULL DEFAULT 0,formatted_number TEXT,_data TEXT,has_content INTEGER,mime_type TEXT,source_data TEXT,source_package TEXT,state INTEGER)", + "contacts": "CREATE TABLE contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name_raw_contact_id INTEGER REFERENCES raw_contacts(_id),photo_id INTEGER REFERENCES data(_id),photo_file_id INTEGER REFERENCES photo_files(_id),custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 2147483647,has_phone_number INTEGER NOT NULL DEFAULT 0,lookup TEXT,status_update_id INTEGER REFERENCES data(_id),contact_last_updated_timestamp INTEGER)", + "data": "CREATE TABLE data (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id),mimetype_id INTEGER REFERENCES mimetype(_id) NOT NULL,raw_contact_id INTEGER REFERENCES raw_contacts(_id) NOT NULL,is_read_only INTEGER NOT NULL DEFAULT 0,is_primary INTEGER NOT NULL DEFAULT 0,is_super_primary INTEGER NOT NULL DEFAULT 0,data_version INTEGER NOT NULL DEFAULT 0,data1 TEXT,data2 TEXT,data3 TEXT,data4 TEXT,data5 TEXT,data6 TEXT,data7 TEXT,data8 TEXT,data9 TEXT,data10 TEXT,data11 TEXT,data12 TEXT,data13 TEXT,data14 TEXT,data15 TEXT,data_sync1 TEXT, data_sync2 TEXT, data_sync3 TEXT, data_sync4 TEXT )", + "data_usage_stat": "CREATE TABLE data_usage_stat(stat_id INTEGER PRIMARY KEY AUTOINCREMENT, data_id INTEGER NOT NULL, usage_type INTEGER NOT NULL DEFAULT 0, times_used INTEGER NOT NULL DEFAULT 0, last_time_used INTERGER NOT NULL DEFAULT 0, FOREIGN KEY(data_id) REFERENCES data(_id))", + "default_directory": "CREATE TABLE default_directory (_id INTEGER PRIMARY KEY)", + "deleted_contacts": "CREATE TABLE deleted_contacts (contact_id INTEGER PRIMARY KEY,contact_deleted_timestamp INTEGER NOT NULL default 0)", + "directories": "CREATE TABLE directories(_id INTEGER PRIMARY KEY AUTOINCREMENT,packageName TEXT NOT NULL,authority TEXT NOT NULL,typeResourceId INTEGER,typeResourceName TEXT,accountType TEXT,accountName TEXT,displayName TEXT, exportSupport INTEGER NOT NULL DEFAULT 0,shortcutSupport INTEGER NOT NULL DEFAULT 0,photoSupport INTEGER NOT NULL DEFAULT 0)", + "groups": "CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id),account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,title TEXT,title_res INTEGER,notes TEXT,system_id TEXT,deleted INTEGER NOT NULL DEFAULT 0,group_visible INTEGER NOT NULL DEFAULT 0,should_sync INTEGER NOT NULL DEFAULT 1,auto_add INTEGER NOT NULL DEFAULT 0,favorites INTEGER NOT NULL DEFAULT 0,group_is_read_only INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT )", + "mimetypes": "CREATE TABLE mimetypes (_id INTEGER PRIMARY KEY AUTOINCREMENT,mimetype TEXT NOT NULL)", + "name_lookup": "CREATE TABLE name_lookup (data_id INTEGER REFERENCES data(_id) NOT NULL,raw_contact_id INTEGER REFERENCES raw_contacts(_id) NOT NULL,normalized_name TEXT NOT NULL,name_type INTEGER NOT NULL,PRIMARY KEY (data_id, normalized_name, name_type))", + "nickname_lookup": "CREATE TABLE nickname_lookup (name TEXT,cluster TEXT)", + "packages": "CREATE TABLE packages (_id INTEGER PRIMARY KEY AUTOINCREMENT,package TEXT NOT NULL)", + "phone_lookup": "CREATE TABLE phone_lookup (data_id INTEGER REFERENCES data(_id) NOT NULL,raw_contact_id INTEGER REFERENCES raw_contacts(_id) NOT NULL,normalized_number TEXT NOT NULL,min_match TEXT NOT NULL)", + "photo_files": "CREATE TABLE photo_files (_id INTEGER PRIMARY KEY AUTOINCREMENT, height INTEGER NOT NULL, width INTEGER NOT NULL, filesize INTEGER NOT NULL)", + "properties": "CREATE TABLE properties (property_key TEXT PRIMARY KEY, property_value TEXT )", + "raw_contacts": "CREATE TABLE raw_contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,raw_contact_is_read_only INTEGER NOT NULL DEFAULT 0,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL DEFAULT 0,contact_id INTEGER REFERENCES contacts(_id),aggregation_mode INTEGER NOT NULL DEFAULT 0,aggregation_needed INTEGER NOT NULL DEFAULT 1,custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 2147483647,display_name TEXT,display_name_alt TEXT,display_name_source INTEGER NOT NULL DEFAULT 0,phonetic_name TEXT,phonetic_name_style TEXT,sort_key TEXT COLLATE PHONEBOOK,phonebook_label TEXT,phonebook_bucket INTEGER,sort_key_alt TEXT COLLATE PHONEBOOK,phonebook_label_alt TEXT,phonebook_bucket_alt INTEGER,name_verified INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT )", + "search_index": "CREATE VIRTUAL TABLE search_index USING FTS4 (contact_id INTEGER REFERENCES contacts(_id) NOT NULL,content TEXT, name TEXT, tokens TEXT)", + "search_index_content": "CREATE TABLE 'search_index_content'(docid INTEGER PRIMARY KEY, 'c0contact_id', 'c1content', 'c2name', 'c3tokens')", + "search_index_docsize": "CREATE TABLE 'search_index_docsize'(docid INTEGER PRIMARY KEY, size BLOB)", + "search_index_segdir": "CREATE TABLE 'search_index_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx))", + "search_index_segments": "CREATE TABLE 'search_index_segments'(blockid INTEGER PRIMARY KEY, block BLOB)", + "search_index_stat": "CREATE TABLE 'search_index_stat'(id INTEGER PRIMARY KEY, value BLOB)", + "settings": "CREATE TABLE settings (account_name STRING NOT NULL,account_type STRING NOT NULL,data_set STRING,ungrouped_visible INTEGER NOT NULL DEFAULT 0,should_sync INTEGER NOT NULL DEFAULT 1)", + "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)", + "sqlite_stat1": "CREATE TABLE sqlite_stat1(tbl,idx,stat)", + "status_updates": "CREATE TABLE status_updates (status_update_data_id INTEGER PRIMARY KEY REFERENCES data(_id),status TEXT,status_ts INTEGER,status_res_package TEXT, status_label INTEGER, status_icon INTEGER)", + "stream_item_photos": "CREATE TABLE stream_item_photos (_id INTEGER PRIMARY KEY AUTOINCREMENT, stream_item_id INTEGER NOT NULL, sort_index INTEGER, photo_file_id INTEGER NOT NULL, stream_item_photo_sync1 TEXT, stream_item_photo_sync2 TEXT, stream_item_photo_sync3 TEXT, stream_item_photo_sync4 TEXT, FOREIGN KEY(stream_item_id) REFERENCES stream_items(_id))", + "stream_items": "CREATE TABLE stream_items (_id INTEGER PRIMARY KEY AUTOINCREMENT, raw_contact_id INTEGER NOT NULL, res_package TEXT, icon TEXT, label TEXT, text TEXT, timestamp INTEGER NOT NULL, comments TEXT, stream_item_sync1 TEXT, stream_item_sync2 TEXT, stream_item_sync3 TEXT, stream_item_sync4 TEXT, FOREIGN KEY(raw_contact_id) REFERENCES raw_contacts(_id))", + "v1_settings": "CREATE TABLE v1_settings (_id INTEGER PRIMARY KEY,_sync_account TEXT,_sync_account_type TEXT,key STRING NOT NULL,value STRING )", + "visible_contacts": "CREATE TABLE visible_contacts (_id INTEGER PRIMARY KEY)", + "voicemail_status": "CREATE TABLE voicemail_status (_id INTEGER PRIMARY KEY AUTOINCREMENT,source_package TEXT UNIQUE NOT NULL,settings_uri TEXT,voicemail_access_uri TEXT,configuration_state INTEGER,data_channel_state INTEGER,notification_channel_state INTEGER)" + }, + "db-metadata-hashes": { + "_sync_state": "b87dbd41332fefed918f722392a413f1", + "_sync_state_metadata": "b018ea44c267b279a7591580d7152e2d", + "accounts": "f606e98bb3514d47f85db02f13e35eff", + "agg_exceptions": "580b4c7ddec986334c56d4d5562f0d4e", + "android_metadata": "ba739eb03730e563915f2f76b26ced51", + "calls": "9ef99127e55eefb301a9860a49ef8dc8", + "contacts": "12614dc36cb6594b219a44b987589b59", + "data": "2d578ea22c45f608b70e9b5118ce1315", + "data_usage_stat": "95859cafc58f0650d7b44eb645acda60", + "default_directory": "fa82ea61ddf6943d5279639ef9762c7b", + "deleted_contacts": "ded7727effe7b8518d6a49fc2100dda3", + "directories": "0d80f652e203843a542a8d3813cb6456", + "groups": "5b716d15eac62cac37b2a5b3df45299f", + "mimetypes": "481cc0b131875c7e45607fdde90f6cd0", + "name_lookup": "52c527eda8ffff058be84722b9de2759", + "nickname_lookup": "a0476eb5bf00773a0038cb8929f8e0a2", + "packages": "010e30bef85117885584fdd47da7be67", + "phone_lookup": "341e23c6864093d94e4eb4933610530a", + "photo_files": "e0deadfa8ebacb0e94eeef6c88950101", + "properties": "a5af6db2b1eb8ee13b78e4f259b94552", + "raw_contacts": "bf46d5cdbb0d8a5da846c054e866ff7f", + "search_index": "c222b7aaee2ff274a74ade1a9e1c6ed8", + "search_index_content": "d80d9ea5eb4a0df9b81105923d33da31", + "search_index_docsize": "3e5f37504dfb2e217e904ef1e203bd8f", + "search_index_segdir": "52992214cdf6d9d84618317deeb451fa", + "search_index_segments": "cc2d681f809c584db305d6794e5b0d35", + "search_index_stat": "5ca43b5bc0aa3425c1560e74b5687c38", + "settings": "bb4300d3aa332aab1f5956b6c76610b2", + "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2", + "sqlite_stat1": "50135107f57c79c1ea1b65f38a486fe0", + "status_updates": "eba241cd21a03178062d567b2a6c2c05", + "stream_item_photos": "c94437a91586b046f0b0b3f5912a06f3", + "stream_items": "a9a7ef56e0983ef11672942c38c6deed", + "v1_settings": "03c5cff3d4ea1586ea81287046b9adbd", + "visible_contacts": "8bfe27c783fb07c0b3faa359eeb1b76d", + "voicemail_status": "8968b80db1f6b44ddad9eb920e556aed" + }, + "db-metadata-md5": "e35fbefe86fad99613f8dbe1e3c2c1cb", + "tables": { + "_sync_state": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "account_name": { + "datatype": "TEXT", + "notnull": true, + "unique": true + }, + "account_type": { + "datatype": "TEXT", + "notnull": true, + "unique": true + }, + "data": { + "datatype": "TEXT" + } + }, + "_sync_state_metadata": { + "version": { + "datatype": "INTEGER" + } + }, + "accounts": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "account_name": { + "datatype": "TEXT" + }, + "account_type": { + "datatype": "TEXT" + }, + "data_set": { + "datatype": "TEXT" + } + }, + "agg_exceptions": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "raw_contact_id1": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "raw_contacts(_id)" + }, + "raw_contact_id2": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "raw_contacts(_id)" + }, + "type": { + "datatype": "INTEGER", + "notnull": true + } + }, + "android_metadata": { + "locale": { + "datatype": "TEXT" + } + }, + "calls": { + "_data": { + "datatype": "TEXT" + }, + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "countryiso": { + "datatype": "TEXT" + }, + "date": { + "datatype": "INTEGER" + }, + "duration": { + "datatype": "INTEGER" + }, + "formatted_number": { + "datatype": "TEXT" + }, + "geocoded_location": { + "datatype": "TEXT" + }, + "has_content": { + "datatype": "INTEGER" + }, + "is_read": { + "datatype": "INTEGER" + }, + "lookup_uri": { + "datatype": "TEXT" + }, + "matched_number": { + "datatype": "TEXT" + }, + "mime_type": { + "datatype": "TEXT" + }, + "name": { + "datatype": "TEXT" + }, + "new": { + "datatype": "INTEGER" + }, + "normalized_number": { + "datatype": "TEXT" + }, + "number": { + "datatype": "TEXT" + }, + "numberlabel": { + "datatype": "TEXT" + }, + "numbertype": { + "datatype": "INTEGER" + }, + "photo_id": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "presentation": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + }, + "source_data": { + "datatype": "TEXT" + }, + "source_package": { + "datatype": "TEXT" + }, + "state": { + "datatype": "INTEGER" + }, + "type": { + "datatype": "INTEGER" + }, + "voicemail_uri": { + "datatype": "TEXT" + } + }, + "contacts": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "contact_last_updated_timestamp": { + "datatype": "INTEGER" + }, + "custom_ringtone": { + "datatype": "TEXT" + }, + "has_phone_number": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "last_time_contacted": { + "datatype": "INTEGER" + }, + "lookup": { + "datatype": "TEXT" + }, + "name_raw_contact_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "raw_contacts(_id)" + }, + "photo_file_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "photo_files(_id)" + }, + "photo_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "data(_id)" + }, + "pinned": { + "datatype": "INTEGER", + "default": "2147483647", + "notnull": true + }, + "send_to_voicemail": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "starred": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "status_update_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "data(_id)" + }, + "times_contacted": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + } + }, + "data": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "data1": { + "datatype": "TEXT" + }, + "data10": { + "datatype": "TEXT" + }, + "data11": { + "datatype": "TEXT" + }, + "data12": { + "datatype": "TEXT" + }, + "data13": { + "datatype": "TEXT" + }, + "data14": { + "datatype": "TEXT" + }, + "data15": { + "datatype": "TEXT" + }, + "data2": { + "datatype": "TEXT" + }, + "data3": { + "datatype": "TEXT" + }, + "data4": { + "datatype": "TEXT" + }, + "data5": { + "datatype": "TEXT" + }, + "data6": { + "datatype": "TEXT" + }, + "data7": { + "datatype": "TEXT" + }, + "data8": { + "datatype": "TEXT" + }, + "data9": { + "datatype": "TEXT" + }, + "data_sync1": { + "datatype": "TEXT" + }, + "data_sync2": { + "datatype": "TEXT" + }, + "data_sync3": { + "datatype": "TEXT" + }, + "data_sync4": { + "datatype": "TEXT" + }, + "data_version": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "is_primary": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "is_read_only": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "is_super_primary": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "mimetype_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "mimetype(_id)" + }, + "package_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "package(_id)" + }, + "raw_contact_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "raw_contacts(_id)" + } + }, + "data_usage_stat": { + "FOREIGN": { + "datatype": "KEY" + }, + "data_id": { + "datatype": "INTEGER", + "notnull": true + }, + "last_time_used": { + "datatype": "INTERGER", + "default": "0", + "notnull": true + }, + "stat_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "times_used": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "usage_type": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + } + }, + "default_directory": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "deleted_contacts": { + "contact_deleted_timestamp": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "contact_id": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "directories": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "accountName": { + "datatype": "TEXT" + }, + "accountType": { + "datatype": "TEXT" + }, + "authority": { + "datatype": "TEXT", + "notnull": true + }, + "displayName": { + "datatype": "TEXT" + }, + "exportSupport": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "packageName": { + "datatype": "TEXT", + "notnull": true + }, + "photoSupport": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "shortcutSupport": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "typeResourceId": { + "datatype": "INTEGER" + }, + "typeResourceName": { + "datatype": "TEXT" + } + }, + "groups": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "account_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "accounts(_id)" + }, + "auto_add": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "deleted": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "dirty": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "favorites": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "group_is_read_only": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "group_visible": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "notes": { + "datatype": "TEXT" + }, + "package_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "package(_id)" + }, + "should_sync": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + }, + "sourceid": { + "datatype": "TEXT" + }, + "sync1": { + "datatype": "TEXT" + }, + "sync2": { + "datatype": "TEXT" + }, + "sync3": { + "datatype": "TEXT" + }, + "sync4": { + "datatype": "TEXT" + }, + "system_id": { + "datatype": "TEXT" + }, + "title": { + "datatype": "TEXT" + }, + "title_res": { + "datatype": "INTEGER" + }, + "version": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + } + }, + "mimetypes": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "mimetype": { + "datatype": "TEXT", + "notnull": true + } + }, + "name_lookup": { + "data_id": { + "datatype": "INTEGER", + "notnull": true, + "primarykey": true, + "references": true, + "referencesdata": "data(_id)" + }, + "name_type": { + "datatype": "INTEGER", + "notnull": true, + "primarykey": true + }, + "normalized_name": { + "datatype": "TEXT", + "notnull": true, + "primarykey": true + }, + "raw_contact_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "raw_contacts(_id)" + } + }, + "nickname_lookup": { + "cluster": { + "datatype": "TEXT" + }, + "name": { + "datatype": "TEXT" + } + }, + "packages": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "package": { + "datatype": "TEXT", + "notnull": true + } + }, + "phone_lookup": { + "data_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "data(_id)" + }, + "min_match": { + "datatype": "TEXT", + "notnull": true + }, + "normalized_number": { + "datatype": "TEXT", + "notnull": true + }, + "raw_contact_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "raw_contacts(_id)" + } + }, + "photo_files": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "filesize": { + "datatype": "INTEGER", + "notnull": true + }, + "height": { + "datatype": "INTEGER", + "notnull": true + }, + "width": { + "datatype": "INTEGER", + "notnull": true + } + }, + "properties": { + "property_key": { + "datatype": "TEXT", + "primarykey": true + }, + "property_value": { + "datatype": "TEXT" + } + }, + "raw_contacts": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "account_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "accounts(_id)" + }, + "aggregation_mode": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "aggregation_needed": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + }, + "contact_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "contacts(_id)" + }, + "custom_ringtone": { + "datatype": "TEXT" + }, + "deleted": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "dirty": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "display_name": { + "datatype": "TEXT" + }, + "display_name_alt": { + "datatype": "TEXT" + }, + "display_name_source": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "last_time_contacted": { + "datatype": "INTEGER" + }, + "name_verified": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "phonebook_bucket": { + "datatype": "INTEGER" + }, + "phonebook_bucket_alt": { + "datatype": "INTEGER" + }, + "phonebook_label": { + "datatype": "TEXT" + }, + "phonebook_label_alt": { + "datatype": "TEXT" + }, + "phonetic_name": { + "datatype": "TEXT" + }, + "phonetic_name_style": { + "datatype": "TEXT" + }, + "pinned": { + "datatype": "INTEGER", + "default": "2147483647", + "notnull": true + }, + "raw_contact_is_read_only": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "send_to_voicemail": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "sort_key": { + "datatype": "TEXT" + }, + "sort_key_alt": { + "datatype": "TEXT" + }, + "sourceid": { + "datatype": "TEXT" + }, + "starred": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "sync1": { + "datatype": "TEXT" + }, + "sync2": { + "datatype": "TEXT" + }, + "sync3": { + "datatype": "TEXT" + }, + "sync4": { + "datatype": "TEXT" + }, + "times_contacted": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "version": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + } + }, + "search_index": { + "contact_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "contacts(_id)" + }, + "content": { + "datatype": "TEXT" + }, + "name": { + "datatype": "TEXT" + }, + "tokens": { + "datatype": "TEXT" + } + }, + "search_index_content": { + "c0contact_id": { + "datatype": "INTEGER" + }, + "c1content": { + "datatype": "INTEGER" + }, + "c2name": { + "datatype": "INTEGER" + }, + "c3tokens": { + "datatype": "INTEGER" + }, + "docid": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "search_index_docsize": { + "docid": { + "datatype": "INTEGER", + "primarykey": true + }, + "size": { + "datatype": "BLOB" + } + }, + "search_index_segdir": { + "end_block": { + "datatype": "INTEGER" + }, + "idx": { + "datatype": "INTEGER", + "primarykey": true + }, + "leaves_end_block": { + "datatype": "INTEGER" + }, + "level": { + "datatype": "INTEGER", + "primarykey": true + }, + "root": { + "datatype": "BLOB" + }, + "start_block": { + "datatype": "INTEGER" + } + }, + "search_index_segments": { + "block": { + "datatype": "BLOB" + }, + "blockid": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "search_index_stat": { + "id": { + "datatype": "INTEGER", + "primarykey": true + }, + "value": { + "datatype": "BLOB" + } + }, + "settings": { + "account_name": { + "datatype": "STRING", + "notnull": true + }, + "account_type": { + "datatype": "STRING", + "notnull": true + }, + "data_set": { + "datatype": "STRING" + }, + "should_sync": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + }, + "ungrouped_visible": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + } + }, + "sqlite_sequence": { + "name": { + "datatype": "INTEGER" + }, + "seq": { + "datatype": "INTEGER" + } + }, + "sqlite_stat1": { + "idx": { + "datatype": "INTEGER" + }, + "stat": { + "datatype": "INTEGER" + }, + "tbl": { + "datatype": "INTEGER" + } + }, + "status_updates": { + "status": { + "datatype": "TEXT" + }, + "status_icon": { + "datatype": "INTEGER" + }, + "status_label": { + "datatype": "INTEGER" + }, + "status_res_package": { + "datatype": "TEXT" + }, + "status_ts": { + "datatype": "INTEGER" + }, + "status_update_data_id": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "stream_item_photos": { + "FOREIGN": { + "datatype": "KEY" + }, + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "photo_file_id": { + "datatype": "INTEGER", + "notnull": true + }, + "sort_index": { + "datatype": "INTEGER" + }, + "stream_item_id": { + "datatype": "INTEGER", + "notnull": true + }, + "stream_item_photo_sync1": { + "datatype": "TEXT" + }, + "stream_item_photo_sync2": { + "datatype": "TEXT" + }, + "stream_item_photo_sync3": { + "datatype": "TEXT" + }, + "stream_item_photo_sync4": { + "datatype": "TEXT" + } + }, + "stream_items": { + "FOREIGN": { + "datatype": "KEY" + }, + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "comments": { + "datatype": "TEXT" + }, + "icon": { + "datatype": "TEXT" + }, + "label": { + "datatype": "TEXT" + }, + "raw_contact_id": { + "datatype": "INTEGER", + "notnull": true + }, + "res_package": { + "datatype": "TEXT" + }, + "stream_item_sync1": { + "datatype": "TEXT" + }, + "stream_item_sync2": { + "datatype": "TEXT" + }, + "stream_item_sync3": { + "datatype": "TEXT" + }, + "stream_item_sync4": { + "datatype": "TEXT" + }, + "text": { + "datatype": "TEXT" + }, + "timestamp": { + "datatype": "INTEGER", + "notnull": true + } + }, + "v1_settings": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "_sync_account": { + "datatype": "TEXT" + }, + "_sync_account_type": { + "datatype": "TEXT" + }, + "key": { + "datatype": "STRING", + "notnull": true + }, + "value": { + "datatype": "STRING" + } + }, + "visible_contacts": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "voicemail_status": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "configuration_state": { + "datatype": "INTEGER" + }, + "data_channel_state": { + "datatype": "INTEGER" + }, + "notification_channel_state": { + "datatype": "INTEGER" + }, + "settings_uri": { + "datatype": "TEXT" + }, + "source_package": { + "datatype": "TEXT" + }, + "voicemail_access_uri": { + "datatype": "TEXT" + } + } + } +} \ No newline at end of file diff --git a/tests/fp_data/com.android.providers.contacts__profile.db__dbfp.json b/tests/fp_data/com.android.providers.contacts__profile.db__dbfp.json new file mode 100644 index 0000000..bec826a --- /dev/null +++ b/tests/fp_data/com.android.providers.contacts__profile.db__dbfp.json @@ -0,0 +1,1088 @@ +{ + "_file-metadata": { + "app-name": "com.android.providers.contacts", + "app-ver": "", + "dn-name": "profile.db", + "format-ver": "0.91", + "notes": "", + "scan-date": "2016-01-08_110349", + "scanner-name": "dbfp", + "scanner-ver": "0.95" + }, + "db-metadata": { + "_sync_state": "CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,account_name TEXT NOT NULL,account_type TEXT NOT NULL,data TEXT,UNIQUE(account_name, account_type))", + "_sync_state_metadata": "CREATE TABLE _sync_state_metadata (version INTEGER)", + "accounts": "CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_name TEXT, account_type TEXT, data_set TEXT)", + "agg_exceptions": "CREATE TABLE agg_exceptions (_id INTEGER PRIMARY KEY AUTOINCREMENT,type INTEGER NOT NULL, raw_contact_id1 INTEGER REFERENCES raw_contacts(_id), raw_contact_id2 INTEGER REFERENCES raw_contacts(_id))", + "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", + "calls": "CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,presentation INTEGER NOT NULL DEFAULT 1,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT,countryiso TEXT,voicemail_uri TEXT,is_read INTEGER,geocoded_location TEXT,lookup_uri TEXT,matched_number TEXT,normalized_number TEXT,photo_id INTEGER NOT NULL DEFAULT 0,formatted_number TEXT,_data TEXT,has_content INTEGER,mime_type TEXT,source_data TEXT,source_package TEXT,state INTEGER)", + "contacts": "CREATE TABLE contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name_raw_contact_id INTEGER REFERENCES raw_contacts(_id),photo_id INTEGER REFERENCES data(_id),photo_file_id INTEGER REFERENCES photo_files(_id),custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 2147483647,has_phone_number INTEGER NOT NULL DEFAULT 0,lookup TEXT,status_update_id INTEGER REFERENCES data(_id),contact_last_updated_timestamp INTEGER)", + "data": "CREATE TABLE data (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id),mimetype_id INTEGER REFERENCES mimetype(_id) NOT NULL,raw_contact_id INTEGER REFERENCES raw_contacts(_id) NOT NULL,is_read_only INTEGER NOT NULL DEFAULT 0,is_primary INTEGER NOT NULL DEFAULT 0,is_super_primary INTEGER NOT NULL DEFAULT 0,data_version INTEGER NOT NULL DEFAULT 0,data1 TEXT,data2 TEXT,data3 TEXT,data4 TEXT,data5 TEXT,data6 TEXT,data7 TEXT,data8 TEXT,data9 TEXT,data10 TEXT,data11 TEXT,data12 TEXT,data13 TEXT,data14 TEXT,data15 TEXT,data_sync1 TEXT, data_sync2 TEXT, data_sync3 TEXT, data_sync4 TEXT )", + "data_usage_stat": "CREATE TABLE data_usage_stat(stat_id INTEGER PRIMARY KEY AUTOINCREMENT, data_id INTEGER NOT NULL, usage_type INTEGER NOT NULL DEFAULT 0, times_used INTEGER NOT NULL DEFAULT 0, last_time_used INTERGER NOT NULL DEFAULT 0, FOREIGN KEY(data_id) REFERENCES data(_id))", + "default_directory": "CREATE TABLE default_directory (_id INTEGER PRIMARY KEY)", + "deleted_contacts": "CREATE TABLE deleted_contacts (contact_id INTEGER PRIMARY KEY,contact_deleted_timestamp INTEGER NOT NULL default 0)", + "directories": "CREATE TABLE directories(_id INTEGER PRIMARY KEY AUTOINCREMENT,packageName TEXT NOT NULL,authority TEXT NOT NULL,typeResourceId INTEGER,typeResourceName TEXT,accountType TEXT,accountName TEXT,displayName TEXT, exportSupport INTEGER NOT NULL DEFAULT 0,shortcutSupport INTEGER NOT NULL DEFAULT 0,photoSupport INTEGER NOT NULL DEFAULT 0)", + "groups": "CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id),account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,title TEXT,title_res INTEGER,notes TEXT,system_id TEXT,deleted INTEGER NOT NULL DEFAULT 0,group_visible INTEGER NOT NULL DEFAULT 0,should_sync INTEGER NOT NULL DEFAULT 1,auto_add INTEGER NOT NULL DEFAULT 0,favorites INTEGER NOT NULL DEFAULT 0,group_is_read_only INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT )", + "mimetypes": "CREATE TABLE mimetypes (_id INTEGER PRIMARY KEY AUTOINCREMENT,mimetype TEXT NOT NULL)", + "name_lookup": "CREATE TABLE name_lookup (data_id INTEGER REFERENCES data(_id) NOT NULL,raw_contact_id INTEGER REFERENCES raw_contacts(_id) NOT NULL,normalized_name TEXT NOT NULL,name_type INTEGER NOT NULL,PRIMARY KEY (data_id, normalized_name, name_type))", + "nickname_lookup": "CREATE TABLE nickname_lookup (name TEXT,cluster TEXT)", + "packages": "CREATE TABLE packages (_id INTEGER PRIMARY KEY AUTOINCREMENT,package TEXT NOT NULL)", + "phone_lookup": "CREATE TABLE phone_lookup (data_id INTEGER REFERENCES data(_id) NOT NULL,raw_contact_id INTEGER REFERENCES raw_contacts(_id) NOT NULL,normalized_number TEXT NOT NULL,min_match TEXT NOT NULL)", + "photo_files": "CREATE TABLE photo_files (_id INTEGER PRIMARY KEY AUTOINCREMENT, height INTEGER NOT NULL, width INTEGER NOT NULL, filesize INTEGER NOT NULL)", + "properties": "CREATE TABLE properties (property_key TEXT PRIMARY KEY, property_value TEXT )", + "raw_contacts": "CREATE TABLE raw_contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,raw_contact_is_read_only INTEGER NOT NULL DEFAULT 0,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL DEFAULT 0,contact_id INTEGER REFERENCES contacts(_id),aggregation_mode INTEGER NOT NULL DEFAULT 0,aggregation_needed INTEGER NOT NULL DEFAULT 1,custom_ringtone TEXT,send_to_voicemail INTEGER NOT NULL DEFAULT 0,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,pinned INTEGER NOT NULL DEFAULT 2147483647,display_name TEXT,display_name_alt TEXT,display_name_source INTEGER NOT NULL DEFAULT 0,phonetic_name TEXT,phonetic_name_style TEXT,sort_key TEXT COLLATE PHONEBOOK,phonebook_label TEXT,phonebook_bucket INTEGER,sort_key_alt TEXT COLLATE PHONEBOOK,phonebook_label_alt TEXT,phonebook_bucket_alt INTEGER,name_verified INTEGER NOT NULL DEFAULT 0,sync1 TEXT, sync2 TEXT, sync3 TEXT, sync4 TEXT )", + "search_index": "CREATE VIRTUAL TABLE search_index USING FTS4 (contact_id INTEGER REFERENCES contacts(_id) NOT NULL,content TEXT, name TEXT, tokens TEXT)", + "search_index_content": "CREATE TABLE 'search_index_content'(docid INTEGER PRIMARY KEY, 'c0contact_id', 'c1content', 'c2name', 'c3tokens')", + "search_index_docsize": "CREATE TABLE 'search_index_docsize'(docid INTEGER PRIMARY KEY, size BLOB)", + "search_index_segdir": "CREATE TABLE 'search_index_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx))", + "search_index_segments": "CREATE TABLE 'search_index_segments'(blockid INTEGER PRIMARY KEY, block BLOB)", + "search_index_stat": "CREATE TABLE 'search_index_stat'(id INTEGER PRIMARY KEY, value BLOB)", + "settings": "CREATE TABLE settings (account_name STRING NOT NULL,account_type STRING NOT NULL,data_set STRING,ungrouped_visible INTEGER NOT NULL DEFAULT 0,should_sync INTEGER NOT NULL DEFAULT 1)", + "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)", + "sqlite_stat1": "CREATE TABLE sqlite_stat1(tbl,idx,stat)", + "status_updates": "CREATE TABLE status_updates (status_update_data_id INTEGER PRIMARY KEY REFERENCES data(_id),status TEXT,status_ts INTEGER,status_res_package TEXT, status_label INTEGER, status_icon INTEGER)", + "stream_item_photos": "CREATE TABLE stream_item_photos (_id INTEGER PRIMARY KEY AUTOINCREMENT, stream_item_id INTEGER NOT NULL, sort_index INTEGER, photo_file_id INTEGER NOT NULL, stream_item_photo_sync1 TEXT, stream_item_photo_sync2 TEXT, stream_item_photo_sync3 TEXT, stream_item_photo_sync4 TEXT, FOREIGN KEY(stream_item_id) REFERENCES stream_items(_id))", + "stream_items": "CREATE TABLE stream_items (_id INTEGER PRIMARY KEY AUTOINCREMENT, raw_contact_id INTEGER NOT NULL, res_package TEXT, icon TEXT, label TEXT, text TEXT, timestamp INTEGER NOT NULL, comments TEXT, stream_item_sync1 TEXT, stream_item_sync2 TEXT, stream_item_sync3 TEXT, stream_item_sync4 TEXT, FOREIGN KEY(raw_contact_id) REFERENCES raw_contacts(_id))", + "v1_settings": "CREATE TABLE v1_settings (_id INTEGER PRIMARY KEY,_sync_account TEXT,_sync_account_type TEXT,key STRING NOT NULL,value STRING )", + "visible_contacts": "CREATE TABLE visible_contacts (_id INTEGER PRIMARY KEY)", + "voicemail_status": "CREATE TABLE voicemail_status (_id INTEGER PRIMARY KEY AUTOINCREMENT,source_package TEXT UNIQUE NOT NULL,settings_uri TEXT,voicemail_access_uri TEXT,configuration_state INTEGER,data_channel_state INTEGER,notification_channel_state INTEGER)" + }, + "db-metadata-hashes": { + "_sync_state": "b87dbd41332fefed918f722392a413f1", + "_sync_state_metadata": "b018ea44c267b279a7591580d7152e2d", + "accounts": "f606e98bb3514d47f85db02f13e35eff", + "agg_exceptions": "580b4c7ddec986334c56d4d5562f0d4e", + "android_metadata": "ba739eb03730e563915f2f76b26ced51", + "calls": "9ef99127e55eefb301a9860a49ef8dc8", + "contacts": "12614dc36cb6594b219a44b987589b59", + "data": "2d578ea22c45f608b70e9b5118ce1315", + "data_usage_stat": "95859cafc58f0650d7b44eb645acda60", + "default_directory": "fa82ea61ddf6943d5279639ef9762c7b", + "deleted_contacts": "ded7727effe7b8518d6a49fc2100dda3", + "directories": "0d80f652e203843a542a8d3813cb6456", + "groups": "5b716d15eac62cac37b2a5b3df45299f", + "mimetypes": "481cc0b131875c7e45607fdde90f6cd0", + "name_lookup": "52c527eda8ffff058be84722b9de2759", + "nickname_lookup": "a0476eb5bf00773a0038cb8929f8e0a2", + "packages": "010e30bef85117885584fdd47da7be67", + "phone_lookup": "341e23c6864093d94e4eb4933610530a", + "photo_files": "e0deadfa8ebacb0e94eeef6c88950101", + "properties": "a5af6db2b1eb8ee13b78e4f259b94552", + "raw_contacts": "bf46d5cdbb0d8a5da846c054e866ff7f", + "search_index": "c222b7aaee2ff274a74ade1a9e1c6ed8", + "search_index_content": "d80d9ea5eb4a0df9b81105923d33da31", + "search_index_docsize": "3e5f37504dfb2e217e904ef1e203bd8f", + "search_index_segdir": "52992214cdf6d9d84618317deeb451fa", + "search_index_segments": "cc2d681f809c584db305d6794e5b0d35", + "search_index_stat": "5ca43b5bc0aa3425c1560e74b5687c38", + "settings": "bb4300d3aa332aab1f5956b6c76610b2", + "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2", + "sqlite_stat1": "50135107f57c79c1ea1b65f38a486fe0", + "status_updates": "eba241cd21a03178062d567b2a6c2c05", + "stream_item_photos": "c94437a91586b046f0b0b3f5912a06f3", + "stream_items": "a9a7ef56e0983ef11672942c38c6deed", + "v1_settings": "03c5cff3d4ea1586ea81287046b9adbd", + "visible_contacts": "8bfe27c783fb07c0b3faa359eeb1b76d", + "voicemail_status": "8968b80db1f6b44ddad9eb920e556aed" + }, + "db-metadata-md5": "e35fbefe86fad99613f8dbe1e3c2c1cb", + "tables": { + "_sync_state": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "account_name": { + "datatype": "TEXT", + "notnull": true, + "unique": true + }, + "account_type": { + "datatype": "TEXT", + "notnull": true, + "unique": true + }, + "data": { + "datatype": "TEXT" + } + }, + "_sync_state_metadata": { + "version": { + "datatype": "INTEGER" + } + }, + "accounts": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "account_name": { + "datatype": "TEXT" + }, + "account_type": { + "datatype": "TEXT" + }, + "data_set": { + "datatype": "TEXT" + } + }, + "agg_exceptions": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "raw_contact_id1": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "raw_contacts(_id)" + }, + "raw_contact_id2": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "raw_contacts(_id)" + }, + "type": { + "datatype": "INTEGER", + "notnull": true + } + }, + "android_metadata": { + "locale": { + "datatype": "TEXT" + } + }, + "calls": { + "_data": { + "datatype": "TEXT" + }, + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "countryiso": { + "datatype": "TEXT" + }, + "date": { + "datatype": "INTEGER" + }, + "duration": { + "datatype": "INTEGER" + }, + "formatted_number": { + "datatype": "TEXT" + }, + "geocoded_location": { + "datatype": "TEXT" + }, + "has_content": { + "datatype": "INTEGER" + }, + "is_read": { + "datatype": "INTEGER" + }, + "lookup_uri": { + "datatype": "TEXT" + }, + "matched_number": { + "datatype": "TEXT" + }, + "mime_type": { + "datatype": "TEXT" + }, + "name": { + "datatype": "TEXT" + }, + "new": { + "datatype": "INTEGER" + }, + "normalized_number": { + "datatype": "TEXT" + }, + "number": { + "datatype": "TEXT" + }, + "numberlabel": { + "datatype": "TEXT" + }, + "numbertype": { + "datatype": "INTEGER" + }, + "photo_id": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "presentation": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + }, + "source_data": { + "datatype": "TEXT" + }, + "source_package": { + "datatype": "TEXT" + }, + "state": { + "datatype": "INTEGER" + }, + "type": { + "datatype": "INTEGER" + }, + "voicemail_uri": { + "datatype": "TEXT" + } + }, + "contacts": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "contact_last_updated_timestamp": { + "datatype": "INTEGER" + }, + "custom_ringtone": { + "datatype": "TEXT" + }, + "has_phone_number": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "last_time_contacted": { + "datatype": "INTEGER" + }, + "lookup": { + "datatype": "TEXT" + }, + "name_raw_contact_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "raw_contacts(_id)" + }, + "photo_file_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "photo_files(_id)" + }, + "photo_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "data(_id)" + }, + "pinned": { + "datatype": "INTEGER", + "default": "2147483647", + "notnull": true + }, + "send_to_voicemail": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "starred": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "status_update_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "data(_id)" + }, + "times_contacted": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + } + }, + "data": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "data1": { + "datatype": "TEXT" + }, + "data10": { + "datatype": "TEXT" + }, + "data11": { + "datatype": "TEXT" + }, + "data12": { + "datatype": "TEXT" + }, + "data13": { + "datatype": "TEXT" + }, + "data14": { + "datatype": "TEXT" + }, + "data15": { + "datatype": "TEXT" + }, + "data2": { + "datatype": "TEXT" + }, + "data3": { + "datatype": "TEXT" + }, + "data4": { + "datatype": "TEXT" + }, + "data5": { + "datatype": "TEXT" + }, + "data6": { + "datatype": "TEXT" + }, + "data7": { + "datatype": "TEXT" + }, + "data8": { + "datatype": "TEXT" + }, + "data9": { + "datatype": "TEXT" + }, + "data_sync1": { + "datatype": "TEXT" + }, + "data_sync2": { + "datatype": "TEXT" + }, + "data_sync3": { + "datatype": "TEXT" + }, + "data_sync4": { + "datatype": "TEXT" + }, + "data_version": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "is_primary": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "is_read_only": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "is_super_primary": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "mimetype_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "mimetype(_id)" + }, + "package_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "package(_id)" + }, + "raw_contact_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "raw_contacts(_id)" + } + }, + "data_usage_stat": { + "FOREIGN": { + "datatype": "KEY" + }, + "data_id": { + "datatype": "INTEGER", + "notnull": true + }, + "last_time_used": { + "datatype": "INTERGER", + "default": "0", + "notnull": true + }, + "stat_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "times_used": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "usage_type": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + } + }, + "default_directory": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "deleted_contacts": { + "contact_deleted_timestamp": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "contact_id": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "directories": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "accountName": { + "datatype": "TEXT" + }, + "accountType": { + "datatype": "TEXT" + }, + "authority": { + "datatype": "TEXT", + "notnull": true + }, + "displayName": { + "datatype": "TEXT" + }, + "exportSupport": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "packageName": { + "datatype": "TEXT", + "notnull": true + }, + "photoSupport": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "shortcutSupport": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "typeResourceId": { + "datatype": "INTEGER" + }, + "typeResourceName": { + "datatype": "TEXT" + } + }, + "groups": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "account_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "accounts(_id)" + }, + "auto_add": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "deleted": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "dirty": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "favorites": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "group_is_read_only": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "group_visible": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "notes": { + "datatype": "TEXT" + }, + "package_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "package(_id)" + }, + "should_sync": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + }, + "sourceid": { + "datatype": "TEXT" + }, + "sync1": { + "datatype": "TEXT" + }, + "sync2": { + "datatype": "TEXT" + }, + "sync3": { + "datatype": "TEXT" + }, + "sync4": { + "datatype": "TEXT" + }, + "system_id": { + "datatype": "TEXT" + }, + "title": { + "datatype": "TEXT" + }, + "title_res": { + "datatype": "INTEGER" + }, + "version": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + } + }, + "mimetypes": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "mimetype": { + "datatype": "TEXT", + "notnull": true + } + }, + "name_lookup": { + "data_id": { + "datatype": "INTEGER", + "notnull": true, + "primarykey": true, + "references": true, + "referencesdata": "data(_id)" + }, + "name_type": { + "datatype": "INTEGER", + "notnull": true, + "primarykey": true + }, + "normalized_name": { + "datatype": "TEXT", + "notnull": true, + "primarykey": true + }, + "raw_contact_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "raw_contacts(_id)" + } + }, + "nickname_lookup": { + "cluster": { + "datatype": "TEXT" + }, + "name": { + "datatype": "TEXT" + } + }, + "packages": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "package": { + "datatype": "TEXT", + "notnull": true + } + }, + "phone_lookup": { + "data_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "data(_id)" + }, + "min_match": { + "datatype": "TEXT", + "notnull": true + }, + "normalized_number": { + "datatype": "TEXT", + "notnull": true + }, + "raw_contact_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "raw_contacts(_id)" + } + }, + "photo_files": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "filesize": { + "datatype": "INTEGER", + "notnull": true + }, + "height": { + "datatype": "INTEGER", + "notnull": true + }, + "width": { + "datatype": "INTEGER", + "notnull": true + } + }, + "properties": { + "property_key": { + "datatype": "TEXT", + "primarykey": true + }, + "property_value": { + "datatype": "TEXT" + } + }, + "raw_contacts": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "account_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "accounts(_id)" + }, + "aggregation_mode": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "aggregation_needed": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + }, + "contact_id": { + "datatype": "INTEGER", + "references": true, + "referencesdata": "contacts(_id)" + }, + "custom_ringtone": { + "datatype": "TEXT" + }, + "deleted": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "dirty": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "display_name": { + "datatype": "TEXT" + }, + "display_name_alt": { + "datatype": "TEXT" + }, + "display_name_source": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "last_time_contacted": { + "datatype": "INTEGER" + }, + "name_verified": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "phonebook_bucket": { + "datatype": "INTEGER" + }, + "phonebook_bucket_alt": { + "datatype": "INTEGER" + }, + "phonebook_label": { + "datatype": "TEXT" + }, + "phonebook_label_alt": { + "datatype": "TEXT" + }, + "phonetic_name": { + "datatype": "TEXT" + }, + "phonetic_name_style": { + "datatype": "TEXT" + }, + "pinned": { + "datatype": "INTEGER", + "default": "2147483647", + "notnull": true + }, + "raw_contact_is_read_only": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "send_to_voicemail": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "sort_key": { + "datatype": "TEXT" + }, + "sort_key_alt": { + "datatype": "TEXT" + }, + "sourceid": { + "datatype": "TEXT" + }, + "starred": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "sync1": { + "datatype": "TEXT" + }, + "sync2": { + "datatype": "TEXT" + }, + "sync3": { + "datatype": "TEXT" + }, + "sync4": { + "datatype": "TEXT" + }, + "times_contacted": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "version": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + } + }, + "search_index": { + "contact_id": { + "datatype": "INTEGER", + "notnull": true, + "references": true, + "referencesdata": "contacts(_id)" + }, + "content": { + "datatype": "TEXT" + }, + "name": { + "datatype": "TEXT" + }, + "tokens": { + "datatype": "TEXT" + } + }, + "search_index_content": { + "c0contact_id": { + "datatype": "INTEGER" + }, + "c1content": { + "datatype": "INTEGER" + }, + "c2name": { + "datatype": "INTEGER" + }, + "c3tokens": { + "datatype": "INTEGER" + }, + "docid": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "search_index_docsize": { + "docid": { + "datatype": "INTEGER", + "primarykey": true + }, + "size": { + "datatype": "BLOB" + } + }, + "search_index_segdir": { + "end_block": { + "datatype": "INTEGER" + }, + "idx": { + "datatype": "INTEGER", + "primarykey": true + }, + "leaves_end_block": { + "datatype": "INTEGER" + }, + "level": { + "datatype": "INTEGER", + "primarykey": true + }, + "root": { + "datatype": "BLOB" + }, + "start_block": { + "datatype": "INTEGER" + } + }, + "search_index_segments": { + "block": { + "datatype": "BLOB" + }, + "blockid": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "search_index_stat": { + "id": { + "datatype": "INTEGER", + "primarykey": true + }, + "value": { + "datatype": "BLOB" + } + }, + "settings": { + "account_name": { + "datatype": "STRING", + "notnull": true + }, + "account_type": { + "datatype": "STRING", + "notnull": true + }, + "data_set": { + "datatype": "STRING" + }, + "should_sync": { + "datatype": "INTEGER", + "default": "1", + "notnull": true + }, + "ungrouped_visible": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + } + }, + "sqlite_sequence": { + "name": { + "datatype": "INTEGER" + }, + "seq": { + "datatype": "INTEGER" + } + }, + "sqlite_stat1": { + "idx": { + "datatype": "INTEGER" + }, + "stat": { + "datatype": "INTEGER" + }, + "tbl": { + "datatype": "INTEGER" + } + }, + "status_updates": { + "status": { + "datatype": "TEXT" + }, + "status_icon": { + "datatype": "INTEGER" + }, + "status_label": { + "datatype": "INTEGER" + }, + "status_res_package": { + "datatype": "TEXT" + }, + "status_ts": { + "datatype": "INTEGER" + }, + "status_update_data_id": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "stream_item_photos": { + "FOREIGN": { + "datatype": "KEY" + }, + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "photo_file_id": { + "datatype": "INTEGER", + "notnull": true + }, + "sort_index": { + "datatype": "INTEGER" + }, + "stream_item_id": { + "datatype": "INTEGER", + "notnull": true + }, + "stream_item_photo_sync1": { + "datatype": "TEXT" + }, + "stream_item_photo_sync2": { + "datatype": "TEXT" + }, + "stream_item_photo_sync3": { + "datatype": "TEXT" + }, + "stream_item_photo_sync4": { + "datatype": "TEXT" + } + }, + "stream_items": { + "FOREIGN": { + "datatype": "KEY" + }, + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "comments": { + "datatype": "TEXT" + }, + "icon": { + "datatype": "TEXT" + }, + "label": { + "datatype": "TEXT" + }, + "raw_contact_id": { + "datatype": "INTEGER", + "notnull": true + }, + "res_package": { + "datatype": "TEXT" + }, + "stream_item_sync1": { + "datatype": "TEXT" + }, + "stream_item_sync2": { + "datatype": "TEXT" + }, + "stream_item_sync3": { + "datatype": "TEXT" + }, + "stream_item_sync4": { + "datatype": "TEXT" + }, + "text": { + "datatype": "TEXT" + }, + "timestamp": { + "datatype": "INTEGER", + "notnull": true + } + }, + "v1_settings": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "_sync_account": { + "datatype": "TEXT" + }, + "_sync_account_type": { + "datatype": "TEXT" + }, + "key": { + "datatype": "STRING", + "notnull": true + }, + "value": { + "datatype": "STRING" + } + }, + "visible_contacts": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + } + }, + "voicemail_status": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "configuration_state": { + "datatype": "INTEGER" + }, + "data_channel_state": { + "datatype": "INTEGER" + }, + "notification_channel_state": { + "datatype": "INTEGER" + }, + "settings_uri": { + "datatype": "TEXT" + }, + "source_package": { + "datatype": "TEXT" + }, + "voicemail_access_uri": { + "datatype": "TEXT" + } + } + } +} \ No newline at end of file diff --git a/tests/fp_data/com.android.providers.userdictionary__user_dict.db__dbfp.json b/tests/fp_data/com.android.providers.userdictionary__user_dict.db__dbfp.json deleted file mode 100644 index d681414..0000000 --- a/tests/fp_data/com.android.providers.userdictionary__user_dict.db__dbfp.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.android.providers.userdictionary", - "app-ver": "", - "dn-name": "user_dict.db", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "words": "CREATE TABLE words (_id INTEGER PRIMARY KEY,word TEXT,frequency INTEGER,locale TEXT,appid INTEGER,shortcut TEXT)" - }, - "db-metadata-hashes": { - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "words": "896ef53f3b25f2b7f2bb6b1997bb37a3" - }, - "db-metadata-md5": "bc7745ccd676fe108c37ed21eea90a9a", - "tables": { - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "words": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "appid": { - "datatype": "INTEGER" - }, - "frequency": { - "datatype": "INTEGER" - }, - "locale": { - "datatype": "TEXT" - }, - "shortcut": { - "datatype": "TEXT" - }, - "word": { - "datatype": "TEXT" - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data/com.android.vending__library.db__dbfp.json b/tests/fp_data/com.android.vending__library.db__dbfp.json deleted file mode 100644 index c6e7ae0..0000000 --- a/tests/fp_data/com.android.vending__library.db__dbfp.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.android.vending", - "app-ver": "", - "dn-name": "library.db", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "ownership": "CREATE TABLE ownership (account STRING, library_id STRING, backend INTEGER, doc_id STRING, doc_type INTEGER, offer_type INTEGER, document_hash INTEGER, subs_valid_until_time INTEGER, app_certificate_hash STRING, app_refund_pre_delivery_endtime_ms INTEGER, app_refund_post_delivery_window_ms INTEGER, subs_auto_renewing INTEGER, subs_initiation_time INTEGER, subs_trial_until_time INTEGER, inapp_purchase_data STRING, inapp_signature STRING, preordered INTEGER, owned_via_license INTEGER, shared_by_me INTEGER, sharer_person_doc_id STRING, PRIMARY KEY (account, library_id, backend, doc_id, doc_type, offer_type))" - }, - "db-metadata-hashes": { - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "ownership": "6d9a6d777d0fa685cc87731a9d9852b5" - }, - "db-metadata-md5": "353972ddb011f7f7fb570a1b04dc5cdf", - "tables": { - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "ownership": { - "account": { - "datatype": "STRING", - "primarykey": true - }, - "app_certificate_hash": { - "datatype": "STRING" - }, - "app_refund_post_delivery_window_ms": { - "datatype": "INTEGER" - }, - "app_refund_pre_delivery_endtime_ms": { - "datatype": "INTEGER" - }, - "backend": { - "datatype": "INTEGER", - "primarykey": true - }, - "doc_id": { - "datatype": "STRING", - "primarykey": true - }, - "doc_type": { - "datatype": "INTEGER", - "primarykey": true - }, - "document_hash": { - "datatype": "INTEGER" - }, - "inapp_purchase_data": { - "datatype": "STRING" - }, - "inapp_signature": { - "datatype": "STRING" - }, - "library_id": { - "datatype": "STRING", - "primarykey": true - }, - "offer_type": { - "datatype": "INTEGER", - "primarykey": true - }, - "owned_via_license": { - "datatype": "INTEGER" - }, - "preordered": { - "datatype": "INTEGER" - }, - "shared_by_me": { - "datatype": "INTEGER" - }, - "sharer_person_doc_id": { - "datatype": "STRING" - }, - "subs_auto_renewing": { - "datatype": "INTEGER" - }, - "subs_initiation_time": { - "datatype": "INTEGER" - }, - "subs_trial_until_time": { - "datatype": "INTEGER" - }, - "subs_valid_until_time": { - "datatype": "INTEGER" - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data/com.google.android.gms__fitness.db.username_gmail.com__dbfp.json b/tests/fp_data/com.google.android.gms__fitness.db.username_gmail.com__dbfp.json index e6acf35..6d46626 100644 --- a/tests/fp_data/com.google.android.gms__fitness.db.username_gmail.com__dbfp.json +++ b/tests/fp_data/com.google.android.gms__fitness.db.username_gmail.com__dbfp.json @@ -2,232 +2,49 @@ "_file-metadata": { "app-name": "com.google.android.gms", "app-ver": "", - "dn-name": "fitness.db.username_gmail.com", + "dn-name": "fitness.db.johnegq_gmail.com", "format-ver": "0.91", "notes": "", - "scan-date": "2015-12-10_192852", + "scan-date": "2016-01-08_110349", "scanner-name": "dbfp", - "scanner-ver": "0.90" + "scanner-ver": "0.95" }, "db-metadata": { - "Account143": "CREATE TABLE \"Account143\" (\"Account_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountHolderName\" TEXT NOT NULL, \"forceFullSync\" INTEGER NOT NULL DEFAULT 1, \"lastSyncTime\" INTEGER NOT NULL DEFAULT 0, \"folderSyncClipTime\" INTEGER, \"documentSyncClipTime\" INTEGER, \"lastSyncChangeStamp\" INTEGER NOT NULL DEFAULT 0, \"lastSyncSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"minimumChangeSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"maxUploadSize\" INTEGER NOT NULL DEFAULT 5242880000000, \"forceFullSyncLevel\" INTEGER NOT NULL DEFAULT 0)", - "AndroidApp143": "CREATE TABLE \"AndroidApp143\" (\"AndroidApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"driveAppId\" INTEGER NOT NULL, \"packageName\" TEXT NOT NULL, \"certificateHash\" TEXT NOT NULL, \"networkTypePreference\" INTEGER NOT NULL DEFAULT 1, \"batteryUsagePreference\" INTEGER NOT NULL DEFAULT 256, \"roamingAllowed\" INTEGER NOT NULL DEFAULT 1, FOREIGN KEY(\"driveAppId\") REFERENCES \"DriveApp143\"(\"DriveApp_id\") ON DELETE CASCADE)", "Applications": "CREATE TABLE Applications(_id INTEGER PRIMARY KEY AUTOINCREMENT, package TEXT NOT NULL, version TEXT, details_url TEXT, name TEXT, console_ids TEXT)", "BleCharacteristics": "CREATE TABLE BleCharacteristics (_id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL, properties INTEGER, permissions INTEGER, device_id INTEGER, FOREIGN KEY(device_id) REFERENCES BleDevices(_id) ON DELETE CASCADE)", "BleDevices": "CREATE TABLE BleDevices (_id INTEGER PRIMARY KEY AUTOINCREMENT, type TEXT, name TEXT, address NOT NULL, device_name TEXT, model_number TEXT, manufacturer TEXT, hardware_revision TEXT, firmware_revision TEXT, software_revision TEXT)", "ChangeLog": "CREATE TABLE ChangeLog (_id INTEGER PRIMARY KEY AUTOINCREMENT, timestamp INTEGER NOT NULL, is_delete INTEGER NOT NULL, source_table TEXT NOT NULL, content BLOB NOT NULL, sync_tries INTEGER DEFAULT 0, last_sync_ms INTEGER DEFAULT 0)", - "ContentFileDeletionLock143": "CREATE TABLE \"ContentFileDeletionLock143\" (\"filename\" TEXT PRIMARY KEY NOT NULL)", - "CustomProperty143": "CREATE TABLE \"CustomProperty143\" (\"CustomProperty_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"projectNumber\" INTEGER, \"name\" TEXT NOT NULL, \"value\" TEXT, \"genoaValue\" TEXT, \"actionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", "DataPointRows": "CREATE TABLE DataPointRows (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER REFERENCES DataSources(_id), start_time INTEGER NOT NULL, end_time INTEGER NOT NULL, data_point BLOB NOT NULL)", "DataSourceTypes": "CREATE TABLE DataSourceTypes (data_source_id INTEGER REFERENCES DataSources(_id), data_type_id INTEGER REFERENCES DataTypes(_id))", "DataSources": "CREATE TABLE DataSources (_id INTEGER PRIMARY KEY AUTOINCREMENT, type INTEGER, identifier TEXT, version TEXT, source_name TEXT, stream_name TEXT, device_id INTEGER REFERENCES Devices(_id), application_id INTEGER REFERENCES Applications(_id))", "DataTypeFields": "CREATE TABLE DataTypeFields (_id INTEGER PRIMARY KEY AUTOINCREMENT, field_name TEXT NOT NULL, format INTEGER NOT NULL, data_type_id INTEGER NOT NULL REFERENCES DataTypes(_id))", "DataTypes": "CREATE TABLE DataTypes (_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL)", "Devices": "CREATE TABLE Devices (_id INTEGER PRIMARY KEY AUTOINCREMENT, make TEXT NOT NULL, model TEXT NOT NULL, version TEXT NOT NULL, type INTEGER, uid TEXT, platform_type INTEGER)", - "DriveApp143": "CREATE TABLE \"DriveApp143\" (\"DriveApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"projectNumber\" INTEGER NOT NULL, \"expiryTimestamp\" INTEGER NOT NULL, \"appDataRootEntryId\" INTEGER, \"isAppDataRootPlaceholder\" INTEGER, \"scopes\" TEXT NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE, FOREIGN KEY(\"appDataRootEntryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE SET NULL)", - "DriveIdMapping143": "CREATE TABLE \"DriveIdMapping143\" (\"DriveIdMapping_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"resourceId\" TEXT, \"accountId\" INTEGER NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "Entry143": "CREATE TABLE \"Entry143\" (\"entryId\" INTEGER PRIMARY KEY AUTOINCREMENT, \"title\" TEXT NOT NULL, \"creationDate\" INTEGER NOT NULL, \"lastModifiedDate\" INTEGER NOT NULL, \"lastViewedByMeDate\" INTEGER, \"sharedWithMeDate\" INTEGER, \"shared\" INTEGER NOT NULL DEFAULT 0, \"modifiedByMeDate\" INTEGER, \"mimeType\" TEXT NOT NULL, \"canEdit\" INTEGER NOT NULL, \"starred\" INTEGER NOT NULL, \"trashed\" INTEGER NOT NULL DEFAULT 0, \"pinned\" INTEGER NOT NULL DEFAULT 0, \"sequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"lastSyncSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"isDownloadable\" INTEGER NOT NULL, \"md5Checksum\" TEXT, \"localContentHash\" TEXT, \"ownerProjectNumber\" INTEGER, \"alternateLink\" TEXT, \"ownerNames\" TEXT, \"description\" TEXT, \"isCopyable\" INTEGER, \"embedLink\" TEXT, \"fileExtension\" TEXT, \"fileSize\" INTEGER DEFAULT 0, \"isViewed\" INTEGER, \"isRestricted\" INTEGER, \"originalFilename\" TEXT, \"quotaBytesUsed\" INTEGER DEFAULT 0, \"webContentLink\" TEXT, \"webViewLink\" TEXT, \"hasThumbnail\" INTEGER, \"userRole\" TEXT, \"isDeleted\" INTEGER NOT NULL DEFAULT 0, \"isDeletedActionId\" INTEGER, \"customPropertiesCount\" INTEGER NOT NULL DEFAULT 0, \"headRevisionId\" TEXT, \"uniqueIdentifier\" TEXT, \"singletonCreatorProjectNumber\" INTEGER, \"uniqueIdentifierVersion\" TEXT, \"lastModifyingUser\" INTEGER, \"sharingUser\" INTEGER, \"writersCanShare\" INTEGER NOT NULL DEFAULT 0, \"hasGenoaValues\" INTEGER NOT NULL DEFAULT 0, \"version\" INTEGER NOT NULL DEFAULT 0, \"deletedOnServerTime\" INTEGER, \"subscribed\" INTEGER NOT NULL DEFAULT 1, \"unsubscribedOnServerTime\" INTEGER, \"inDriveSpace\" INTEGER NOT NULL DEFAULT 0, \"inGooglePhotosSpace\" INTEGER NOT NULL DEFAULT 0, \"isGooglePhotos\" INTEGER NOT NULL DEFAULT 0, \"isGooglePhotosRootFolder\" INTEGER NOT NULL DEFAULT 0, \"folderColorRgb\" TEXT, \"permissionVersion\" INTEGER NOT NULL DEFAULT 0, \"inSyncContentHash\" TEXT, \"inSyncRevisionId\" TEXT, \"lastContentActionId\" INTEGER, \"genoaFileSize\" INTEGER, \"recency\" INTEGER, \"recencyReason\" TEXT, FOREIGN KEY(\"entryId\") REFERENCES \"DriveIdMapping143\"(\"DriveIdMapping_id\") ON DELETE CASCADE, FOREIGN KEY(\"localContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE SET NULL, FOREIGN KEY(\"lastModifyingUser\") REFERENCES \"UserPermissions143\"(\"UserPermissions_id\") ON DELETE CASCADE, FOREIGN KEY(\"sharingUser\") REFERENCES \"UserPermissions143\"(\"UserPermissions_id\") ON DELETE CASCADE, FOREIGN KEY(\"inSyncContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE SET NULL)", - "EntryAuthorizedApp143": "CREATE TABLE \"EntryAuthorizedApp143\" (\"EntryAuthorizedApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"projectNumber\" INTEGER NOT NULL, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "EntryPermission143": "CREATE TABLE \"EntryPermission143\" (\"EntryPermission_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"permissionId\" TEXT, \"accountIdentifier\" TEXT, \"accountName\" TEXT, \"accountType\" INTEGER NOT NULL, \"photoLink\" TEXT, \"role\" INTEGER NOT NULL, \"genoaRoleValue\" INTEGER, \"genoaRoleActionId\" INTEGER, \"isLinkRequired\" INTEGER NOT NULL DEFAULT 0, \"genoaIsLinkRequiredValue\" INTEGER, \"genoaIsLinkRequiredActionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "FileContent143": "CREATE TABLE \"FileContent143\" (\"hash\" TEXT PRIMARY KEY NOT NULL, \"lastAccessed\" INTEGER NOT NULL, \"size\" INTEGER, \"internalFileName\" TEXT, \"sharedFileName\" TEXT, \"encryptionKey\" BLOB, \"encryptionAlgorithm\" TEXT)", - "GenoaValues143": "CREATE TABLE \"GenoaValues143\" (\"GenoaValues_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"trashedValue\" INTEGER, \"trashedActionId\" INTEGER, \"descriptionValue\" TEXT, \"descriptionActionId\" INTEGER, \"lastViewedByMeDateValue\" INTEGER, \"lastViewedByMeDateActionId\" INTEGER, \"mimeTypeValue\" TEXT, \"mimeTypeActionId\" INTEGER, \"starredValue\" INTEGER, \"starredActionId\" INTEGER, \"titleValue\" TEXT, \"titleActionId\" INTEGER, \"viewedValue\" INTEGER, \"viewedActionId\" INTEGER, \"userRoleValue\" TEXT, \"userRoleActionId\" INTEGER, \"inDriveSpaceValue\" INTEGER, \"inDriveSpaceActionId\" INTEGER, \"canEditValue\" INTEGER, \"canEditActionId\" INTEGER, \"sharedValue\" INTEGER, \"sharedActionId\" INTEGER, \"quotaBytesUsedValue\" INTEGER, \"quotaBytesUsedActionId\" INTEGER, \"sharedWithMeTimeValue\" INTEGER, \"sharedWithMeTimeActionId\" INTEGER, \"ownerNamesValue\" TEXT, \"ownerNamesActionId\" INTEGER, \"writersCanShareValue\" INTEGER, \"writersCanShareActionId\" INTEGER, \"lastModifiedTimeValue\" INTEGER, \"lastModifiedTimeActionId\" INTEGER, \"modifiedByMeTimeValue\" INTEGER, \"modifiedByMeTimeActionId\" INTEGER, \"creationTimeValue\" INTEGER, \"creationTimeActionId\" INTEGER, \"folderColorRgbValue\" TEXT, \"folderColorRgbActionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "ParentMapping143": "CREATE TABLE \"ParentMapping143\" (\"ParentMapping_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"parentEntryId\" INTEGER NOT NULL, \"childEntryId\" INTEGER NOT NULL, FOREIGN KEY(\"parentEntryId\") REFERENCES \"DriveIdMapping143\"(\"DriveIdMapping_id\") ON DELETE CASCADE, FOREIGN KEY(\"childEntryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "PartialFeed143": "CREATE TABLE \"PartialFeed143\" (\"PartialFeed_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"feedType\" TEXT NOT NULL DEFAULT 'query', \"feedParameters\" TEXT NOT NULL, \"nextPageToken\" TEXT, \"clipTime\" INTEGER DEFAULT 9223372036854775807, \"numPagesRetrieved\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingAction143": "CREATE TABLE \"PendingAction143\" (\"PendingAction_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"payload\" TEXT NOT NULL, \"attemptCount\" INTEGER NOT NULL, \"requiredEntryId\" INTEGER, \"applyLocallyTimestamp\" INTEGER, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingCleanupAction143": "CREATE TABLE \"PendingCleanupAction143\" (\"PendingCleanupAction_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"actionType\" TEXT NOT NULL, \"actionId\" INTEGER NOT NULL, \"applyOnServerTime\" INTEGER NOT NULL, \"accountId\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingThumbnailUpload143": "CREATE TABLE \"PendingThumbnailUpload143\" (\"PendingThumbnailUpload_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"actionId\" INTEGER NOT NULL, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"actionId\") REFERENCES \"PendingAction143\"(\"PendingAction_id\") ON DELETE CASCADE)", - "PendingUpload143": "CREATE TABLE \"PendingUpload143\" (\"PendingUpload_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"uploadUri\" TEXT, \"baseContentHash\" TEXT, \"actionId\" INTEGER, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"baseContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"actionId\") REFERENCES \"PendingAction143\"(\"PendingAction_id\") ON DELETE CASCADE)", - "PersistedEvent143": "CREATE TABLE \"PersistedEvent143\" (\"PersistedEvent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"androidAppId\" INTEGER NOT NULL, \"serializedEvent\" TEXT NOT NULL, \"nextNotificationTime\" INTEGER NOT NULL DEFAULT 0, \"attemptCount\" INTEGER NOT NULL, \"snoozeCount\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"androidAppId\") REFERENCES \"AndroidApp143\"(\"AndroidApp_id\") ON DELETE CASCADE)", - "PersistedEventContent143": "CREATE TABLE \"PersistedEventContent143\" (\"PersistedEventContent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"persistedEventId\" INTEGER NOT NULL, \"contentHash\" TEXT NOT NULL, FOREIGN KEY(\"persistedEventId\") REFERENCES \"PersistedEvent143\"(\"PersistedEvent_id\") ON DELETE CASCADE, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE)", - "RealtimeDocumentContent143": "CREATE TABLE \"RealtimeDocumentContent143\" (\"RealtimeDocumentContent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"resourceId\" TEXT, \"localId\" TEXT, \"driveAppId\" INTEGER, \"lastAccessed\" INTEGER NOT NULL, \"size\" INTEGER, \"databasePath\" TEXT, \"hasPendingChanges\" INTEGER, \"requiresSync\" INTEGER, \"historyLength\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"driveAppId\") REFERENCES \"DriveApp143\"(\"DriveApp_id\") ON DELETE CASCADE)", "Sessions": "CREATE TABLE Sessions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, start_time INTEGER NOT NULL, end_time INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL, identifier TEXT, description TEXT, activity INTEGER NOT NULL, active_time_millis INTEGER)", - "Subscription143": "CREATE TABLE \"Subscription143\" (\"Subscription_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"eventType\" INTEGER NOT NULL, \"packageName\" TEXT, \"eventService\" TEXT, \"signingCertificateHash\" TEXT, \"lastUpdateTime\" INTEGER NOT NULL DEFAULT 0, \"androidAppId\" INTEGER NOT NULL DEFAULT -1, \"serializedSubscriptionDetails\" TEXT, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"androidAppId\") REFERENCES \"AndroidApp143\"(\"AndroidApp_id\") ON DELETE CASCADE)", "Subscriptions": "CREATE TABLE Subscriptions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, data_source_id INTEGER REFERENCES DataSources (_id), data_type_id INTEGER REFERENCES DataTypes (_id), sampling_delay INTEGER NOT NULL, accuracy_mode INTEGER NOT NULL, timestamp INTEGER NOT NULL, realm INTEGER NOT NULL)", - "SyncFeed143": "CREATE TABLE \"SyncFeed143\" (\"SyncFeed_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"space\" TEXT NOT NULL, \"query\" TEXT, \"appProjectNumber\" INTEGER, \"nextPageToken\" TEXT, \"clipTime\" INTEGER, \"numPagesRetrieved\" INTEGER NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", "SyncStatus": "CREATE TABLE SyncStatus (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER UNIQUE NOT NULL REFERENCES DataSources(_id), sync_token TEXT, is_remote INTEGER NOT NULL DEFAULT 0, last_synced_time INTEGER, min_local_timestamp INTEGER DEFAULT -1)", - "Thumbnail143": "CREATE TABLE \"Thumbnail143\" (\"Thumbnail_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"version\" INTEGER NOT NULL, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "UserPermissions143": "CREATE TABLE \"UserPermissions143\" (\"UserPermissions_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"permissionsId\" TEXT NOT NULL, \"displayName\" TEXT, \"emailAddress\" TEXT, \"pictureUrl\" TEXT, \"isAuthenticatedUser\" INTEGER NOT NULL DEFAULT 0)", - "accounts": "CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT UNIQUE NOT NULL)", "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "app_states": "CREATE TABLE app_states (_id INTEGER PRIMARY KEY AUTOINCREMENT,app_id TEXT NOT NULL,client_context_id INTEGER REFERENCES client_contexts(_id) NOT NULL,key INTEGER NOT NULL,local_version TEXT,local_data BLOB,conflict_version TEXT,conflict_data BLOB,data_dirty INTEGER NOT NULL DEFAULT 0,upsync_required INTEGER NOT NULL DEFAULT 0)", - "client_contexts": "CREATE TABLE client_contexts (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_name TEXT NOT NULL,package_uid INTEGER NOT NULL,account_name TEXT NOT NULL)", - "connectionConfigurations": "CREATE TABLE connectionConfigurations (_id INTEGER PRIMARY KEY AUTOINCREMENT,androidId STRING,name STRING NOT NULL,pairedBtAddress STRING NOT NULL,connectionType INTEGER NOT NULL,role INTEGER NOT NULL,connectionEnabled INTEGER NOT NULL, UNIQUE(name) ON CONFLICT REPLACE)", - "context": "CREATE TABLE context (_id INTEGER PRIMARY KEY,context_id TEXT UNIQUE NOT NULL,context_name INTEGER,module_id TEXT NOT NULL,time_type INTEGER,start_time INTEGER,end_time INTEGER,context_family INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,version INTEGER NOT NULL,sync_state INTEGER NOT NULL,sync_state_mod_time_millis sync_state_mod_time_millis)", - "credential": "CREATE TABLE credential(id TEXT NOT NULL,account_id TEXT NOT NULL,data BLOB,PRIMARY KEY (account_id, id))", - "credential_affiliation": "CREATE TABLE credential_affiliation(account_id TEXT NOT NULL,credential_id TEXT NOT NULL,domain_url TEXT NOT NULL,PRIMARY KEY (account_id, credential_id, domain_url))", - "credential_app_setting": "CREATE TABLE credential_app_setting(account TEXT NOT NULL,app TEXT NOT NULL,key TEXT NOT NULL,value TEXT,PRIMARY KEY (account, app, key))", - "credential_setting": "CREATE TABLE credential_setting(account TEXT NOT NULL,key TEXT NOT NULL,value TEXT,PRIMARY KEY (account, key))", - "device_features": "CREATE TABLE device_features (_id INTEGER PRIMARY KEY AUTOINCREMENT,last_connection_timestamp INTEGER NOT NULL,feature_name TEXT NOT NULL)", - "downloads": "CREATE TABLE downloads (_id INTEGER PRIMARY KEY AUTOINCREMENT,filename TEXT NOT NULL UNIQUE,url TEXT NOT NULL,sizeBytes INTEGER NOT NULL,sha1 TEXT NOT NULL,destination TEXT,minVersion INTEGER,maxVersion INTEGER,notificationTitle TEXT,notificationDescription TEXT,enabled INTEGER DEFAULT 0,retries INTEGER DEFAULT 0,dm_id INTEGER)", - "experiment": "CREATE TABLE experiment (package TEXT, namespace TEXT , key TEXT, value BLOB, PRIMARY KEY (package, namespace, key))", - "feature": "CREATE TABLE feature (_id INTEGER PRIMARY KEY,type INTEGER NOT NULL,time_type INTEGER,start_time INTEGER,end_time INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,account_id TEXT)", - "fetch_metadata": "CREATE TABLE fetch_metadata (package TEXT, namespace_digest TEXT, recent_success_times TEXT, recent_failure_times TEXT, device_context_digest BLOB, app_context_digest BLOB, PRIMARY KEY (package))", - "internal_metadata": "CREATE TABLE internal_metadata (key TEXT, value BLOB, PRIMARY KEY (key))", - "main": "CREATE TABLE main (a TEXT NOT NULL, b LONG NOT NULL, c LONG NOT NULL, d TEXT NON NULL, e TEXT NON NULL,f BLOB NOT NULL)", - "operations": "CREATE TABLE operations (_id INTEGER PRIMARY KEY AUTOINCREMENT,op_code INTEGER NOT NULL,write_time_millis INTEGER NOT NULL,package_id INTEGER REFERENCES packages(_id),account_id INTEGER REFERENCES accounts(_id),client_id TEXT NOT NULL,expiration_time INTEGER,network_status INTEGER NOT NULL,network_last_update_millis INTEGER NOT NULL,deletable INTEGER NOT NULL,proto BLOB)", - "override": "CREATE TABLE override (package TEXT, namespace TEXT, key TEXT, value BLOB, PRIMARY KEY (package, namespace, key))", - "overrides": "CREATE TABLE overrides (package TEXT, key TEXT, value BLOB, PRIMARY KEY (package, key))", - "packages": "CREATE TABLE packages (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT UNIQUE NOT NULL)", - "relation": "CREATE TABLE relation (_id INTEGER PRIMARY KEY,relation_id TEXT UNIQUE NOT NULL,relation_name INTEGER,time_type INTEGER,start_time INTEGER,end_time INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,version INTEGER NOT NULL,sync_state INTEGER NOT NULL,sync_state_mod_time_millis INTEGER NOT NULL)", - "relation_from": "CREATE TABLE relation_from (relation_row_id INTEGER NOT NULL,context_id TEXT NOT NULL)", - "relation_to": "CREATE TABLE relation_to (relation_row_id INTEGER NOT NULL,context_id TEXT NOT NULL)", "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" }, "db-metadata-hashes": { - "Account143": "1921c8925235e313a92f2591f8d3c8b4", - "AndroidApp143": "1c1f5b6504fef44d9dc7f7cad3cefc24", "Applications": "74ba46c998a452bc0eab7b3fc4465ce3", "BleCharacteristics": "a947ef7298068efc3596f5a168a0f26c", "BleDevices": "812f8b071a8fff6453491cad51599646", "ChangeLog": "d367a9797bd366d83e4d48424bf38b48", - "ContentFileDeletionLock143": "b19e0c6048bd4ddb214e79267593331c", - "CustomProperty143": "2f1ac2c1d136185b248aee4f34fbcc48", "DataPointRows": "b073bd25a51191881a83bd8eef36a6b7", "DataSourceTypes": "fa031e7a8ae526b0337ca5a75100b2a9", "DataSources": "3159a7fc6e1abd004a425a2c1f597184", "DataTypeFields": "859905ffc96b14edb90988bcce2d79bf", "DataTypes": "bcbcc52ce27332851b24f3d1b546465b", "Devices": "26530038c1f8b0b66259387147194bcf", - "DriveApp143": "e56bc29f83571910d04df429ee98ec4d", - "DriveIdMapping143": "22383e11e7f9aa2eb9444ac7e12d1d6e", - "Entry143": "0bff7c52f912bc98975c9c044182a90d", - "EntryAuthorizedApp143": "1d6f7f39e83ba8ab479a329460b57dcb", - "EntryPermission143": "c77370f9300a7dac7c4964e2b8beefd3", - "FileContent143": "490d0863631c28ee29890d0b71be43ba", - "GenoaValues143": "edaef3765d79409a89a92b61a7835a04", - "ParentMapping143": "d20b75756a18580e4ecc2529c6924581", - "PartialFeed143": "332ac9127fee3f9f4f725c55f227b5d6", - "PendingAction143": "531be51d5221157c218c527f9c362a25", - "PendingCleanupAction143": "8b75e88a4ff018d54d8bab2e000ed3f4", - "PendingThumbnailUpload143": "28e49540cd9a6e84313f492ce7cbfd49", - "PendingUpload143": "bc9dfb2afc5c881ec2e9fff16b33a709", - "PersistedEvent143": "d226b646557b72e7c8ca1a301ca0d653", - "PersistedEventContent143": "eea4e453369e162f5d0fe38c09ac4d26", - "RealtimeDocumentContent143": "7f9c6014540d03dace85113668d5d5e2", "Sessions": "ce99b3e7c27e18688309695ff43ed83e", - "Subscription143": "67ab61d745051b85e26ccdaaec93d7d7", "Subscriptions": "d56cf36625565862ad10d27713828941", - "SyncFeed143": "eaedaf9ddfdca36c8b052be07a447d7c", "SyncStatus": "a0e0a02b376eac6f50e3d3ba7bc8c1fb", - "Thumbnail143": "6461da595d2cf7558b6c69efe80a18ca", - "UserPermissions143": "facdec49e49be6c9e0666ff4c546e6d5", - "accounts": "628b2bc7af80a840c94ec1d472528edf", "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "app_states": "a07d17f6016c1904183d33e1181994eb", - "client_contexts": "214b6222b52b25d5c65a7938d29d5c43", - "connectionConfigurations": "474cca0cbce4bc56cde84486493cb4c4", - "context": "b570b9b7cde71ce3008a6df0c6882205", - "credential": "ff1446387e16d08af6d10e9b7aee1d01", - "credential_affiliation": "383d3b94eb3d4deb28216a0a88cf798c", - "credential_app_setting": "586b3d990301e62d03c3cf0c460fe090", - "credential_setting": "1fa8123b312b54bb0fdaed71fa1db74f", - "device_features": "e87b36b9c24207e9c9f688969f763106", - "downloads": "67b9255bc5ada4b51029f379e897f289", - "experiment": "89709f2881041f3f2382663fa00610a3", - "feature": "1829660b11f6712a2957588c1da9d716", - "fetch_metadata": "fa749920613c7e4bd49ebbbfd1720bc6", - "internal_metadata": "b7b50cd354aac9d826b6a46a4cc1ecdb", - "main": "fe108abb5ff17b3d5cf87d8347058999", - "operations": "f2d70c426ac228401bcff6b2e36d824f", - "override": "58ff373730fec5f3b21d6b251f0e8f93", - "overrides": "1c7ce35ab1145781807ff1e79dddd4c1", - "packages": "0532e3e60b413ffbd134f4db52f3f8f2", - "relation": "79623bbd16cc0c97ad4eabd76393b09c", - "relation_from": "eb9f03627aaa22c71bb4a9d95d5f1b39", - "relation_to": "fb572352c0f5aa6b4287aedd62950160", "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" }, - "db-metadata-md5": "ec8c4665d5b98d2ee8b4bc56463e6ac6", + "db-metadata-md5": "74a472baab8fa428515a6779a53ccf75", "tables": { - "Account143": { - "Account_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountHolderName": { - "datatype": "TEXT", - "notnull": true - }, - "documentSyncClipTime": { - "datatype": "INTEGER" - }, - "folderSyncClipTime": { - "datatype": "INTEGER" - }, - "forceFullSync": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "forceFullSyncLevel": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncChangeStamp": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "maxUploadSize": { - "datatype": "INTEGER", - "default": "5242880000000", - "notnull": true - }, - "minimumChangeSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "AndroidApp143": { - "AndroidApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "batteryUsagePreference": { - "datatype": "INTEGER", - "default": "256", - "notnull": true - }, - "certificateHash": { - "datatype": "TEXT", - "notnull": true - }, - "driveAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "networkTypePreference": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "packageName": { - "datatype": "TEXT", - "notnull": true - }, - "roamingAllowed": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - } - }, "Applications": { "_id": { "autoincrement": true, @@ -339,42 +156,6 @@ "notnull": true } }, - "ContentFileDeletionLock143": { - "filename": { - "datatype": "TEXT", - "primarykey": true - } - }, - "CustomProperty143": { - "CustomProperty_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "actionId": { - "datatype": "INTEGER" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "genoaValue": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "projectNumber": { - "datatype": "INTEGER" - }, - "value": { - "datatype": "TEXT" - } - }, "DataPointRows": { "_id": { "autoincrement": true, @@ -501,760 +282,6 @@ "notnull": true } }, - "DriveApp143": { - "DriveApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "appDataRootEntryId": { - "datatype": "INTEGER" - }, - "expiryTimestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "isAppDataRootPlaceholder": { - "datatype": "INTEGER" - }, - "projectNumber": { - "datatype": "INTEGER", - "notnull": true - }, - "scopes": { - "datatype": "TEXT", - "notnull": true - } - }, - "DriveIdMapping143": { - "DriveIdMapping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "resourceId": { - "datatype": "TEXT" - } - }, - "Entry143": { - "FOREIGN": { - "datatype": "KEY" - }, - "alternateLink": { - "datatype": "TEXT" - }, - "canEdit": { - "datatype": "INTEGER", - "notnull": true - }, - "creationDate": { - "datatype": "INTEGER", - "notnull": true - }, - "customPropertiesCount": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "deletedOnServerTime": { - "datatype": "INTEGER" - }, - "description": { - "datatype": "TEXT" - }, - "embedLink": { - "datatype": "TEXT" - }, - "entryId": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "fileExtension": { - "datatype": "TEXT" - }, - "fileSize": { - "datatype": "INTEGER", - "default": "0" - }, - "folderColorRgb": { - "datatype": "TEXT" - }, - "genoaFileSize": { - "datatype": "INTEGER" - }, - "hasGenoaValues": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "hasThumbnail": { - "datatype": "INTEGER" - }, - "headRevisionId": { - "datatype": "TEXT" - }, - "inDriveSpace": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inGooglePhotosSpace": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inSyncContentHash": { - "datatype": "TEXT" - }, - "inSyncRevisionId": { - "datatype": "TEXT" - }, - "isCopyable": { - "datatype": "INTEGER" - }, - "isDeleted": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isDeletedActionId": { - "datatype": "INTEGER" - }, - "isDownloadable": { - "datatype": "INTEGER", - "notnull": true - }, - "isGooglePhotos": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isGooglePhotosRootFolder": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isRestricted": { - "datatype": "INTEGER" - }, - "isViewed": { - "datatype": "INTEGER" - }, - "lastContentActionId": { - "datatype": "INTEGER" - }, - "lastModifiedDate": { - "datatype": "INTEGER", - "notnull": true - }, - "lastModifyingUser": { - "datatype": "INTEGER" - }, - "lastSyncSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastViewedByMeDate": { - "datatype": "INTEGER" - }, - "localContentHash": { - "datatype": "TEXT" - }, - "md5Checksum": { - "datatype": "TEXT" - }, - "mimeType": { - "datatype": "TEXT", - "notnull": true - }, - "modifiedByMeDate": { - "datatype": "INTEGER" - }, - "originalFilename": { - "datatype": "TEXT" - }, - "ownerNames": { - "datatype": "TEXT" - }, - "ownerProjectNumber": { - "datatype": "INTEGER" - }, - "permissionVersion": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "pinned": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "quotaBytesUsed": { - "datatype": "INTEGER", - "default": "0" - }, - "recency": { - "datatype": "INTEGER" - }, - "recencyReason": { - "datatype": "TEXT" - }, - "sequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "shared": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "sharedWithMeDate": { - "datatype": "INTEGER" - }, - "sharingUser": { - "datatype": "INTEGER" - }, - "singletonCreatorProjectNumber": { - "datatype": "INTEGER" - }, - "starred": { - "datatype": "INTEGER", - "notnull": true - }, - "subscribed": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "title": { - "datatype": "TEXT", - "notnull": true - }, - "trashed": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "uniqueIdentifier": { - "datatype": "TEXT" - }, - "uniqueIdentifierVersion": { - "datatype": "TEXT" - }, - "unsubscribedOnServerTime": { - "datatype": "INTEGER" - }, - "userRole": { - "datatype": "TEXT" - }, - "version": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "webContentLink": { - "datatype": "TEXT" - }, - "webViewLink": { - "datatype": "TEXT" - }, - "writersCanShare": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "EntryAuthorizedApp143": { - "EntryAuthorizedApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "projectNumber": { - "datatype": "INTEGER", - "notnull": true - } - }, - "EntryPermission143": { - "EntryPermission_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountIdentifier": { - "datatype": "TEXT" - }, - "accountName": { - "datatype": "TEXT" - }, - "accountType": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "genoaIsLinkRequiredActionId": { - "datatype": "INTEGER" - }, - "genoaIsLinkRequiredValue": { - "datatype": "INTEGER" - }, - "genoaRoleActionId": { - "datatype": "INTEGER" - }, - "genoaRoleValue": { - "datatype": "INTEGER" - }, - "isLinkRequired": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "permissionId": { - "datatype": "TEXT" - }, - "photoLink": { - "datatype": "TEXT" - }, - "role": { - "datatype": "INTEGER", - "notnull": true - } - }, - "FileContent143": { - "encryptionAlgorithm": { - "datatype": "TEXT" - }, - "encryptionKey": { - "datatype": "BLOB" - }, - "hash": { - "datatype": "TEXT", - "primarykey": true - }, - "internalFileName": { - "datatype": "TEXT" - }, - "lastAccessed": { - "datatype": "INTEGER", - "notnull": true - }, - "sharedFileName": { - "datatype": "TEXT" - }, - "size": { - "datatype": "INTEGER" - } - }, - "GenoaValues143": { - "FOREIGN": { - "datatype": "KEY" - }, - "GenoaValues_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "canEditActionId": { - "datatype": "INTEGER" - }, - "canEditValue": { - "datatype": "INTEGER" - }, - "creationTimeActionId": { - "datatype": "INTEGER" - }, - "creationTimeValue": { - "datatype": "INTEGER" - }, - "descriptionActionId": { - "datatype": "INTEGER" - }, - "descriptionValue": { - "datatype": "TEXT" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "folderColorRgbActionId": { - "datatype": "INTEGER" - }, - "folderColorRgbValue": { - "datatype": "TEXT" - }, - "inDriveSpaceActionId": { - "datatype": "INTEGER" - }, - "inDriveSpaceValue": { - "datatype": "INTEGER" - }, - "lastModifiedTimeActionId": { - "datatype": "INTEGER" - }, - "lastModifiedTimeValue": { - "datatype": "INTEGER" - }, - "lastViewedByMeDateActionId": { - "datatype": "INTEGER" - }, - "lastViewedByMeDateValue": { - "datatype": "INTEGER" - }, - "mimeTypeActionId": { - "datatype": "INTEGER" - }, - "mimeTypeValue": { - "datatype": "TEXT" - }, - "modifiedByMeTimeActionId": { - "datatype": "INTEGER" - }, - "modifiedByMeTimeValue": { - "datatype": "INTEGER" - }, - "ownerNamesActionId": { - "datatype": "INTEGER" - }, - "ownerNamesValue": { - "datatype": "TEXT" - }, - "quotaBytesUsedActionId": { - "datatype": "INTEGER" - }, - "quotaBytesUsedValue": { - "datatype": "INTEGER" - }, - "sharedActionId": { - "datatype": "INTEGER" - }, - "sharedValue": { - "datatype": "INTEGER" - }, - "sharedWithMeTimeActionId": { - "datatype": "INTEGER" - }, - "sharedWithMeTimeValue": { - "datatype": "INTEGER" - }, - "starredActionId": { - "datatype": "INTEGER" - }, - "starredValue": { - "datatype": "INTEGER" - }, - "titleActionId": { - "datatype": "INTEGER" - }, - "titleValue": { - "datatype": "TEXT" - }, - "trashedActionId": { - "datatype": "INTEGER" - }, - "trashedValue": { - "datatype": "INTEGER" - }, - "userRoleActionId": { - "datatype": "INTEGER" - }, - "userRoleValue": { - "datatype": "TEXT" - }, - "viewedActionId": { - "datatype": "INTEGER" - }, - "viewedValue": { - "datatype": "INTEGER" - }, - "writersCanShareActionId": { - "datatype": "INTEGER" - }, - "writersCanShareValue": { - "datatype": "INTEGER" - } - }, - "ParentMapping143": { - "FOREIGN": { - "datatype": "KEY" - }, - "ParentMapping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "childEntryId": { - "datatype": "INTEGER", - "notnull": true - }, - "parentEntryId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PartialFeed143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PartialFeed_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "clipTime": { - "datatype": "INTEGER", - "default": "9223372036854775807" - }, - "feedParameters": { - "datatype": "TEXT", - "notnull": true - }, - "feedType": { - "datatype": "TEXT", - "notnull": true - }, - "nextPageToken": { - "datatype": "TEXT" - }, - "numPagesRetrieved": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "PendingAction143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingAction_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "applyLocallyTimestamp": { - "datatype": "INTEGER" - }, - "attemptCount": { - "datatype": "INTEGER", - "notnull": true - }, - "payload": { - "datatype": "TEXT", - "notnull": true - }, - "requiredEntryId": { - "datatype": "INTEGER" - } - }, - "PendingCleanupAction143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingCleanupAction_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "actionId": { - "datatype": "INTEGER", - "notnull": true - }, - "actionType": { - "datatype": "TEXT", - "notnull": true - }, - "applyOnServerTime": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PendingThumbnailUpload143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingThumbnailUpload_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "actionId": { - "datatype": "INTEGER", - "notnull": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PendingUpload143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingUpload_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "actionId": { - "datatype": "INTEGER" - }, - "baseContentHash": { - "datatype": "TEXT" - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "uploadUri": { - "datatype": "TEXT" - } - }, - "PersistedEvent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PersistedEvent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "attemptCount": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER" - }, - "nextNotificationTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "serializedEvent": { - "datatype": "TEXT", - "notnull": true - }, - "snoozeCount": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "PersistedEventContent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PersistedEventContent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "persistedEventId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "RealtimeDocumentContent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "RealtimeDocumentContent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "databasePath": { - "datatype": "TEXT" - }, - "driveAppId": { - "datatype": "INTEGER" - }, - "entryId": { - "datatype": "INTEGER" - }, - "hasPendingChanges": { - "datatype": "INTEGER" - }, - "historyLength": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastAccessed": { - "datatype": "INTEGER", - "notnull": true - }, - "localId": { - "datatype": "TEXT" - }, - "requiresSync": { - "datatype": "INTEGER" - }, - "resourceId": { - "datatype": "TEXT" - }, - "size": { - "datatype": "INTEGER" - } - }, "Sessions": { "_id": { "autoincrement": true, @@ -1292,44 +319,6 @@ "notnull": true } }, - "Subscription143": { - "FOREIGN": { - "datatype": "KEY" - }, - "Subscription_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER" - }, - "eventService": { - "datatype": "TEXT" - }, - "eventType": { - "datatype": "INTEGER", - "notnull": true - }, - "lastUpdateTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "packageName": { - "datatype": "TEXT" - }, - "serializedSubscriptionDetails": { - "datatype": "TEXT" - }, - "signingCertificateHash": { - "datatype": "TEXT" - } - }, "Subscriptions": { "_id": { "autoincrement": true, @@ -1367,40 +356,6 @@ "notnull": true } }, - "SyncFeed143": { - "FOREIGN": { - "datatype": "KEY" - }, - "SyncFeed_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "appProjectNumber": { - "datatype": "INTEGER" - }, - "clipTime": { - "datatype": "INTEGER" - }, - "nextPageToken": { - "datatype": "TEXT" - }, - "numPagesRetrieved": { - "datatype": "INTEGER", - "notnull": true - }, - "query": { - "datatype": "TEXT" - }, - "space": { - "datatype": "TEXT", - "notnull": true - } - }, "SyncStatus": { "_id": { "autoincrement": true, @@ -1425,600 +380,11 @@ "datatype": "TEXT" } }, - "Thumbnail143": { - "FOREIGN": { - "datatype": "KEY" - }, - "Thumbnail_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "UserPermissions143": { - "UserPermissions_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "displayName": { - "datatype": "TEXT" - }, - "emailAddress": { - "datatype": "TEXT" - }, - "isAuthenticatedUser": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "permissionsId": { - "datatype": "TEXT", - "notnull": true - }, - "pictureUrl": { - "datatype": "TEXT" - } - }, - "accounts": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT" - } - }, "android_metadata": { "locale": { "datatype": "TEXT" } }, - "app_states": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "app_id": { - "datatype": "TEXT", - "notnull": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts(_id)" - }, - "conflict_data": { - "datatype": "BLOB" - }, - "conflict_version": { - "datatype": "TEXT" - }, - "data_dirty": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "key": { - "datatype": "INTEGER", - "notnull": true - }, - "local_data": { - "datatype": "BLOB" - }, - "local_version": { - "datatype": "TEXT" - }, - "upsync_required": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "client_contexts": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_name": { - "datatype": "TEXT", - "notnull": true - }, - "package_name": { - "datatype": "TEXT", - "notnull": true - }, - "package_uid": { - "datatype": "INTEGER", - "notnull": true - } - }, - "connectionConfigurations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidId": { - "datatype": "STRING" - }, - "connectionEnabled": { - "datatype": "INTEGER", - "notnull": true - }, - "connectionType": { - "datatype": "INTEGER", - "notnull": true - }, - "name": { - "datatype": "STRING", - "notnull": true, - "unique": true - }, - "pairedBtAddress": { - "datatype": "STRING", - "notnull": true - }, - "role": { - "datatype": "INTEGER", - "notnull": true - } - }, - "context": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "context_family": { - "datatype": "INTEGER" - }, - "context_id": { - "datatype": "TEXT" - }, - "context_name": { - "datatype": "INTEGER" - }, - "end_time": { - "datatype": "INTEGER" - }, - "module_id": { - "datatype": "TEXT", - "notnull": true - }, - "proto_blob": { - "datatype": "BLOB" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "sync_state": { - "datatype": "INTEGER", - "notnull": true - }, - "sync_state_mod_time_millis": { - "datatype": "sync_state_mod_time_millis" - }, - "time_type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "credential": { - "account_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "data": { - "datatype": "BLOB" - }, - "id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "credential_affiliation": { - "account_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "credential_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "domain_url": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "credential_app_setting": { - "account": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "app": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "key": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "value": { - "datatype": "TEXT" - } - }, - "credential_setting": { - "account": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "key": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "value": { - "datatype": "TEXT" - } - }, - "device_features": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "feature_name": { - "datatype": "TEXT", - "notnull": true - }, - "last_connection_timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "downloads": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "destination": { - "datatype": "TEXT" - }, - "dm_id": { - "datatype": "INTEGER" - }, - "enabled": { - "datatype": "INTEGER", - "default": "0" - }, - "filename": { - "datatype": "TEXT", - "notnull": true - }, - "maxVersion": { - "datatype": "INTEGER" - }, - "minVersion": { - "datatype": "INTEGER" - }, - "notificationDescription": { - "datatype": "TEXT" - }, - "notificationTitle": { - "datatype": "TEXT" - }, - "retries": { - "datatype": "INTEGER", - "default": "0" - }, - "sha1": { - "datatype": "TEXT", - "notnull": true - }, - "sizeBytes": { - "datatype": "INTEGER", - "notnull": true - }, - "url": { - "datatype": "TEXT", - "notnull": true - } - }, - "experiment": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "namespace": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "feature": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "account_id": { - "datatype": "TEXT" - }, - "end_time": { - "datatype": "INTEGER" - }, - "proto_blob": { - "datatype": "BLOB" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "time_type": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "fetch_metadata": { - "app_context_digest": { - "datatype": "BLOB" - }, - "device_context_digest": { - "datatype": "BLOB" - }, - "namespace_digest": { - "datatype": "TEXT" - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "recent_failure_times": { - "datatype": "TEXT" - }, - "recent_success_times": { - "datatype": "TEXT" - } - }, - "internal_metadata": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "main": { - "a": { - "datatype": "TEXT", - "notnull": true - }, - "b": { - "datatype": "LONG", - "notnull": true - }, - "c": { - "datatype": "LONG", - "notnull": true - }, - "d": { - "datatype": "TEXT" - }, - "e": { - "datatype": "TEXT" - }, - "f": { - "datatype": "BLOB", - "notnull": true - } - }, - "operations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "accounts(_id)" - }, - "client_id": { - "datatype": "TEXT", - "notnull": true - }, - "deletable": { - "datatype": "INTEGER", - "notnull": true - }, - "expiration_time": { - "datatype": "INTEGER" - }, - "network_last_update_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "network_status": { - "datatype": "INTEGER", - "notnull": true - }, - "op_code": { - "datatype": "INTEGER", - "notnull": true - }, - "package_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "packages(_id)" - }, - "proto": { - "datatype": "BLOB" - }, - "write_time_millis": { - "datatype": "INTEGER", - "notnull": true - } - }, - "override": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "namespace": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "overrides": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "packages": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT" - } - }, - "relation": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "end_time": { - "datatype": "INTEGER" - }, - "proto_blob": { - "datatype": "BLOB" - }, - "relation_id": { - "datatype": "TEXT" - }, - "relation_name": { - "datatype": "INTEGER" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "sync_state": { - "datatype": "INTEGER", - "notnull": true - }, - "sync_state_mod_time_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "time_type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "relation_from": { - "context_id": { - "datatype": "TEXT", - "notnull": true - }, - "relation_row_id": { - "datatype": "INTEGER", - "notnull": true - } - }, - "relation_to": { - "context_id": { - "datatype": "TEXT", - "notnull": true - }, - "relation_row_id": { - "datatype": "INTEGER", - "notnull": true - } - }, "sqlite_sequence": { "name": { "datatype": "INTEGER" diff --git a/tests/fp_data/com.google.android.gms__keys.db__dbfp.json b/tests/fp_data/com.google.android.gms__keys.db__dbfp.json index fa99fcf..5690788 100644 --- a/tests/fp_data/com.google.android.gms__keys.db__dbfp.json +++ b/tests/fp_data/com.google.android.gms__keys.db__dbfp.json @@ -5,2067 +5,27 @@ "dn-name": "keys.db", "format-ver": "0.91", "notes": "", - "scan-date": "2015-12-10_192852", + "scan-date": "2016-01-08_110349", "scanner-name": "dbfp", - "scanner-ver": "0.90" + "scanner-ver": "0.95" }, "db-metadata": { - "Account143": "CREATE TABLE \"Account143\" (\"Account_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountHolderName\" TEXT NOT NULL, \"forceFullSync\" INTEGER NOT NULL DEFAULT 1, \"lastSyncTime\" INTEGER NOT NULL DEFAULT 0, \"folderSyncClipTime\" INTEGER, \"documentSyncClipTime\" INTEGER, \"lastSyncChangeStamp\" INTEGER NOT NULL DEFAULT 0, \"lastSyncSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"minimumChangeSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"maxUploadSize\" INTEGER NOT NULL DEFAULT 5242880000000, \"forceFullSyncLevel\" INTEGER NOT NULL DEFAULT 0)", - "AccountEventIndex": "CREATE TABLE AccountEventIndex ( account_name TEXT NOT NULL, event_index INTEGER NOT NULL, UNIQUE(account_name))", - "AccountHistory": "CREATE TABLE AccountHistory ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, account_name TEXT NOT NULL, change_type INTEGER NOT NULL, event_index INTEGER NOT NULL, change_data TEXT)", - "AndroidApp143": "CREATE TABLE \"AndroidApp143\" (\"AndroidApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"driveAppId\" INTEGER NOT NULL, \"packageName\" TEXT NOT NULL, \"certificateHash\" TEXT NOT NULL, \"networkTypePreference\" INTEGER NOT NULL DEFAULT 1, \"batteryUsagePreference\" INTEGER NOT NULL DEFAULT 256, \"roamingAllowed\" INTEGER NOT NULL DEFAULT 1, FOREIGN KEY(\"driveAppId\") REFERENCES \"DriveApp143\"(\"DriveApp_id\") ON DELETE CASCADE)", - "Applications": "CREATE TABLE Applications(_id INTEGER PRIMARY KEY AUTOINCREMENT, package TEXT NOT NULL, version TEXT, details_url TEXT, name TEXT, console_ids TEXT)", - "BleCharacteristics": "CREATE TABLE BleCharacteristics (_id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL, properties INTEGER, permissions INTEGER, device_id INTEGER, FOREIGN KEY(device_id) REFERENCES BleDevices(_id) ON DELETE CASCADE)", - "BleDevices": "CREATE TABLE BleDevices (_id INTEGER PRIMARY KEY AUTOINCREMENT, type TEXT, name TEXT, address NOT NULL, device_name TEXT, model_number TEXT, manufacturer TEXT, hardware_revision TEXT, firmware_revision TEXT, software_revision TEXT)", - "ChangeLog": "CREATE TABLE ChangeLog (_id INTEGER PRIMARY KEY AUTOINCREMENT, timestamp INTEGER NOT NULL, is_delete INTEGER NOT NULL, source_table TEXT NOT NULL, content BLOB NOT NULL, sync_tries INTEGER DEFAULT 0, last_sync_ms INTEGER DEFAULT 0)", - "ContentFileDeletionLock143": "CREATE TABLE \"ContentFileDeletionLock143\" (\"filename\" TEXT PRIMARY KEY NOT NULL)", - "CustomProperty143": "CREATE TABLE \"CustomProperty143\" (\"CustomProperty_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"projectNumber\" INTEGER, \"name\" TEXT NOT NULL, \"value\" TEXT, \"genoaValue\" TEXT, \"actionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "DataPointRows": "CREATE TABLE DataPointRows (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER REFERENCES DataSources(_id), start_time INTEGER NOT NULL, end_time INTEGER NOT NULL, data_point BLOB NOT NULL)", - "DataSourceTypes": "CREATE TABLE DataSourceTypes (data_source_id INTEGER REFERENCES DataSources(_id), data_type_id INTEGER REFERENCES DataTypes(_id))", - "DataSources": "CREATE TABLE DataSources (_id INTEGER PRIMARY KEY AUTOINCREMENT, type INTEGER, identifier TEXT, version TEXT, source_name TEXT, stream_name TEXT, device_id INTEGER REFERENCES Devices(_id), application_id INTEGER REFERENCES Applications(_id))", - "DataTypeFields": "CREATE TABLE DataTypeFields (_id INTEGER PRIMARY KEY AUTOINCREMENT, field_name TEXT NOT NULL, format INTEGER NOT NULL, data_type_id INTEGER NOT NULL REFERENCES DataTypes(_id))", - "DataTypes": "CREATE TABLE DataTypes (_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL)", - "Devices": "CREATE TABLE Devices (_id INTEGER PRIMARY KEY AUTOINCREMENT, make TEXT NOT NULL, model TEXT NOT NULL, version TEXT NOT NULL, type INTEGER, uid TEXT, platform_type INTEGER)", - "DriveApp143": "CREATE TABLE \"DriveApp143\" (\"DriveApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"projectNumber\" INTEGER NOT NULL, \"expiryTimestamp\" INTEGER NOT NULL, \"appDataRootEntryId\" INTEGER, \"isAppDataRootPlaceholder\" INTEGER, \"scopes\" TEXT NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE, FOREIGN KEY(\"appDataRootEntryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE SET NULL)", - "DriveIdMapping143": "CREATE TABLE \"DriveIdMapping143\" (\"DriveIdMapping_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"resourceId\" TEXT, \"accountId\" INTEGER NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "Entry143": "CREATE TABLE \"Entry143\" (\"entryId\" INTEGER PRIMARY KEY AUTOINCREMENT, \"title\" TEXT NOT NULL, \"creationDate\" INTEGER NOT NULL, \"lastModifiedDate\" INTEGER NOT NULL, \"lastViewedByMeDate\" INTEGER, \"sharedWithMeDate\" INTEGER, \"shared\" INTEGER NOT NULL DEFAULT 0, \"modifiedByMeDate\" INTEGER, \"mimeType\" TEXT NOT NULL, \"canEdit\" INTEGER NOT NULL, \"starred\" INTEGER NOT NULL, \"trashed\" INTEGER NOT NULL DEFAULT 0, \"pinned\" INTEGER NOT NULL DEFAULT 0, \"sequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"lastSyncSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"isDownloadable\" INTEGER NOT NULL, \"md5Checksum\" TEXT, \"localContentHash\" TEXT, \"ownerProjectNumber\" INTEGER, \"alternateLink\" TEXT, \"ownerNames\" TEXT, \"description\" TEXT, \"isCopyable\" INTEGER, \"embedLink\" TEXT, \"fileExtension\" TEXT, \"fileSize\" INTEGER DEFAULT 0, \"isViewed\" INTEGER, \"isRestricted\" INTEGER, \"originalFilename\" TEXT, \"quotaBytesUsed\" INTEGER DEFAULT 0, \"webContentLink\" TEXT, \"webViewLink\" TEXT, \"hasThumbnail\" INTEGER, \"userRole\" TEXT, \"isDeleted\" INTEGER NOT NULL DEFAULT 0, \"isDeletedActionId\" INTEGER, \"customPropertiesCount\" INTEGER NOT NULL DEFAULT 0, \"headRevisionId\" TEXT, \"uniqueIdentifier\" TEXT, \"singletonCreatorProjectNumber\" INTEGER, \"uniqueIdentifierVersion\" TEXT, \"lastModifyingUser\" INTEGER, \"sharingUser\" INTEGER, \"writersCanShare\" INTEGER NOT NULL DEFAULT 0, \"hasGenoaValues\" INTEGER NOT NULL DEFAULT 0, \"version\" INTEGER NOT NULL DEFAULT 0, \"deletedOnServerTime\" INTEGER, \"subscribed\" INTEGER NOT NULL DEFAULT 1, \"unsubscribedOnServerTime\" INTEGER, \"inDriveSpace\" INTEGER NOT NULL DEFAULT 0, \"inGooglePhotosSpace\" INTEGER NOT NULL DEFAULT 0, \"isGooglePhotos\" INTEGER NOT NULL DEFAULT 0, \"isGooglePhotosRootFolder\" INTEGER NOT NULL DEFAULT 0, \"folderColorRgb\" TEXT, \"permissionVersion\" INTEGER NOT NULL DEFAULT 0, \"inSyncContentHash\" TEXT, \"inSyncRevisionId\" TEXT, \"lastContentActionId\" INTEGER, \"genoaFileSize\" INTEGER, \"recency\" INTEGER, \"recencyReason\" TEXT, FOREIGN KEY(\"entryId\") REFERENCES \"DriveIdMapping143\"(\"DriveIdMapping_id\") ON DELETE CASCADE, FOREIGN KEY(\"localContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE SET NULL, FOREIGN KEY(\"lastModifyingUser\") REFERENCES \"UserPermissions143\"(\"UserPermissions_id\") ON DELETE CASCADE, FOREIGN KEY(\"sharingUser\") REFERENCES \"UserPermissions143\"(\"UserPermissions_id\") ON DELETE CASCADE, FOREIGN KEY(\"inSyncContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE SET NULL)", - "EntryAuthorizedApp143": "CREATE TABLE \"EntryAuthorizedApp143\" (\"EntryAuthorizedApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"projectNumber\" INTEGER NOT NULL, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "EntryPermission143": "CREATE TABLE \"EntryPermission143\" (\"EntryPermission_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"permissionId\" TEXT, \"accountIdentifier\" TEXT, \"accountName\" TEXT, \"accountType\" INTEGER NOT NULL, \"photoLink\" TEXT, \"role\" INTEGER NOT NULL, \"genoaRoleValue\" INTEGER, \"genoaRoleActionId\" INTEGER, \"isLinkRequired\" INTEGER NOT NULL DEFAULT 0, \"genoaIsLinkRequiredValue\" INTEGER, \"genoaIsLinkRequiredActionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "FileContent143": "CREATE TABLE \"FileContent143\" (\"hash\" TEXT PRIMARY KEY NOT NULL, \"lastAccessed\" INTEGER NOT NULL, \"size\" INTEGER, \"internalFileName\" TEXT, \"sharedFileName\" TEXT, \"encryptionKey\" BLOB, \"encryptionAlgorithm\" TEXT)", - "GenoaValues143": "CREATE TABLE \"GenoaValues143\" (\"GenoaValues_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"trashedValue\" INTEGER, \"trashedActionId\" INTEGER, \"descriptionValue\" TEXT, \"descriptionActionId\" INTEGER, \"lastViewedByMeDateValue\" INTEGER, \"lastViewedByMeDateActionId\" INTEGER, \"mimeTypeValue\" TEXT, \"mimeTypeActionId\" INTEGER, \"starredValue\" INTEGER, \"starredActionId\" INTEGER, \"titleValue\" TEXT, \"titleActionId\" INTEGER, \"viewedValue\" INTEGER, \"viewedActionId\" INTEGER, \"userRoleValue\" TEXT, \"userRoleActionId\" INTEGER, \"inDriveSpaceValue\" INTEGER, \"inDriveSpaceActionId\" INTEGER, \"canEditValue\" INTEGER, \"canEditActionId\" INTEGER, \"sharedValue\" INTEGER, \"sharedActionId\" INTEGER, \"quotaBytesUsedValue\" INTEGER, \"quotaBytesUsedActionId\" INTEGER, \"sharedWithMeTimeValue\" INTEGER, \"sharedWithMeTimeActionId\" INTEGER, \"ownerNamesValue\" TEXT, \"ownerNamesActionId\" INTEGER, \"writersCanShareValue\" INTEGER, \"writersCanShareActionId\" INTEGER, \"lastModifiedTimeValue\" INTEGER, \"lastModifiedTimeActionId\" INTEGER, \"modifiedByMeTimeValue\" INTEGER, \"modifiedByMeTimeActionId\" INTEGER, \"creationTimeValue\" INTEGER, \"creationTimeActionId\" INTEGER, \"folderColorRgbValue\" TEXT, \"folderColorRgbActionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "ParentMapping143": "CREATE TABLE \"ParentMapping143\" (\"ParentMapping_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"parentEntryId\" INTEGER NOT NULL, \"childEntryId\" INTEGER NOT NULL, FOREIGN KEY(\"parentEntryId\") REFERENCES \"DriveIdMapping143\"(\"DriveIdMapping_id\") ON DELETE CASCADE, FOREIGN KEY(\"childEntryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "PartialFeed143": "CREATE TABLE \"PartialFeed143\" (\"PartialFeed_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"feedType\" TEXT NOT NULL DEFAULT 'query', \"feedParameters\" TEXT NOT NULL, \"nextPageToken\" TEXT, \"clipTime\" INTEGER DEFAULT 9223372036854775807, \"numPagesRetrieved\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingAction143": "CREATE TABLE \"PendingAction143\" (\"PendingAction_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"payload\" TEXT NOT NULL, \"attemptCount\" INTEGER NOT NULL, \"requiredEntryId\" INTEGER, \"applyLocallyTimestamp\" INTEGER, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingCleanupAction143": "CREATE TABLE \"PendingCleanupAction143\" (\"PendingCleanupAction_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"actionType\" TEXT NOT NULL, \"actionId\" INTEGER NOT NULL, \"applyOnServerTime\" INTEGER NOT NULL, \"accountId\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingThumbnailUpload143": "CREATE TABLE \"PendingThumbnailUpload143\" (\"PendingThumbnailUpload_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"actionId\" INTEGER NOT NULL, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"actionId\") REFERENCES \"PendingAction143\"(\"PendingAction_id\") ON DELETE CASCADE)", - "PendingUpload143": "CREATE TABLE \"PendingUpload143\" (\"PendingUpload_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"uploadUri\" TEXT, \"baseContentHash\" TEXT, \"actionId\" INTEGER, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"baseContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"actionId\") REFERENCES \"PendingAction143\"(\"PendingAction_id\") ON DELETE CASCADE)", - "PersistedEvent143": "CREATE TABLE \"PersistedEvent143\" (\"PersistedEvent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"androidAppId\" INTEGER NOT NULL, \"serializedEvent\" TEXT NOT NULL, \"nextNotificationTime\" INTEGER NOT NULL DEFAULT 0, \"attemptCount\" INTEGER NOT NULL, \"snoozeCount\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"androidAppId\") REFERENCES \"AndroidApp143\"(\"AndroidApp_id\") ON DELETE CASCADE)", - "PersistedEventContent143": "CREATE TABLE \"PersistedEventContent143\" (\"PersistedEventContent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"persistedEventId\" INTEGER NOT NULL, \"contentHash\" TEXT NOT NULL, FOREIGN KEY(\"persistedEventId\") REFERENCES \"PersistedEvent143\"(\"PersistedEvent_id\") ON DELETE CASCADE, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE)", - "RealtimeDocumentContent143": "CREATE TABLE \"RealtimeDocumentContent143\" (\"RealtimeDocumentContent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"resourceId\" TEXT, \"localId\" TEXT, \"driveAppId\" INTEGER, \"lastAccessed\" INTEGER NOT NULL, \"size\" INTEGER, \"databasePath\" TEXT, \"hasPendingChanges\" INTEGER, \"requiresSync\" INTEGER, \"historyLength\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"driveAppId\") REFERENCES \"DriveApp143\"(\"DriveApp_id\") ON DELETE CASCADE)", - "Sessions": "CREATE TABLE Sessions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, start_time INTEGER NOT NULL, end_time INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL, identifier TEXT, description TEXT, activity INTEGER NOT NULL, active_time_millis INTEGER)", - "Subscription143": "CREATE TABLE \"Subscription143\" (\"Subscription_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"eventType\" INTEGER NOT NULL, \"packageName\" TEXT, \"eventService\" TEXT, \"signingCertificateHash\" TEXT, \"lastUpdateTime\" INTEGER NOT NULL DEFAULT 0, \"androidAppId\" INTEGER NOT NULL DEFAULT -1, \"serializedSubscriptionDetails\" TEXT, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"androidAppId\") REFERENCES \"AndroidApp143\"(\"AndroidApp_id\") ON DELETE CASCADE)", - "Subscriptions": "CREATE TABLE Subscriptions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, data_source_id INTEGER REFERENCES DataSources (_id), data_type_id INTEGER REFERENCES DataTypes (_id), sampling_delay INTEGER NOT NULL, accuracy_mode INTEGER NOT NULL, timestamp INTEGER NOT NULL, realm INTEGER NOT NULL)", - "SyncFeed143": "CREATE TABLE \"SyncFeed143\" (\"SyncFeed_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"space\" TEXT NOT NULL, \"query\" TEXT, \"appProjectNumber\" INTEGER, \"nextPageToken\" TEXT, \"clipTime\" INTEGER, \"numPagesRetrieved\" INTEGER NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "SyncStatus": "CREATE TABLE SyncStatus (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER UNIQUE NOT NULL REFERENCES DataSources(_id), sync_token TEXT, is_remote INTEGER NOT NULL DEFAULT 0, last_synced_time INTEGER, min_local_timestamp INTEGER DEFAULT -1)", - "Thumbnail143": "CREATE TABLE \"Thumbnail143\" (\"Thumbnail_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"version\" INTEGER NOT NULL, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "UserPermissions143": "CREATE TABLE \"UserPermissions143\" (\"UserPermissions_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"permissionsId\" TEXT NOT NULL, \"displayName\" TEXT, \"emailAddress\" TEXT, \"pictureUrl\" TEXT, \"isAuthenticatedUser\" INTEGER NOT NULL DEFAULT 0)", - "accounts": "CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT UNIQUE NOT NULL)", - "achievement_definitions": "CREATE TABLE achievement_definitions (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_achievement_id TEXT NOT NULL,type INTEGER NOT NULL,name TEXT NOT NULL,description TEXT,unlocked_icon_image_id INTEGER REFERENCES images (_id),revealed_icon_image_id INTEGER REFERENCES images (_id),total_steps INTEGER,formatted_total_steps TEXT,initial_state INTEGER NOT NULL,sorting_rank INTEGER NOT NULL,definition_xp_value INTEGER NOT NULL DEFAULT 0)", - "achievement_instances": "CREATE TABLE achievement_instances (_id INTEGER PRIMARY KEY AUTOINCREMENT,definition_id INTEGER REFERENCES achievement_definitions (_id) NOT NULL,player_id INTEGER REFERENCES players (_id) NOT NULL,state INTEGER NOT NULL,current_steps INTEGER,formatted_current_steps TEXT,last_updated_timestamp INTEGER NOT NULL DEFAULT -1,instance_xp_value INTEGER)", - "achievement_pending_ops": "CREATE TABLE achievement_pending_ops (_id INTEGER PRIMARY KEY AUTOINCREMENT,client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL,external_achievement_id TEXT NOT NULL,achievement_type INTEGER NOT NULL,new_state INTEGER,steps_to_increment INTEGER,min_steps_to_set INTEGER,external_game_id TEXT,external_player_id TEXT)", "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "app_info": "CREATE TABLE app_info (_id INTEGER PRIMARY KEY AUTOINCREMENT, pb BLOB, package_name STRING, version_code STRING, digest_sha256 BLOB)", - "app_states": "CREATE TABLE app_states (_id INTEGER PRIMARY KEY AUTOINCREMENT,app_id TEXT NOT NULL,client_context_id INTEGER REFERENCES client_contexts(_id) NOT NULL,key INTEGER NOT NULL,local_version TEXT,local_data BLOB,conflict_version TEXT,conflict_data BLOB,data_dirty INTEGER NOT NULL DEFAULT 0,upsync_required INTEGER NOT NULL DEFAULT 0)", - "application_sessions": "CREATE TABLE application_sessions (_id INTEGER PRIMARY KEY AUTOINCREMENT,session_id TEXT NOT NULL,external_game_id TEXT NOT NULL,start_time INTEGER NOT NULL,end_time INTEGER NOT NULL,client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL)", - "client_contexts": "CREATE TABLE client_contexts (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_name TEXT NOT NULL,package_uid INTEGER NOT NULL,account_name TEXT NOT NULL)", - "connectionConfigurations": "CREATE TABLE connectionConfigurations (_id INTEGER PRIMARY KEY AUTOINCREMENT,androidId STRING,name STRING NOT NULL,pairedBtAddress STRING NOT NULL,connectionType INTEGER NOT NULL,role INTEGER NOT NULL,connectionEnabled INTEGER NOT NULL, UNIQUE(name) ON CONFLICT REPLACE)", - "context": "CREATE TABLE context (_id INTEGER PRIMARY KEY,context_id TEXT UNIQUE NOT NULL,context_name INTEGER,module_id TEXT NOT NULL,time_type INTEGER,start_time INTEGER,end_time INTEGER,context_family INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,version INTEGER NOT NULL,sync_state INTEGER NOT NULL,sync_state_mod_time_millis sync_state_mod_time_millis)", - "credential": "CREATE TABLE credential(id TEXT NOT NULL,account_id TEXT NOT NULL,data BLOB,PRIMARY KEY (account_id, id))", - "credential_affiliation": "CREATE TABLE credential_affiliation(account_id TEXT NOT NULL,credential_id TEXT NOT NULL,domain_url TEXT NOT NULL,PRIMARY KEY (account_id, credential_id, domain_url))", - "credential_app_setting": "CREATE TABLE credential_app_setting(account TEXT NOT NULL,app TEXT NOT NULL,key TEXT NOT NULL,value TEXT,PRIMARY KEY (account, app, key))", - "credential_setting": "CREATE TABLE credential_setting(account TEXT NOT NULL,key TEXT NOT NULL,value TEXT,PRIMARY KEY (account, key))", - "device_features": "CREATE TABLE device_features (_id INTEGER PRIMARY KEY AUTOINCREMENT,last_connection_timestamp INTEGER NOT NULL,feature_name TEXT NOT NULL)", - "downloads": "CREATE TABLE downloads (_id INTEGER PRIMARY KEY AUTOINCREMENT,filename TEXT NOT NULL UNIQUE,url TEXT NOT NULL,sizeBytes INTEGER NOT NULL,sha1 TEXT NOT NULL,destination TEXT,minVersion INTEGER,maxVersion INTEGER,notificationTitle TEXT,notificationDescription TEXT,enabled INTEGER DEFAULT 0,retries INTEGER DEFAULT 0,dm_id INTEGER)", "encryptionkeys": "CREATE TABLE encryptionkeys ( key_handle INTEGER PRIMARY KEY, account STRING NOT NULL, master_key BLOB NOT NULL, creation_time INTEGER NOT NULL, expiration_time INTEGER NOT NULL )", - "event_definitions": "CREATE TABLE event_definitions (_id INTEGER PRIMARY KEY AUTOINCREMENT,event_definitions_game_id INTEGER REFERENCES games (_id) NOT NULL,external_event_id TEXT NOT NULL,name TEXT NOT NULL,description TEXT,icon_image_id INTEGER REFERENCES images (_id),sorting_rank INTEGER,visibility INTEGER)", - "event_instances": "CREATE TABLE event_instances (_id INTEGER PRIMARY KEY AUTOINCREMENT,definition_id INTEGER REFERENCES event_definitions (_id) NOT NULL,player_id INTEGER REFERENCES players (_id) NOT NULL,value INTEGER,formatted_value TEXT,last_updated_timestamp INTEGER NOT NULL DEFAULT -1)", - "event_pending_ops": "CREATE TABLE event_pending_ops (_id INTEGER PRIMARY KEY AUTOINCREMENT,instance_id INTEGER REFERENCES event_instances (_id),client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL,window_start_time INTEGER NOT NULL,window_end_time INTEGER NOT NULL,increment INTEGER,request_id INTEGER DEFAULT 0)", - "exclude_bucket": "CREATE TABLE exclude_bucket (_id INTEGER PRIMARY KEY, bucket_id TEXT UNIQUE NOT NULL)", - "experience_events": "CREATE TABLE experience_events (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_experience_id TEXT NOT NULL,game_id INTEGER REFERENCES games (_id) NOT NULL,created_timestamp INTEGER NOT NULL DEFAULT -1,display_title TEXT NOT NULL,display_description TEXT NOT NULL,display_string TEXT NOT NULL,icon_id INTEGER REFERENCES images (_id),type INTEGER NOT NULL DEFAULT -1,current_xp INTEGER NOT NULL DEFAULT -1,xp_earned INTEGER NOT NULL DEFAULT 0,newLevel INTEGER NOT NULL DEFAULT -1)", - "experiment": "CREATE TABLE experiment (package TEXT, namespace TEXT , key TEXT, value BLOB, PRIMARY KEY (package, namespace, key))", - "feature": "CREATE TABLE feature (_id INTEGER PRIMARY KEY,type INTEGER NOT NULL,time_type INTEGER,start_time INTEGER,end_time INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,account_id TEXT)", - "fetch_metadata": "CREATE TABLE fetch_metadata (package TEXT, namespace_digest TEXT, recent_success_times TEXT, recent_failure_times TEXT, device_context_digest BLOB, app_context_digest BLOB, PRIMARY KEY (package))", - "game_badges": "CREATE TABLE game_badges (_id INTEGER PRIMARY KEY AUTOINCREMENT,badge_game_id INTEGER REFERENCES games (_id) NOT NULL,badge_type INTEGER NOT NULL,badge_title TEXT NOT NULL,badge_description TEXT,badge_icon_image_id INTEGER REFERENCES images (_id))", - "game_instances": "CREATE TABLE game_instances (_id INTEGER PRIMARY KEY AUTOINCREMENT,instance_game_id INTEGER REFERENCES games (_id) NOT NULL,real_time_support INTEGER NOT NULL DEFAULT 0,turn_based_support INTEGER NOT NULL DEFAULT 0,platform_type INTEGER NOT NULL,instance_display_name TEXT NOT NULL,package_name TEXT,piracy_check INTEGER NOT NULL DEFAULT 0,installed INTEGER NOT NULL DEFAULT 0,preferred INTEGER NOT NULL DEFAULT 0)", - "games": "CREATE TABLE games (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_game_id TEXT NOT NULL,display_name TEXT NOT NULL,primary_category TEXT,secondary_category TEXT,developer_name TEXT,game_description TEXT,game_icon_image_id INTEGER REFERENCES images (_id),game_hi_res_image_id INTEGER REFERENCES images (_id),featured_image_id INTEGER REFERENCES images (_id),play_enabled_game INTEGER NOT NULL DEFAULT 0,last_played_server_time INTEGER,last_connection_local_time INTEGER NOT NULL DEFAULT 0,last_synced_local_time INTEGER NOT NULL DEFAULT 0,metadata_version INTEGER NOT NULL DEFAULT 0,metadata_sync_requested INTEGER NOT NULL DEFAULT 0,target_instance INTEGER REFERENCES game_instances (_id),gameplay_acl_status INTEGER NOT NULL DEFAULT 1,availability INTEGER NOT NULL DEFAULT 1,owned INTEGER NOT NULL DEFAULT 0,achievement_total_count INTEGER NOT NULL DEFAULT 0,leaderboard_count INTEGER NOT NULL DEFAULT 0,price_micros INTEGER,formatted_price TEXT,full_price_micros INTEGER,formatted_full_price TEXT,muted INTEGER NOT NULL DEFAULT 0,identity_sharing_confirmed INTEGER NOT NULL DEFAULT 0,snapshots_enabled INTEGER NOT NULL DEFAULT 1,theme_color TEXT NOT NULL DEFAULT '000000')", - "hits": "CREATE TABLE hits ( 'hit_id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, 'hit_time' INTEGER NOT NULL, 'hit_url' TEXT NOT NULL, 'hit_string' TEXT NOT NULL,'hit_app_id' TEXT)", - "hits2": "CREATE TABLE hits2 ( 'hit_id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, 'hit_time' INTEGER NOT NULL, 'hit_url' TEXT NOT NULL, 'hit_string' TEXT NOT NULL, 'hit_app_id' INTEGER)", - "images": "CREATE TABLE images (_id INTEGER PRIMARY KEY AUTOINCREMENT,url TEXT,local INTEGER NOT NULL,filesize INTEGER,download_timestamp INTEGER)", - "internal_metadata": "CREATE TABLE internal_metadata (key TEXT, value BLOB, PRIMARY KEY (key))", - "invitations": "CREATE TABLE invitations (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_invitation_id TEXT NOT NULL,external_inviter_id TEXT NOT NULL,creation_timestamp INTEGER NOT NULL,last_modified_timestamp INTEGER NOT NULL,description TEXT,type INTEGER NOT NULL,variant INTEGER NOT NULL DEFAULT -1,has_automatch_criteria INTEGER NOT NULL DEFAULT 0,automatch_min_players INTEGER,automatch_max_players INTEGER,inviter_in_circles INTEGER NOT NULL DEFAULT 1)", - "leaderboard_instances": "CREATE TABLE leaderboard_instances (_id INTEGER PRIMARY KEY AUTOINCREMENT,leaderboard_id INTEGER REFERENCES leaderboards (_id) NOT NULL,timespan INTEGER NOT NULL,collection INTEGER NOT NULL,player_raw_score INTEGER,player_display_score TEXT,player_rank INTEGER,player_display_rank TEXT,player_score_tag TEXT,total_scores INTEGER,top_page_token_next TEXT,window_page_token_prev TEXT,window_page_token_next TEXT)", - "leaderboard_pending_scores": "CREATE TABLE leaderboard_pending_scores (_id INTEGER PRIMARY KEY AUTOINCREMENT,client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL,external_game_id TEXT NOT NULL,external_leaderboard_id TEXT NOT NULL,external_player_id TEXT NOT NULL,raw_score INTEGER NOT NULL,achieved_timestamp INTEGER NOT NULL,score_tag TEXT,signature TEXT NOT NULL DEFAULT '')", - "leaderboard_scores": "CREATE TABLE leaderboard_scores (_id INTEGER PRIMARY KEY AUTOINCREMENT,instance_id INTEGER REFERENCES leaderboard_instances (_id) NOT NULL,page_type INTEGER NOT NULL DEFAULT 0,player_id INTEGER REFERENCES players (_id),default_display_name TEXT,default_display_image_id INTEGER REFERENCES images (_id),rank INTEGER NOT NULL,display_rank TEXT NOT NULL,raw_score INTEGER NOT NULL,display_score TEXT NOT NULL,achieved_timestamp INTEGER NOT NULL,score_tag TEXT)", - "leaderboards": "CREATE TABLE leaderboards (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_leaderboard_id TEXT NOT NULL,name TEXT NOT NULL,board_icon_image_id INTEGER REFERENCES images (_id),sorting_rank INTEGER,score_order INTEGER NOT NULL)", - "local_fingerprints": "CREATE TABLE local_fingerprints (content_uri TEXT PRIMARY KEY NOT NULL, fingerprint TEXT NOT NULL)", - "local_folders": "CREATE TABLE local_folders (bucket_id TEXT UNIQUE NOT NULL)", - "local_reports": "CREATE TABLE local_reports (_id integer PRIMARY KEY AUTOINCREMENT, api integer, network_type integer, ssid text, security_type integer,bssid text, cellid text, package text, timestamp_millis integer, latency_micros integer DEFAULT -1, bytes_downloaded integer DEFAULT -1, bytes_uploaded integer DEFAULT -1, duration_millis integer DEFAULT -1, measurement_type integer DEFAULT -1, throughput_bps integer DEFAULT -1, version_code integer)", - "lru_table": "CREATE TABLE lru_table(rowkey TEXT NOT NULL PRIMARY KEY, soft_ttl_millis INTEGER, last_updated_millis INTEGER, last_requested_millis INTEGER NOT NULL, etag TEXT, value BLOB)", - "main": "CREATE TABLE main (a TEXT NOT NULL, b LONG NOT NULL, c LONG NOT NULL, d TEXT NON NULL, e TEXT NON NULL,f BLOB NOT NULL)", - "matches": "CREATE TABLE matches (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_match_id TEXT NOT NULL,creator_external TEXT NOT NULL,creation_timestamp INTEGER NOT NULL,last_updater_external TEXT,last_updated_timestamp INTEGER,pending_participant_external TEXT,data BLOB,status INTEGER NOT NULL,description TEXT,version INTEGER NOT NULL,variant INTEGER NOT NULL DEFAULT -1,notification_text TEXT,user_match_status INTEGER NOT NULL,has_automatch_criteria INTEGER NOT NULL,automatch_min_players INTEGER,automatch_max_players INTEGER,automatch_bit_mask INTEGER,automatch_wait_estimate_sec INTEGER NOT NULL DEFAULT -1,rematch_id TEXT,match_number INTEGER NOT NULL DEFAULT 1,previous_match_data BLOB,upsync_required INTEGER NOT NULL DEFAULT 0,description_participant_id TEXT)", - "matches_pending_ops": "CREATE TABLE matches_pending_ops (_id INTEGER PRIMARY KEY AUTOINCREMENT,client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL,type INTEGER NOT NULL,external_game_id TEXT NOT NULL,external_match_id TEXT,pending_participant_id TEXT,version INTEGER,is_turn INTEGER,results TEXT)", - "media_record": "CREATE TABLE media_record (_id INTEGER PRIMARY KEY AUTOINCREMENT,album_id TEXT,upload_url TEXT,bucket_id TEXT,upload_error TEXT,resume_token TEXT,event_id TEXT,fingerprint TEXT,component_name TEXT,mime_type TEXT,media_url TEXT NOT NULL,allow_full_res INTEGER NOT NULL DEFAULT 1,media_time INTEGER NOT NULL,media_hash INTEGER NOT NULL,media_id INTEGER NOT NULL,upload_time INTEGER,bytes_uploaded INTEGER,retry_end_time INTEGER NOT NULL DEFAULT 0,upload_id INTEGER,bytes_total INTEGER NOT NULL DEFAULT -1,upload_finish_time INTEGER NOT NULL DEFAULT 0,upload_account_id INTEGER NOT NULL DEFAULT -1,upload_reason INTEGER NOT NULL DEFAULT 0,upload_state INTEGER NOT NULL DEFAULT 500,upload_status INTEGER NOT NULL DEFAULT 0,upload_task_state INTEGER,from_camera INTEGER NOT NULL DEFAULT 0,is_image INTEGER NOT NULL DEFAULT 1)", - "media_tracker": "CREATE TABLE media_tracker (_id INTEGER PRIMARY KEY, volume_name TEXT NOT NULL, media_type TEXT NOT NULL,last_media_id INTEGER NOT NULL DEFAULT(0))", - "milestones": "CREATE TABLE milestones (_id INTEGER PRIMARY KEY AUTOINCREMENT,completion_reward_data BLOB,external_milestone_id TEXT NOT NULL,event_instance_id INTEGER REFERENCES event_instances (_id) NOT NULL,initial_value INTEGER NOT NULL,quest_id INTEGER REFERENCES quests (_id) NOT NULL,milestones_sorting_rank INTEGER NOT NULL,milestone_state INTEGER NOT NULL,target_value INTEGER NOT NULL)", - "notifications": "CREATE TABLE notifications (_id INTEGER PRIMARY KEY AUTOINCREMENT,notification_id TEXT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_sub_id TEXT NOT NULL,type INTEGER NOT NULL,image_id INTEGER REFERENCES images (_id),ticker TEXT,title TEXT,text TEXT,coalesced_text TEXT,timestamp INTEGER NOT NULL DEFAULT -1,acknowledged INTEGER NOT NULL DEFAULT 0,alert_level INTEGER NOT NULL DEFAULT 1)", - "operations": "CREATE TABLE operations (_id INTEGER PRIMARY KEY AUTOINCREMENT,op_code INTEGER NOT NULL,write_time_millis INTEGER NOT NULL,package_id INTEGER REFERENCES packages(_id),account_id INTEGER REFERENCES accounts(_id),client_id TEXT NOT NULL,expiration_time INTEGER,network_status INTEGER NOT NULL,network_last_update_millis INTEGER NOT NULL,deletable INTEGER NOT NULL,proto BLOB)", - "override": "CREATE TABLE override (package TEXT, namespace TEXT, key TEXT, value BLOB, PRIMARY KEY (package, namespace, key))", - "overrides": "CREATE TABLE overrides (package TEXT, key TEXT, value BLOB, PRIMARY KEY (package, key))", - "packages": "CREATE TABLE packages (uid INTEGER,package_name STRING,PRIMARY KEY (uid,package_name))", - "participants": "CREATE TABLE participants (_id INTEGER PRIMARY KEY AUTOINCREMENT,match_id INTEGER REFERENCES matches (_id),invitation_id INTEGER REFERENCES invitations (_id),external_participant_id TEXT NOT NULL,player_id INTEGER REFERENCES players (_id),default_display_image_id INTEGER REFERENCES images (_id),default_display_hi_res_image_id INTEGER REFERENCES images (_id),default_display_name TEXT,player_status INTEGER NOT NULL,client_address TEXT,result_type INTEGER,placing INTEGER,connected INTEGER,capabilities INTEGER)", - "player_levels": "CREATE TABLE player_levels (_id INTEGER PRIMARY KEY AUTOINCREMENT,level_value INTEGER NOT NULL,level_min_xp INTEGER NOT NULL DEFAULT -1,level_max_xp INTEGER NOT NULL DEFAULT -1,version INTEGER NOT NULL)", - "players": "CREATE TABLE players (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_player_id TEXT NOT NULL,profile_name TEXT NOT NULL,profile_icon_image_id INTEGER REFERENCES images (_id),profile_hi_res_image_id INTEGER REFERENCES images (_id),last_updated INTEGER NOT NULL,is_in_circles INTEGER NOT NULL DEFAULT -1,current_xp_total INTEGER NOT NULL DEFAULT -1,current_level INTEGER NOT NULL DEFAULT -1,current_level_min_xp INTEGER NOT NULL DEFAULT -1,current_level_max_xp INTEGER NOT NULL DEFAULT -1,next_level INTEGER NOT NULL DEFAULT -1,next_level_max_xp INTEGER NOT NULL DEFAULT -1,last_level_up_timestamp INTEGER NOT NULL DEFAULT -1,player_title TEXT,has_all_public_acls INTEGER NOT NULL DEFAULT 1,is_profile_visible INTEGER NOT NULL DEFAULT 1,most_recent_activity_timestamp INTEGER NOT NULL DEFAULT -1,most_recent_external_game_id TEXT,most_recent_game_name TEXT,most_recent_game_icon_id INTEGER REFERENCES images (_id),most_recent_game_hi_res_id INTEGER REFERENCES images (_id),most_recent_game_featured_id INTEGER REFERENCES images (_id))", - "properties": "CREATE TABLE properties ( app_uid INTEGER NOT NULL, cid TEXT NOT NULL, tid TEXT NOT NULL, params TEXT NOT NULL, adid INTEGER NOT NULL, hits_count INTEGER NOT NULL, PRIMARY KEY (app_uid, cid, tid))", - "quests": "CREATE TABLE quests (_id INTEGER PRIMARY KEY AUTOINCREMENT,accepted_ts INTEGER NOT NULL DEFAULT -1,quest_banner_image_id INTEGER REFERENCES images (_id),quest_description TEXT NOT NULL,quest_end_ts INTEGER NOT NULL,external_quest_id TEXT NOT NULL,game_id INTEGER REFERENCES games (_id) NOT NULL,quest_icon_image_id INTEGER REFERENCES images (_id),quest_last_updated_ts INTEGER NOT NULL DEFAULT -1,quest_name TEXT NOT NULL,notified INTEGER NOT NULL DEFAULT 0,notification_ts INTEGER NOT NULL,quest_start_ts INTEGER NOT NULL,quest_state INTEGER NOT NULL,quest_type INTEGER NOT NULL)", - "registrations": "CREATE TABLE registrations (uid INTEGER,package_name STRING,subscription STRING,reg_id STRING,expiration INTEGER,PRIMARY KEY (uid,package_name,subscription) ON CONFLICT REPLACE)", - "relation": "CREATE TABLE relation (_id INTEGER PRIMARY KEY,relation_id TEXT UNIQUE NOT NULL,relation_name INTEGER,time_type INTEGER,start_time INTEGER,end_time INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,version INTEGER NOT NULL,sync_state INTEGER NOT NULL,sync_state_mod_time_millis INTEGER NOT NULL)", - "relation_from": "CREATE TABLE relation_from (relation_row_id INTEGER NOT NULL,context_id TEXT NOT NULL)", - "relation_to": "CREATE TABLE relation_to (relation_row_id INTEGER NOT NULL,context_id TEXT NOT NULL)", - "removed_packages": "CREATE TABLE removed_packages (uid INTEGER,package_name STRING,PRIMARY KEY (uid,package_name))", - "request_pending_ops": "CREATE TABLE request_pending_ops (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_request_id TEXT NOT NULL,external_game_id TEXT NOT NULL,client_context_id INTEGER NOT NULL)", - "request_recipients": "CREATE TABLE request_recipients (_id INTEGER PRIMARY KEY AUTOINCREMENT,request_id INTEGER REFERENCES requests (_id) NOT NULL,player_id INTEGER REFERENCES players (_id) NOT NULL,recipient_status INTEGER NOT NULL DEFAULT 0)", - "requests": "CREATE TABLE requests (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_request_id TEXT NOT NULL,game_id INTEGER REFERENCES games (_id) NOT NULL,sender_id INTEGER REFERENCES players (_id) NOT NULL,data BLOB,type INTEGER NOT NULL DEFAULT -1,creation_timestamp INTEGER NOT NULL DEFAULT 0,expiration_timestamp INTEGER NOT NULL DEFAULT 0,status INTEGER NOT NULL DEFAULT -1)", - "server_fingerprints": "CREATE TABLE server_fingerprints (_id INTEGER PRIMARY KEY, fingerprint TEXT NOT NULL, image_url TEXT, photo_id INT NOT NULL DEFAULT(0), owner_id TEXT NOT NULL, UNIQUE (owner_id, image_url), UNIQUE (owner_id, photo_id))", - "signingkeys": "CREATE TABLE signingkeys ( key_handle STRING PRIMARY KEY, public_key BLOB NOT NULL, private_key BLOB NOT NULL, creation_time INTEGER NOT NULL, expiration_time INTEGER NOT NULL )", - "snapshots": "CREATE TABLE snapshots (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,owner_id INTEGER REFERENCES players (_id) NOT NULL,external_snapshot_id TEXT NOT NULL,drive_resolved_id_string TEXT,drive_resource_id_string TEXT,cover_icon_image_id INTEGER REFERENCES images (_id),title TEXT,description TEXT,last_modified_timestamp INTEGER NOT NULL DEFAULT -1,duration INTEGER NOT NULL DEFAULT -1,cover_icon_image_height INTEGER NOT NULL DEFAULT 0,cover_icon_image_width INTEGER NOT NULL DEFAULT 0,unique_name TEXT NOT NULL,visible INTEGER NOT NULL DEFAULT 1)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" + "signingkeys": "CREATE TABLE signingkeys ( key_handle STRING PRIMARY KEY, public_key BLOB NOT NULL, private_key BLOB NOT NULL, creation_time INTEGER NOT NULL, expiration_time INTEGER NOT NULL )" }, "db-metadata-hashes": { - "Account143": "1921c8925235e313a92f2591f8d3c8b4", - "AccountEventIndex": "c39a79a61eb08300945a8f88493c9c79", - "AccountHistory": "12e3c42fd55bf4ab2a48340e21524fb2", - "AndroidApp143": "1c1f5b6504fef44d9dc7f7cad3cefc24", - "Applications": "74ba46c998a452bc0eab7b3fc4465ce3", - "BleCharacteristics": "a947ef7298068efc3596f5a168a0f26c", - "BleDevices": "812f8b071a8fff6453491cad51599646", - "ChangeLog": "d367a9797bd366d83e4d48424bf38b48", - "ContentFileDeletionLock143": "b19e0c6048bd4ddb214e79267593331c", - "CustomProperty143": "2f1ac2c1d136185b248aee4f34fbcc48", - "DataPointRows": "b073bd25a51191881a83bd8eef36a6b7", - "DataSourceTypes": "fa031e7a8ae526b0337ca5a75100b2a9", - "DataSources": "3159a7fc6e1abd004a425a2c1f597184", - "DataTypeFields": "859905ffc96b14edb90988bcce2d79bf", - "DataTypes": "bcbcc52ce27332851b24f3d1b546465b", - "Devices": "26530038c1f8b0b66259387147194bcf", - "DriveApp143": "e56bc29f83571910d04df429ee98ec4d", - "DriveIdMapping143": "22383e11e7f9aa2eb9444ac7e12d1d6e", - "Entry143": "0bff7c52f912bc98975c9c044182a90d", - "EntryAuthorizedApp143": "1d6f7f39e83ba8ab479a329460b57dcb", - "EntryPermission143": "c77370f9300a7dac7c4964e2b8beefd3", - "FileContent143": "490d0863631c28ee29890d0b71be43ba", - "GenoaValues143": "edaef3765d79409a89a92b61a7835a04", - "ParentMapping143": "d20b75756a18580e4ecc2529c6924581", - "PartialFeed143": "332ac9127fee3f9f4f725c55f227b5d6", - "PendingAction143": "531be51d5221157c218c527f9c362a25", - "PendingCleanupAction143": "8b75e88a4ff018d54d8bab2e000ed3f4", - "PendingThumbnailUpload143": "28e49540cd9a6e84313f492ce7cbfd49", - "PendingUpload143": "bc9dfb2afc5c881ec2e9fff16b33a709", - "PersistedEvent143": "d226b646557b72e7c8ca1a301ca0d653", - "PersistedEventContent143": "eea4e453369e162f5d0fe38c09ac4d26", - "RealtimeDocumentContent143": "7f9c6014540d03dace85113668d5d5e2", - "Sessions": "ce99b3e7c27e18688309695ff43ed83e", - "Subscription143": "67ab61d745051b85e26ccdaaec93d7d7", - "Subscriptions": "d56cf36625565862ad10d27713828941", - "SyncFeed143": "eaedaf9ddfdca36c8b052be07a447d7c", - "SyncStatus": "a0e0a02b376eac6f50e3d3ba7bc8c1fb", - "Thumbnail143": "6461da595d2cf7558b6c69efe80a18ca", - "UserPermissions143": "facdec49e49be6c9e0666ff4c546e6d5", - "accounts": "628b2bc7af80a840c94ec1d472528edf", - "achievement_definitions": "8ee9ec2cecf4600f2eaccf01290aa376", - "achievement_instances": "2dc97713843110ca1a5c6a0a5ccf76a9", - "achievement_pending_ops": "abb5266642e7625d6739291fff4c793f", "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "app_info": "5872aa7ed50d3f90207f39a1e2fe1b36", - "app_states": "a07d17f6016c1904183d33e1181994eb", - "application_sessions": "8791d74f0b2ca4fd4cd8db3cd2583912", - "client_contexts": "214b6222b52b25d5c65a7938d29d5c43", - "connectionConfigurations": "474cca0cbce4bc56cde84486493cb4c4", - "context": "b570b9b7cde71ce3008a6df0c6882205", - "credential": "ff1446387e16d08af6d10e9b7aee1d01", - "credential_affiliation": "383d3b94eb3d4deb28216a0a88cf798c", - "credential_app_setting": "586b3d990301e62d03c3cf0c460fe090", - "credential_setting": "1fa8123b312b54bb0fdaed71fa1db74f", - "device_features": "e87b36b9c24207e9c9f688969f763106", - "downloads": "67b9255bc5ada4b51029f379e897f289", "encryptionkeys": "a57b94522206fe4b61a264bafa46f002", - "event_definitions": "84f1dc597190f1363f785ff9b38f51ba", - "event_instances": "114f3a7f5c43082620ef942aea3fa998", - "event_pending_ops": "dde888ec136e7b71ad8d5d6bdfdbde0c", - "exclude_bucket": "7fa77ff7871b148846e37ee15a6a905c", - "experience_events": "5a6dc9e6443728f37425da43ff70ad93", - "experiment": "89709f2881041f3f2382663fa00610a3", - "feature": "1829660b11f6712a2957588c1da9d716", - "fetch_metadata": "fa749920613c7e4bd49ebbbfd1720bc6", - "game_badges": "cab66bee9b3097cfbef89296a9b419aa", - "game_instances": "fe0554b9c37e6ff9cc27d10f08a22a7b", - "games": "0ff6f355e71737848a2399bfb2bcd566", - "hits": "3349b8714b8a8033141bf826efb6c7e5", - "hits2": "e923bd71d67ff431a43ecd9429648faf", - "images": "aeaf76f464ee6c3827c50bdce7c8dd9e", - "internal_metadata": "b7b50cd354aac9d826b6a46a4cc1ecdb", - "invitations": "e4cff3f7755ce3dd39534d3e555b8f5c", - "leaderboard_instances": "e5988589bcec0b6cd51f40974e3045f9", - "leaderboard_pending_scores": "373073a2cc0e1aed0d2238f20ace27e5", - "leaderboard_scores": "d050e33be6cfc0f767630d07e2b801ab", - "leaderboards": "f7bdaca6a987a4b59a95ec6601cb6127", - "local_fingerprints": "f87ca1a86a7cf2c498f3cd3ca18bc826", - "local_folders": "a7409ad44e92c890b11850c2799d7479", - "local_reports": "7c724e0d24937cebad00a58dc94fc341", - "lru_table": "047667bb74c68e352e01a08ff9ae0ae4", - "main": "fe108abb5ff17b3d5cf87d8347058999", - "matches": "140ea13f33c37f9c46e824be19e10420", - "matches_pending_ops": "754aa10fce0dac4d4a244f613103de50", - "media_record": "a5a54d2ac93b8aa5a8fba2f6e121633e", - "media_tracker": "ebed9f81f1c6e286d261044b770d5315", - "milestones": "180003e022262478719e93f96dfe6c75", - "notifications": "945b268f684b1a52b42cd802c7bdd660", - "operations": "f2d70c426ac228401bcff6b2e36d824f", - "override": "58ff373730fec5f3b21d6b251f0e8f93", - "overrides": "1c7ce35ab1145781807ff1e79dddd4c1", - "packages": "4578b819acc244f45ccdc7e3357410d9", - "participants": "59af785de875609bd8afd5b0d811dc0f", - "player_levels": "f25bf3356b1700e431598bb8b40bb154", - "players": "587dcef6e3aa3461dd072c1d0ae98e7b", - "properties": "6b0c0db04ef0df4f25a6e937a26ea3d3", - "quests": "0b95bca9bc6a3f5ab7fe374cc756c0b1", - "registrations": "1444d3f7d8e6b5756ea66c6cedd309d7", - "relation": "79623bbd16cc0c97ad4eabd76393b09c", - "relation_from": "eb9f03627aaa22c71bb4a9d95d5f1b39", - "relation_to": "fb572352c0f5aa6b4287aedd62950160", - "removed_packages": "49322e83d357d37324dc1d7dd0361930", - "request_pending_ops": "b197b36464dfd2c06572d248507a6eec", - "request_recipients": "5fcc4be806ed403d93b59ef8c30d0fb9", - "requests": "9227a84922a398288688e539003304af", - "server_fingerprints": "ca73236b2244c4a2762c2fcdb8c4e7d5", - "signingkeys": "dd0ded8ef7433f1bc781ed51b59eab46", - "snapshots": "aae285183766fd74d11bc18a96d3ff27", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" + "signingkeys": "dd0ded8ef7433f1bc781ed51b59eab46" }, - "db-metadata-md5": "f50245cd01ab584b374935c3b4f58186", + "db-metadata-md5": "37255fd87098b781f1c3dad526e90ad1", "tables": { - "Account143": { - "Account_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountHolderName": { - "datatype": "TEXT", - "notnull": true - }, - "documentSyncClipTime": { - "datatype": "INTEGER" - }, - "folderSyncClipTime": { - "datatype": "INTEGER" - }, - "forceFullSync": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "forceFullSyncLevel": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncChangeStamp": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "maxUploadSize": { - "datatype": "INTEGER", - "default": "5242880000000", - "notnull": true - }, - "minimumChangeSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "AccountEventIndex": { - "account_name": { - "datatype": "TEXT", - "notnull": true, - "unique": true - }, - "event_index": { - "datatype": "INTEGER", - "notnull": true - } - }, - "AccountHistory": { - "account_name": { - "datatype": "TEXT", - "notnull": true - }, - "change_data": { - "datatype": "TEXT" - }, - "change_type": { - "datatype": "INTEGER", - "notnull": true - }, - "event_index": { - "datatype": "INTEGER", - "notnull": true - }, - "id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - } - }, - "AndroidApp143": { - "AndroidApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "batteryUsagePreference": { - "datatype": "INTEGER", - "default": "256", - "notnull": true - }, - "certificateHash": { - "datatype": "TEXT", - "notnull": true - }, - "driveAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "networkTypePreference": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "packageName": { - "datatype": "TEXT", - "notnull": true - }, - "roamingAllowed": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - } - }, - "Applications": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "console_ids": { - "datatype": "TEXT" - }, - "details_url": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT" - }, - "package": { - "datatype": "TEXT", - "notnull": true - }, - "version": { - "datatype": "TEXT" - } - }, - "BleCharacteristics": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "device_id": { - "datatype": "INTEGER" - }, - "permissions": { - "datatype": "INTEGER" - }, - "properties": { - "datatype": "INTEGER" - }, - "uuid": { - "datatype": "TEXT", - "notnull": true - } - }, - "BleDevices": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "address": { - "datatype": "NOT" - }, - "device_name": { - "datatype": "TEXT" - }, - "firmware_revision": { - "datatype": "TEXT" - }, - "hardware_revision": { - "datatype": "TEXT" - }, - "manufacturer": { - "datatype": "TEXT" - }, - "model_number": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT" - }, - "software_revision": { - "datatype": "TEXT" - }, - "type": { - "datatype": "TEXT" - } - }, - "ChangeLog": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "content": { - "datatype": "BLOB", - "notnull": true - }, - "is_delete": { - "datatype": "INTEGER", - "notnull": true - }, - "last_sync_ms": { - "datatype": "INTEGER", - "default": "0" - }, - "source_table": { - "datatype": "TEXT", - "notnull": true - }, - "sync_tries": { - "datatype": "INTEGER", - "default": "0" - }, - "timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "ContentFileDeletionLock143": { - "filename": { - "datatype": "TEXT", - "primarykey": true - } - }, - "CustomProperty143": { - "CustomProperty_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "actionId": { - "datatype": "INTEGER" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "genoaValue": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "projectNumber": { - "datatype": "INTEGER" - }, - "value": { - "datatype": "TEXT" - } - }, - "DataPointRows": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_point": { - "datatype": "BLOB", - "notnull": true - }, - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources(_id)" - }, - "end_time": { - "datatype": "INTEGER", - "notnull": true - }, - "start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "DataSourceTypes": { - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources(_id)" - }, - "data_type_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataTypes(_id)" - } - }, - "DataSources": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "application_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "Applications(_id)" - }, - "device_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "Devices(_id)" - }, - "identifier": { - "datatype": "TEXT" - }, - "source_name": { - "datatype": "TEXT" - }, - "stream_name": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "TEXT" - } - }, - "DataTypeFields": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_type_id": { - "datatype": "INTEGER", - "notnull": true - }, - "field_name": { - "datatype": "TEXT", - "notnull": true - }, - "format": { - "datatype": "INTEGER", - "notnull": true - } - }, - "DataTypes": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT", - "notnull": true - } - }, - "Devices": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "make": { - "datatype": "TEXT", - "notnull": true - }, - "model": { - "datatype": "TEXT", - "notnull": true - }, - "platform_type": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER" - }, - "uid": { - "datatype": "TEXT" - }, - "version": { - "datatype": "TEXT", - "notnull": true - } - }, - "DriveApp143": { - "DriveApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "appDataRootEntryId": { - "datatype": "INTEGER" - }, - "expiryTimestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "isAppDataRootPlaceholder": { - "datatype": "INTEGER" - }, - "projectNumber": { - "datatype": "INTEGER", - "notnull": true - }, - "scopes": { - "datatype": "TEXT", - "notnull": true - } - }, - "DriveIdMapping143": { - "DriveIdMapping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "resourceId": { - "datatype": "TEXT" - } - }, - "Entry143": { - "FOREIGN": { - "datatype": "KEY" - }, - "alternateLink": { - "datatype": "TEXT" - }, - "canEdit": { - "datatype": "INTEGER", - "notnull": true - }, - "creationDate": { - "datatype": "INTEGER", - "notnull": true - }, - "customPropertiesCount": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "deletedOnServerTime": { - "datatype": "INTEGER" - }, - "description": { - "datatype": "TEXT" - }, - "embedLink": { - "datatype": "TEXT" - }, - "entryId": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "fileExtension": { - "datatype": "TEXT" - }, - "fileSize": { - "datatype": "INTEGER", - "default": "0" - }, - "folderColorRgb": { - "datatype": "TEXT" - }, - "genoaFileSize": { - "datatype": "INTEGER" - }, - "hasGenoaValues": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "hasThumbnail": { - "datatype": "INTEGER" - }, - "headRevisionId": { - "datatype": "TEXT" - }, - "inDriveSpace": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inGooglePhotosSpace": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inSyncContentHash": { - "datatype": "TEXT" - }, - "inSyncRevisionId": { - "datatype": "TEXT" - }, - "isCopyable": { - "datatype": "INTEGER" - }, - "isDeleted": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isDeletedActionId": { - "datatype": "INTEGER" - }, - "isDownloadable": { - "datatype": "INTEGER", - "notnull": true - }, - "isGooglePhotos": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isGooglePhotosRootFolder": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isRestricted": { - "datatype": "INTEGER" - }, - "isViewed": { - "datatype": "INTEGER" - }, - "lastContentActionId": { - "datatype": "INTEGER" - }, - "lastModifiedDate": { - "datatype": "INTEGER", - "notnull": true - }, - "lastModifyingUser": { - "datatype": "INTEGER" - }, - "lastSyncSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastViewedByMeDate": { - "datatype": "INTEGER" - }, - "localContentHash": { - "datatype": "TEXT" - }, - "md5Checksum": { - "datatype": "TEXT" - }, - "mimeType": { - "datatype": "TEXT", - "notnull": true - }, - "modifiedByMeDate": { - "datatype": "INTEGER" - }, - "originalFilename": { - "datatype": "TEXT" - }, - "ownerNames": { - "datatype": "TEXT" - }, - "ownerProjectNumber": { - "datatype": "INTEGER" - }, - "permissionVersion": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "pinned": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "quotaBytesUsed": { - "datatype": "INTEGER", - "default": "0" - }, - "recency": { - "datatype": "INTEGER" - }, - "recencyReason": { - "datatype": "TEXT" - }, - "sequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "shared": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "sharedWithMeDate": { - "datatype": "INTEGER" - }, - "sharingUser": { - "datatype": "INTEGER" - }, - "singletonCreatorProjectNumber": { - "datatype": "INTEGER" - }, - "starred": { - "datatype": "INTEGER", - "notnull": true - }, - "subscribed": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "title": { - "datatype": "TEXT", - "notnull": true - }, - "trashed": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "uniqueIdentifier": { - "datatype": "TEXT" - }, - "uniqueIdentifierVersion": { - "datatype": "TEXT" - }, - "unsubscribedOnServerTime": { - "datatype": "INTEGER" - }, - "userRole": { - "datatype": "TEXT" - }, - "version": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "webContentLink": { - "datatype": "TEXT" - }, - "webViewLink": { - "datatype": "TEXT" - }, - "writersCanShare": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "EntryAuthorizedApp143": { - "EntryAuthorizedApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "projectNumber": { - "datatype": "INTEGER", - "notnull": true - } - }, - "EntryPermission143": { - "EntryPermission_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountIdentifier": { - "datatype": "TEXT" - }, - "accountName": { - "datatype": "TEXT" - }, - "accountType": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "genoaIsLinkRequiredActionId": { - "datatype": "INTEGER" - }, - "genoaIsLinkRequiredValue": { - "datatype": "INTEGER" - }, - "genoaRoleActionId": { - "datatype": "INTEGER" - }, - "genoaRoleValue": { - "datatype": "INTEGER" - }, - "isLinkRequired": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "permissionId": { - "datatype": "TEXT" - }, - "photoLink": { - "datatype": "TEXT" - }, - "role": { - "datatype": "INTEGER", - "notnull": true - } - }, - "FileContent143": { - "encryptionAlgorithm": { - "datatype": "TEXT" - }, - "encryptionKey": { - "datatype": "BLOB" - }, - "hash": { - "datatype": "TEXT", - "primarykey": true - }, - "internalFileName": { - "datatype": "TEXT" - }, - "lastAccessed": { - "datatype": "INTEGER", - "notnull": true - }, - "sharedFileName": { - "datatype": "TEXT" - }, - "size": { - "datatype": "INTEGER" - } - }, - "GenoaValues143": { - "FOREIGN": { - "datatype": "KEY" - }, - "GenoaValues_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "canEditActionId": { - "datatype": "INTEGER" - }, - "canEditValue": { - "datatype": "INTEGER" - }, - "creationTimeActionId": { - "datatype": "INTEGER" - }, - "creationTimeValue": { - "datatype": "INTEGER" - }, - "descriptionActionId": { - "datatype": "INTEGER" - }, - "descriptionValue": { - "datatype": "TEXT" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "folderColorRgbActionId": { - "datatype": "INTEGER" - }, - "folderColorRgbValue": { - "datatype": "TEXT" - }, - "inDriveSpaceActionId": { - "datatype": "INTEGER" - }, - "inDriveSpaceValue": { - "datatype": "INTEGER" - }, - "lastModifiedTimeActionId": { - "datatype": "INTEGER" - }, - "lastModifiedTimeValue": { - "datatype": "INTEGER" - }, - "lastViewedByMeDateActionId": { - "datatype": "INTEGER" - }, - "lastViewedByMeDateValue": { - "datatype": "INTEGER" - }, - "mimeTypeActionId": { - "datatype": "INTEGER" - }, - "mimeTypeValue": { - "datatype": "TEXT" - }, - "modifiedByMeTimeActionId": { - "datatype": "INTEGER" - }, - "modifiedByMeTimeValue": { - "datatype": "INTEGER" - }, - "ownerNamesActionId": { - "datatype": "INTEGER" - }, - "ownerNamesValue": { - "datatype": "TEXT" - }, - "quotaBytesUsedActionId": { - "datatype": "INTEGER" - }, - "quotaBytesUsedValue": { - "datatype": "INTEGER" - }, - "sharedActionId": { - "datatype": "INTEGER" - }, - "sharedValue": { - "datatype": "INTEGER" - }, - "sharedWithMeTimeActionId": { - "datatype": "INTEGER" - }, - "sharedWithMeTimeValue": { - "datatype": "INTEGER" - }, - "starredActionId": { - "datatype": "INTEGER" - }, - "starredValue": { - "datatype": "INTEGER" - }, - "titleActionId": { - "datatype": "INTEGER" - }, - "titleValue": { - "datatype": "TEXT" - }, - "trashedActionId": { - "datatype": "INTEGER" - }, - "trashedValue": { - "datatype": "INTEGER" - }, - "userRoleActionId": { - "datatype": "INTEGER" - }, - "userRoleValue": { - "datatype": "TEXT" - }, - "viewedActionId": { - "datatype": "INTEGER" - }, - "viewedValue": { - "datatype": "INTEGER" - }, - "writersCanShareActionId": { - "datatype": "INTEGER" - }, - "writersCanShareValue": { - "datatype": "INTEGER" - } - }, - "ParentMapping143": { - "FOREIGN": { - "datatype": "KEY" - }, - "ParentMapping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "childEntryId": { - "datatype": "INTEGER", - "notnull": true - }, - "parentEntryId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PartialFeed143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PartialFeed_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "clipTime": { - "datatype": "INTEGER", - "default": "9223372036854775807" - }, - "feedParameters": { - "datatype": "TEXT", - "notnull": true - }, - "feedType": { - "datatype": "TEXT", - "notnull": true - }, - "nextPageToken": { - "datatype": "TEXT" - }, - "numPagesRetrieved": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "PendingAction143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingAction_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "applyLocallyTimestamp": { - "datatype": "INTEGER" - }, - "attemptCount": { - "datatype": "INTEGER", - "notnull": true - }, - "payload": { - "datatype": "TEXT", - "notnull": true - }, - "requiredEntryId": { - "datatype": "INTEGER" - } - }, - "PendingCleanupAction143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingCleanupAction_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "actionId": { - "datatype": "INTEGER", - "notnull": true - }, - "actionType": { - "datatype": "TEXT", - "notnull": true - }, - "applyOnServerTime": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PendingThumbnailUpload143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingThumbnailUpload_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "actionId": { - "datatype": "INTEGER", - "notnull": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PendingUpload143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingUpload_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "actionId": { - "datatype": "INTEGER" - }, - "baseContentHash": { - "datatype": "TEXT" - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "uploadUri": { - "datatype": "TEXT" - } - }, - "PersistedEvent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PersistedEvent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "attemptCount": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER" - }, - "nextNotificationTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "serializedEvent": { - "datatype": "TEXT", - "notnull": true - }, - "snoozeCount": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "PersistedEventContent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PersistedEventContent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "persistedEventId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "RealtimeDocumentContent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "RealtimeDocumentContent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "databasePath": { - "datatype": "TEXT" - }, - "driveAppId": { - "datatype": "INTEGER" - }, - "entryId": { - "datatype": "INTEGER" - }, - "hasPendingChanges": { - "datatype": "INTEGER" - }, - "historyLength": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastAccessed": { - "datatype": "INTEGER", - "notnull": true - }, - "localId": { - "datatype": "TEXT" - }, - "requiresSync": { - "datatype": "INTEGER" - }, - "resourceId": { - "datatype": "TEXT" - }, - "size": { - "datatype": "INTEGER" - } - }, - "Sessions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "active_time_millis": { - "datatype": "INTEGER" - }, - "activity": { - "datatype": "INTEGER", - "notnull": true - }, - "app_package": { - "datatype": "TEXT", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "end_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "identifier": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "Subscription143": { - "FOREIGN": { - "datatype": "KEY" - }, - "Subscription_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER" - }, - "eventService": { - "datatype": "TEXT" - }, - "eventType": { - "datatype": "INTEGER", - "notnull": true - }, - "lastUpdateTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "packageName": { - "datatype": "TEXT" - }, - "serializedSubscriptionDetails": { - "datatype": "TEXT" - }, - "signingCertificateHash": { - "datatype": "TEXT" - } - }, - "Subscriptions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accuracy_mode": { - "datatype": "INTEGER", - "notnull": true - }, - "app_package": { - "datatype": "TEXT", - "notnull": true - }, - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources (_id)" - }, - "data_type_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataTypes (_id)" - }, - "realm": { - "datatype": "INTEGER", - "notnull": true - }, - "sampling_delay": { - "datatype": "INTEGER", - "notnull": true - }, - "timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "SyncFeed143": { - "FOREIGN": { - "datatype": "KEY" - }, - "SyncFeed_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "appProjectNumber": { - "datatype": "INTEGER" - }, - "clipTime": { - "datatype": "INTEGER" - }, - "nextPageToken": { - "datatype": "TEXT" - }, - "numPagesRetrieved": { - "datatype": "INTEGER", - "notnull": true - }, - "query": { - "datatype": "TEXT" - }, - "space": { - "datatype": "TEXT", - "notnull": true - } - }, - "SyncStatus": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_source_id": { - "datatype": "INTEGER" - }, - "is_remote": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "last_synced_time": { - "datatype": "INTEGER" - }, - "min_local_timestamp": { - "datatype": "INTEGER" - }, - "sync_token": { - "datatype": "TEXT" - } - }, - "Thumbnail143": { - "FOREIGN": { - "datatype": "KEY" - }, - "Thumbnail_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "UserPermissions143": { - "UserPermissions_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "displayName": { - "datatype": "TEXT" - }, - "emailAddress": { - "datatype": "TEXT" - }, - "isAuthenticatedUser": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "permissionsId": { - "datatype": "TEXT", - "notnull": true - }, - "pictureUrl": { - "datatype": "TEXT" - } - }, - "accounts": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT" - } - }, - "achievement_definitions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "definition_xp_value": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "external_achievement_id": { - "datatype": "TEXT", - "notnull": true - }, - "formatted_total_steps": { - "datatype": "TEXT" - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "initial_state": { - "datatype": "INTEGER", - "notnull": true - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "revealed_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "sorting_rank": { - "datatype": "INTEGER", - "notnull": true - }, - "total_steps": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - }, - "unlocked_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - } - }, - "achievement_instances": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "current_steps": { - "datatype": "INTEGER" - }, - "definition_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "achievement_definitions (_id)" - }, - "formatted_current_steps": { - "datatype": "TEXT" - }, - "instance_xp_value": { - "datatype": "INTEGER" - }, - "last_updated_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "player_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "state": { - "datatype": "INTEGER", - "notnull": true - } - }, - "achievement_pending_ops": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "achievement_type": { - "datatype": "INTEGER", - "notnull": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "external_achievement_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_game_id": { - "datatype": "TEXT" - }, - "external_player_id": { - "datatype": "TEXT" - }, - "min_steps_to_set": { - "datatype": "INTEGER" - }, - "new_state": { - "datatype": "INTEGER" - }, - "steps_to_increment": { - "datatype": "INTEGER" - } - }, "android_metadata": { "locale": { "datatype": "TEXT" } }, - "app_info": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "digest_sha256": { - "datatype": "BLOB" - }, - "package_name": { - "datatype": "STRING" - }, - "pb": { - "datatype": "BLOB" - }, - "version_code": { - "datatype": "STRING" - } - }, - "app_states": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "app_id": { - "datatype": "TEXT", - "notnull": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts(_id)" - }, - "conflict_data": { - "datatype": "BLOB" - }, - "conflict_version": { - "datatype": "TEXT" - }, - "data_dirty": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "key": { - "datatype": "INTEGER", - "notnull": true - }, - "local_data": { - "datatype": "BLOB" - }, - "local_version": { - "datatype": "TEXT" - }, - "upsync_required": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "application_sessions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "end_time": { - "datatype": "INTEGER", - "notnull": true - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "session_id": { - "datatype": "TEXT", - "notnull": true - }, - "start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "client_contexts": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_name": { - "datatype": "TEXT", - "notnull": true - }, - "package_name": { - "datatype": "TEXT", - "notnull": true - }, - "package_uid": { - "datatype": "INTEGER", - "notnull": true - } - }, - "connectionConfigurations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidId": { - "datatype": "STRING" - }, - "connectionEnabled": { - "datatype": "INTEGER", - "notnull": true - }, - "connectionType": { - "datatype": "INTEGER", - "notnull": true - }, - "name": { - "datatype": "STRING", - "notnull": true, - "unique": true - }, - "pairedBtAddress": { - "datatype": "STRING", - "notnull": true - }, - "role": { - "datatype": "INTEGER", - "notnull": true - } - }, - "context": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "context_family": { - "datatype": "INTEGER" - }, - "context_id": { - "datatype": "TEXT" - }, - "context_name": { - "datatype": "INTEGER" - }, - "end_time": { - "datatype": "INTEGER" - }, - "module_id": { - "datatype": "TEXT", - "notnull": true - }, - "proto_blob": { - "datatype": "BLOB" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "sync_state": { - "datatype": "INTEGER", - "notnull": true - }, - "sync_state_mod_time_millis": { - "datatype": "sync_state_mod_time_millis" - }, - "time_type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "credential": { - "account_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "data": { - "datatype": "BLOB" - }, - "id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "credential_affiliation": { - "account_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "credential_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "domain_url": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "credential_app_setting": { - "account": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "app": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "key": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "value": { - "datatype": "TEXT" - } - }, - "credential_setting": { - "account": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "key": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "value": { - "datatype": "TEXT" - } - }, - "device_features": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "feature_name": { - "datatype": "TEXT", - "notnull": true - }, - "last_connection_timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "downloads": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "destination": { - "datatype": "TEXT" - }, - "dm_id": { - "datatype": "INTEGER" - }, - "enabled": { - "datatype": "INTEGER", - "default": "0" - }, - "filename": { - "datatype": "TEXT", - "notnull": true - }, - "maxVersion": { - "datatype": "INTEGER" - }, - "minVersion": { - "datatype": "INTEGER" - }, - "notificationDescription": { - "datatype": "TEXT" - }, - "notificationTitle": { - "datatype": "TEXT" - }, - "retries": { - "datatype": "INTEGER", - "default": "0" - }, - "sha1": { - "datatype": "TEXT", - "notnull": true - }, - "sizeBytes": { - "datatype": "INTEGER", - "notnull": true - }, - "url": { - "datatype": "TEXT", - "notnull": true - } - }, "encryptionkeys": { "account": { "datatype": "STRING", @@ -2088,1791 +48,6 @@ "notnull": true } }, - "event_definitions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "description": { - "datatype": "TEXT" - }, - "event_definitions_game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "external_event_id": { - "datatype": "TEXT", - "notnull": true - }, - "icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "sorting_rank": { - "datatype": "INTEGER" - }, - "visibility": { - "datatype": "INTEGER" - } - }, - "event_instances": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "definition_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "event_definitions (_id)" - }, - "formatted_value": { - "datatype": "TEXT" - }, - "last_updated_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "player_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "value": { - "datatype": "INTEGER" - } - }, - "event_pending_ops": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "increment": { - "datatype": "INTEGER" - }, - "instance_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "event_instances (_id)" - }, - "request_id": { - "datatype": "INTEGER", - "default": "0" - }, - "window_end_time": { - "datatype": "INTEGER", - "notnull": true - }, - "window_start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "exclude_bucket": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "bucket_id": { - "datatype": "TEXT" - } - }, - "experience_events": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "created_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "current_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "display_description": { - "datatype": "TEXT", - "notnull": true - }, - "display_string": { - "datatype": "TEXT", - "notnull": true - }, - "display_title": { - "datatype": "TEXT", - "notnull": true - }, - "external_experience_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "icon_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "newLevel": { - "datatype": "INTEGER", - "notnull": true - }, - "type": { - "datatype": "INTEGER", - "notnull": true - }, - "xp_earned": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "experiment": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "namespace": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "feature": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "account_id": { - "datatype": "TEXT" - }, - "end_time": { - "datatype": "INTEGER" - }, - "proto_blob": { - "datatype": "BLOB" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "time_type": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "fetch_metadata": { - "app_context_digest": { - "datatype": "BLOB" - }, - "device_context_digest": { - "datatype": "BLOB" - }, - "namespace_digest": { - "datatype": "TEXT" - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "recent_failure_times": { - "datatype": "TEXT" - }, - "recent_success_times": { - "datatype": "TEXT" - } - }, - "game_badges": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "badge_description": { - "datatype": "TEXT" - }, - "badge_game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "badge_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "badge_title": { - "datatype": "TEXT", - "notnull": true - }, - "badge_type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "game_instances": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "installed": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "instance_display_name": { - "datatype": "TEXT", - "notnull": true - }, - "instance_game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "package_name": { - "datatype": "TEXT" - }, - "piracy_check": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "platform_type": { - "datatype": "INTEGER", - "notnull": true - }, - "preferred": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "real_time_support": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "turn_based_support": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "games": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "achievement_total_count": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "availability": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "developer_name": { - "datatype": "TEXT" - }, - "display_name": { - "datatype": "TEXT", - "notnull": true - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "featured_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "formatted_full_price": { - "datatype": "TEXT" - }, - "formatted_price": { - "datatype": "TEXT" - }, - "full_price_micros": { - "datatype": "INTEGER" - }, - "game_description": { - "datatype": "TEXT" - }, - "game_hi_res_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "game_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "gameplay_acl_status": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "identity_sharing_confirmed": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "last_connection_local_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "last_played_server_time": { - "datatype": "INTEGER" - }, - "last_synced_local_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "leaderboard_count": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "metadata_sync_requested": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "metadata_version": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "muted": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "owned": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "play_enabled_game": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "price_micros": { - "datatype": "INTEGER" - }, - "primary_category": { - "datatype": "TEXT" - }, - "secondary_category": { - "datatype": "TEXT" - }, - "snapshots_enabled": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "target_instance": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "game_instances (_id)" - }, - "theme_color": { - "datatype": "TEXT", - "notnull": true - } - }, - "hits": { - "hit_app_id": { - "datatype": "TEXT" - }, - "hit_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "hit_string": { - "datatype": "TEXT", - "notnull": true - }, - "hit_time": { - "datatype": "INTEGER", - "notnull": true - }, - "hit_url": { - "datatype": "TEXT", - "notnull": true - } - }, - "hits2": { - "hit_app_id": { - "datatype": "INTEGER" - }, - "hit_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "hit_string": { - "datatype": "TEXT", - "notnull": true - }, - "hit_time": { - "datatype": "INTEGER", - "notnull": true - }, - "hit_url": { - "datatype": "TEXT", - "notnull": true - } - }, - "images": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "download_timestamp": { - "datatype": "INTEGER" - }, - "filesize": { - "datatype": "INTEGER" - }, - "local": { - "datatype": "INTEGER", - "notnull": true - }, - "url": { - "datatype": "TEXT" - } - }, - "internal_metadata": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "invitations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "automatch_max_players": { - "datatype": "INTEGER" - }, - "automatch_min_players": { - "datatype": "INTEGER" - }, - "creation_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "external_invitation_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_inviter_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "has_automatch_criteria": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inviter_in_circles": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "last_modified_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "type": { - "datatype": "INTEGER", - "notnull": true - }, - "variant": { - "datatype": "INTEGER", - "notnull": true - } - }, - "leaderboard_instances": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "collection": { - "datatype": "INTEGER", - "notnull": true - }, - "leaderboard_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "leaderboards (_id)" - }, - "player_display_rank": { - "datatype": "TEXT" - }, - "player_display_score": { - "datatype": "TEXT" - }, - "player_rank": { - "datatype": "INTEGER" - }, - "player_raw_score": { - "datatype": "INTEGER" - }, - "player_score_tag": { - "datatype": "TEXT" - }, - "timespan": { - "datatype": "INTEGER", - "notnull": true - }, - "top_page_token_next": { - "datatype": "TEXT" - }, - "total_scores": { - "datatype": "INTEGER" - }, - "window_page_token_next": { - "datatype": "TEXT" - }, - "window_page_token_prev": { - "datatype": "TEXT" - } - }, - "leaderboard_pending_scores": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "achieved_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_leaderboard_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_player_id": { - "datatype": "TEXT", - "notnull": true - }, - "raw_score": { - "datatype": "INTEGER", - "notnull": true - }, - "score_tag": { - "datatype": "TEXT" - }, - "signature": { - "datatype": "TEXT", - "notnull": true - } - }, - "leaderboard_scores": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "achieved_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "default_display_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "default_display_name": { - "datatype": "TEXT" - }, - "display_rank": { - "datatype": "TEXT", - "notnull": true - }, - "display_score": { - "datatype": "TEXT", - "notnull": true - }, - "instance_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "leaderboard_instances (_id)" - }, - "page_type": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "player_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "players (_id)" - }, - "rank": { - "datatype": "INTEGER", - "notnull": true - }, - "raw_score": { - "datatype": "INTEGER", - "notnull": true - }, - "score_tag": { - "datatype": "TEXT" - } - }, - "leaderboards": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "board_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "external_leaderboard_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "score_order": { - "datatype": "INTEGER", - "notnull": true - }, - "sorting_rank": { - "datatype": "INTEGER" - } - }, - "local_fingerprints": { - "content_uri": { - "datatype": "TEXT", - "primarykey": true - }, - "fingerprint": { - "datatype": "TEXT", - "notnull": true - } - }, - "local_folders": { - "bucket_id": { - "datatype": "TEXT" - } - }, - "local_reports": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "api": { - "datatype": "integer" - }, - "bssid": { - "datatype": "text" - }, - "bytes_downloaded": { - "datatype": "integer" - }, - "bytes_uploaded": { - "datatype": "integer" - }, - "cellid": { - "datatype": "text" - }, - "duration_millis": { - "datatype": "integer" - }, - "latency_micros": { - "datatype": "integer" - }, - "measurement_type": { - "datatype": "integer" - }, - "network_type": { - "datatype": "integer" - }, - "package": { - "datatype": "text" - }, - "security_type": { - "datatype": "integer" - }, - "ssid": { - "datatype": "text" - }, - "throughput_bps": { - "datatype": "integer" - }, - "timestamp_millis": { - "datatype": "integer" - }, - "version_code": { - "datatype": "integer" - } - }, - "lru_table": { - "etag": { - "datatype": "TEXT" - }, - "last_requested_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "last_updated_millis": { - "datatype": "INTEGER" - }, - "rowkey": { - "datatype": "TEXT", - "notnull": true - }, - "soft_ttl_millis": { - "datatype": "INTEGER" - }, - "value": { - "datatype": "BLOB" - } - }, - "main": { - "a": { - "datatype": "TEXT", - "notnull": true - }, - "b": { - "datatype": "LONG", - "notnull": true - }, - "c": { - "datatype": "LONG", - "notnull": true - }, - "d": { - "datatype": "TEXT" - }, - "e": { - "datatype": "TEXT" - }, - "f": { - "datatype": "BLOB", - "notnull": true - } - }, - "matches": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "automatch_bit_mask": { - "datatype": "INTEGER" - }, - "automatch_max_players": { - "datatype": "INTEGER" - }, - "automatch_min_players": { - "datatype": "INTEGER" - }, - "automatch_wait_estimate_sec": { - "datatype": "INTEGER", - "notnull": true - }, - "creation_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "creator_external": { - "datatype": "TEXT", - "notnull": true - }, - "data": { - "datatype": "BLOB" - }, - "description": { - "datatype": "TEXT" - }, - "description_participant_id": { - "datatype": "TEXT" - }, - "external_match_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "has_automatch_criteria": { - "datatype": "INTEGER", - "notnull": true - }, - "last_updated_timestamp": { - "datatype": "INTEGER" - }, - "last_updater_external": { - "datatype": "TEXT" - }, - "match_number": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "notification_text": { - "datatype": "TEXT" - }, - "pending_participant_external": { - "datatype": "TEXT" - }, - "previous_match_data": { - "datatype": "BLOB" - }, - "rematch_id": { - "datatype": "TEXT" - }, - "status": { - "datatype": "INTEGER", - "notnull": true - }, - "upsync_required": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "user_match_status": { - "datatype": "INTEGER", - "notnull": true - }, - "variant": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "matches_pending_ops": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_match_id": { - "datatype": "TEXT" - }, - "is_turn": { - "datatype": "INTEGER" - }, - "pending_participant_id": { - "datatype": "TEXT" - }, - "results": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER" - } - }, - "media_record": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "album_id": { - "datatype": "TEXT" - }, - "allow_full_res": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "bucket_id": { - "datatype": "TEXT" - }, - "bytes_total": { - "datatype": "INTEGER", - "notnull": true - }, - "bytes_uploaded": { - "datatype": "INTEGER" - }, - "component_name": { - "datatype": "TEXT" - }, - "event_id": { - "datatype": "TEXT" - }, - "fingerprint": { - "datatype": "TEXT" - }, - "from_camera": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "is_image": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "media_hash": { - "datatype": "INTEGER", - "notnull": true - }, - "media_id": { - "datatype": "INTEGER", - "notnull": true - }, - "media_time": { - "datatype": "INTEGER", - "notnull": true - }, - "media_url": { - "datatype": "TEXT", - "notnull": true - }, - "mime_type": { - "datatype": "TEXT" - }, - "resume_token": { - "datatype": "TEXT" - }, - "retry_end_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "upload_account_id": { - "datatype": "INTEGER", - "notnull": true - }, - "upload_error": { - "datatype": "TEXT" - }, - "upload_finish_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "upload_id": { - "datatype": "INTEGER" - }, - "upload_reason": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "upload_state": { - "datatype": "INTEGER", - "default": "500", - "notnull": true - }, - "upload_status": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "upload_task_state": { - "datatype": "INTEGER" - }, - "upload_time": { - "datatype": "INTEGER" - }, - "upload_url": { - "datatype": "TEXT" - } - }, - "media_tracker": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "last_media_id": { - "datatype": "INTEGER", - "notnull": true - }, - "media_type": { - "datatype": "TEXT", - "notnull": true - }, - "volume_name": { - "datatype": "TEXT", - "notnull": true - } - }, - "milestones": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "completion_reward_data": { - "datatype": "BLOB" - }, - "event_instance_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "event_instances (_id)" - }, - "external_milestone_id": { - "datatype": "TEXT", - "notnull": true - }, - "initial_value": { - "datatype": "INTEGER", - "notnull": true - }, - "milestone_state": { - "datatype": "INTEGER", - "notnull": true - }, - "milestones_sorting_rank": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "quests (_id)" - }, - "target_value": { - "datatype": "INTEGER", - "notnull": true - } - }, - "notifications": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "acknowledged": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "alert_level": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "coalesced_text": { - "datatype": "TEXT" - }, - "external_sub_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "notification_id": { - "datatype": "TEXT" - }, - "text": { - "datatype": "TEXT" - }, - "ticker": { - "datatype": "TEXT" - }, - "timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "title": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "operations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "accounts(_id)" - }, - "client_id": { - "datatype": "TEXT", - "notnull": true - }, - "deletable": { - "datatype": "INTEGER", - "notnull": true - }, - "expiration_time": { - "datatype": "INTEGER" - }, - "network_last_update_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "network_status": { - "datatype": "INTEGER", - "notnull": true - }, - "op_code": { - "datatype": "INTEGER", - "notnull": true - }, - "package_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "packages(_id)" - }, - "proto": { - "datatype": "BLOB" - }, - "write_time_millis": { - "datatype": "INTEGER", - "notnull": true - } - }, - "override": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "namespace": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "overrides": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "packages": { - "package_name": { - "datatype": "STRING", - "primarykey": true - }, - "uid": { - "datatype": "INTEGER", - "primarykey": true - } - }, - "participants": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "capabilities": { - "datatype": "INTEGER" - }, - "client_address": { - "datatype": "TEXT" - }, - "connected": { - "datatype": "INTEGER" - }, - "default_display_hi_res_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "default_display_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "default_display_name": { - "datatype": "TEXT" - }, - "external_participant_id": { - "datatype": "TEXT", - "notnull": true - }, - "invitation_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "invitations (_id)" - }, - "match_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "matches (_id)" - }, - "placing": { - "datatype": "INTEGER" - }, - "player_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "players (_id)" - }, - "player_status": { - "datatype": "INTEGER", - "notnull": true - }, - "result_type": { - "datatype": "INTEGER" - } - }, - "player_levels": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "level_max_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "level_min_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "level_value": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "players": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "current_level": { - "datatype": "INTEGER", - "notnull": true - }, - "current_level_max_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "current_level_min_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "current_xp_total": { - "datatype": "INTEGER", - "notnull": true - }, - "external_player_id": { - "datatype": "TEXT", - "notnull": true - }, - "has_all_public_acls": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "is_in_circles": { - "datatype": "INTEGER", - "notnull": true - }, - "is_profile_visible": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "last_level_up_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "last_updated": { - "datatype": "INTEGER", - "notnull": true - }, - "most_recent_activity_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "most_recent_external_game_id": { - "datatype": "TEXT" - }, - "most_recent_game_featured_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "most_recent_game_hi_res_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "most_recent_game_icon_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "most_recent_game_name": { - "datatype": "TEXT" - }, - "next_level": { - "datatype": "INTEGER", - "notnull": true - }, - "next_level_max_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "player_title": { - "datatype": "TEXT" - }, - "profile_hi_res_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "profile_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "profile_name": { - "datatype": "TEXT", - "notnull": true - } - }, - "properties": { - "adid": { - "datatype": "INTEGER", - "notnull": true - }, - "app_uid": { - "datatype": "INTEGER", - "notnull": true, - "primarykey": true - }, - "cid": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "hits_count": { - "datatype": "INTEGER", - "notnull": true - }, - "params": { - "datatype": "TEXT", - "notnull": true - }, - "tid": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "quests": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accepted_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "external_quest_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "notification_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "notified": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "quest_banner_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "quest_description": { - "datatype": "TEXT", - "notnull": true - }, - "quest_end_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "quest_last_updated_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_name": { - "datatype": "TEXT", - "notnull": true - }, - "quest_start_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_state": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "registrations": { - "expiration": { - "datatype": "INTEGER" - }, - "package_name": { - "datatype": "STRING", - "primarykey": true - }, - "reg_id": { - "datatype": "STRING" - }, - "subscription": { - "datatype": "STRING", - "primarykey": true - }, - "uid": { - "datatype": "INTEGER", - "primarykey": true - } - }, - "relation": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "end_time": { - "datatype": "INTEGER" - }, - "proto_blob": { - "datatype": "BLOB" - }, - "relation_id": { - "datatype": "TEXT" - }, - "relation_name": { - "datatype": "INTEGER" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "sync_state": { - "datatype": "INTEGER", - "notnull": true - }, - "sync_state_mod_time_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "time_type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "relation_from": { - "context_id": { - "datatype": "TEXT", - "notnull": true - }, - "relation_row_id": { - "datatype": "INTEGER", - "notnull": true - } - }, - "relation_to": { - "context_id": { - "datatype": "TEXT", - "notnull": true - }, - "relation_row_id": { - "datatype": "INTEGER", - "notnull": true - } - }, - "removed_packages": { - "package_name": { - "datatype": "STRING", - "primarykey": true - }, - "uid": { - "datatype": "INTEGER", - "primarykey": true - } - }, - "request_pending_ops": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_request_id": { - "datatype": "TEXT", - "notnull": true - } - }, - "request_recipients": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "player_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "recipient_status": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "request_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "requests (_id)" - } - }, - "requests": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "creation_timestamp": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "data": { - "datatype": "BLOB" - }, - "expiration_timestamp": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "external_request_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "sender_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "status": { - "datatype": "INTEGER", - "notnull": true - }, - "type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "server_fingerprints": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "fingerprint": { - "datatype": "TEXT", - "notnull": true - }, - "image_url": { - "datatype": "TEXT", - "unique": true - }, - "owner_id": { - "datatype": "TEXT", - "notnull": true, - "unique": true - }, - "photo_id": { - "datatype": "INT", - "notnull": true, - "unique": true - } - }, "signingkeys": { "creation_time": { "datatype": "INTEGER", @@ -3894,81 +69,6 @@ "datatype": "BLOB", "notnull": true } - }, - "snapshots": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "cover_icon_image_height": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "cover_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "cover_icon_image_width": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "drive_resolved_id_string": { - "datatype": "TEXT" - }, - "drive_resource_id_string": { - "datatype": "TEXT" - }, - "duration": { - "datatype": "INTEGER", - "notnull": true - }, - "external_snapshot_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "last_modified_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "owner_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "title": { - "datatype": "TEXT" - }, - "unique_name": { - "datatype": "TEXT", - "notnull": true - }, - "visible": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } } } } \ No newline at end of file diff --git a/tests/fp_data/com.google.android.gms__node.db__dbfp.json b/tests/fp_data/com.google.android.gms__node.db__dbfp.json new file mode 100644 index 0000000..7128d6f --- /dev/null +++ b/tests/fp_data/com.google.android.gms__node.db__dbfp.json @@ -0,0 +1,142 @@ +{ + "_file-metadata": { + "app-name": "com.google.android.gms", + "app-ver": "", + "dn-name": "node.db", + "format-ver": "0.91", + "notes": "", + "scan-date": "2016-01-08_110349", + "scanner-name": "dbfp", + "scanner-ver": "0.95" + }, + "db-metadata": { + "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", + "appkeys": "CREATE TABLE appkeys(_id INTEGER PRIMARY KEY AUTOINCREMENT,packageName STRING NOT NULL,signatureDigest STRING NOT NULL)", + "assetrefs": "CREATE TABLE assetrefs(assetname STRING NOT NULL, dataitems_id INTEGER NOT NULL, assets_digest STRING NOT NULL)", + "assets": "CREATE TABLE assets(digest STRING PRIMARY KEY, dataPresent INTEGER NOT NULL DEFAULT 0, timestampMs INTEGER NOT NULL)", + "assetsacls": "CREATE TABLE assetsacls(appkeys_id INTEGER NOT NULL, assets_digest STRING NOT NULL)", + "dataitems": "CREATE TABLE dataitems(_id INTEGER PRIMARY KEY AUTOINCREMENT, appkeys_id INTEGER NOT NULL, host STRING NOT NULL, path STRING NOT NULL, seqId INTEGER NOT NULL, deleted INTEGER NOT NULL, sourceNode STRING NOT NULL, data BLOB, timestampMs INTEGER NOT NULL, assetsPresent INTEGER NOT NULL)", + "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" + }, + "db-metadata-hashes": { + "android_metadata": "ba739eb03730e563915f2f76b26ced51", + "appkeys": "d7a1e484688d979320a897e497d1302b", + "assetrefs": "f963d8601dc04b7fc170f4275e2d7470", + "assets": "497bd54a7e19006dffb0a826f490b25b", + "assetsacls": "7a6a1fbdb13941d2c16a17994dac2f77", + "dataitems": "4ae201244d28239fe10163e43ecbee37", + "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" + }, + "db-metadata-md5": "483798e0a08f8181621dcf23c1b26f13", + "tables": { + "android_metadata": { + "locale": { + "datatype": "TEXT" + } + }, + "appkeys": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "packageName": { + "datatype": "STRING", + "notnull": true + }, + "signatureDigest": { + "datatype": "STRING", + "notnull": true + } + }, + "assetrefs": { + "assetname": { + "datatype": "STRING", + "notnull": true + }, + "assets_digest": { + "datatype": "STRING", + "notnull": true + }, + "dataitems_id": { + "datatype": "INTEGER", + "notnull": true + } + }, + "assets": { + "dataPresent": { + "datatype": "INTEGER", + "default": "0", + "notnull": true + }, + "digest": { + "datatype": "STRING", + "primarykey": true + }, + "timestampMs": { + "datatype": "INTEGER", + "notnull": true + } + }, + "assetsacls": { + "appkeys_id": { + "datatype": "INTEGER", + "notnull": true + }, + "assets_digest": { + "datatype": "STRING", + "notnull": true + } + }, + "dataitems": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "appkeys_id": { + "datatype": "INTEGER", + "notnull": true + }, + "assetsPresent": { + "datatype": "INTEGER", + "notnull": true + }, + "data": { + "datatype": "BLOB" + }, + "deleted": { + "datatype": "INTEGER", + "notnull": true + }, + "host": { + "datatype": "STRING", + "notnull": true + }, + "path": { + "datatype": "STRING", + "notnull": true + }, + "seqId": { + "datatype": "INTEGER", + "notnull": true + }, + "sourceNode": { + "datatype": "STRING", + "notnull": true + }, + "timestampMs": { + "datatype": "INTEGER", + "notnull": true + } + }, + "sqlite_sequence": { + "name": { + "datatype": "INTEGER" + }, + "seq": { + "datatype": "INTEGER" + } + } + } +} \ No newline at end of file diff --git a/tests/fp_data/com.google.android.gms__ns.db__dbfp.json b/tests/fp_data/com.google.android.gms__ns.db__dbfp.json new file mode 100644 index 0000000..23c7e4f --- /dev/null +++ b/tests/fp_data/com.google.android.gms__ns.db__dbfp.json @@ -0,0 +1,86 @@ +{ + "_file-metadata": { + "app-name": "com.google.android.gms", + "app-ver": "", + "dn-name": "ns.db", + "format-ver": "0.91", + "notes": "", + "scan-date": "2016-01-08_110349", + "scanner-name": "dbfp", + "scanner-ver": "0.95" + }, + "db-metadata": { + "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", + "pending_ops": "CREATE TABLE \"pending_ops\" (_id INTEGER PRIMARY KEY AUTOINCREMENT, target_package TEXT NOT NULL, target_class TEXT NOT NULL, tag TEXT, runtime INTEGER, flex_time INTEGER, period INTEGER, last_runtime INTEGER, user_id INTEGER, required_network_type INTEGER, requires_charging INTEGER, extras TEXT, retry_strategy TEXT, task_type INTEGER)", + "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" + }, + "db-metadata-hashes": { + "android_metadata": "ba739eb03730e563915f2f76b26ced51", + "pending_ops": "3ca7c44a0c309c750ea5ab851bae8b10", + "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" + }, + "db-metadata-md5": "b865614c45aaf51273d44fe68aee3381", + "tables": { + "android_metadata": { + "locale": { + "datatype": "TEXT" + } + }, + "pending_ops": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "extras": { + "datatype": "TEXT" + }, + "flex_time": { + "datatype": "INTEGER" + }, + "last_runtime": { + "datatype": "INTEGER" + }, + "period": { + "datatype": "INTEGER" + }, + "required_network_type": { + "datatype": "INTEGER" + }, + "requires_charging": { + "datatype": "INTEGER" + }, + "retry_strategy": { + "datatype": "TEXT" + }, + "runtime": { + "datatype": "INTEGER" + }, + "tag": { + "datatype": "TEXT" + }, + "target_class": { + "datatype": "TEXT", + "notnull": true + }, + "target_package": { + "datatype": "TEXT", + "notnull": true + }, + "task_type": { + "datatype": "INTEGER" + }, + "user_id": { + "datatype": "INTEGER" + } + }, + "sqlite_sequence": { + "name": { + "datatype": "INTEGER" + }, + "seq": { + "datatype": "INTEGER" + } + } + } +} \ No newline at end of file diff --git a/tests/fp_data/com.google.android.gms__plus.db__dbfp.json b/tests/fp_data/com.google.android.gms__plus.db__dbfp.json new file mode 100644 index 0000000..d2056be --- /dev/null +++ b/tests/fp_data/com.google.android.gms__plus.db__dbfp.json @@ -0,0 +1,132 @@ +{ + "_file-metadata": { + "app-name": "com.google.android.gms", + "app-ver": "", + "dn-name": "plus.db", + "format-ver": "0.91", + "notes": "", + "scan-date": "2016-01-08_110349", + "scanner-name": "dbfp", + "scanner-ver": "0.95" + }, + "db-metadata": { + "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", + "offline_frames": "CREATE TABLE offline_frames (_id INTEGER PRIMARY KEY AUTOINCREMENT, packageName STRING, accountName STRING, payload STRING, url STRING)", + "offline_logs": "CREATE TABLE offline_logs (_id INTEGER PRIMARY KEY AUTOINCREMENT, accountName TEXT NOT NULL, type TEXT NOT NULL, payload TEXT NOT NULL, timestamp INTEGER NOT NULL, onBehalfOf TEXT)", + "plus_accounts": "CREATE TABLE plus_accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT, updated INTEGER NOT NULL, display_name STRING, account_name STRING, profile_image_url STRING, signedUp BOOLEAN)", + "plus_profiles": "CREATE TABLE plus_profiles (_id INTEGER PRIMARY KEY AUTOINCREMENT, updated INTEGER NOT NULL, accountName STRING, packageName STRING, profileJson STRING)", + "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" + }, + "db-metadata-hashes": { + "android_metadata": "ba739eb03730e563915f2f76b26ced51", + "offline_frames": "e9a178b6e6ef78655bc8d33251b26a75", + "offline_logs": "267b22dd986326e5e67ca467035fab4b", + "plus_accounts": "b32202450d901772b175a2658e619044", + "plus_profiles": "d43056db355852b8aff04cef2f47fa94", + "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" + }, + "db-metadata-md5": "a42ba6cea3830b838731b2d0e301d813", + "tables": { + "android_metadata": { + "locale": { + "datatype": "TEXT" + } + }, + "offline_frames": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "accountName": { + "datatype": "STRING" + }, + "packageName": { + "datatype": "STRING" + }, + "payload": { + "datatype": "STRING" + }, + "url": { + "datatype": "STRING" + } + }, + "offline_logs": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "accountName": { + "datatype": "TEXT", + "notnull": true + }, + "onBehalfOf": { + "datatype": "TEXT" + }, + "payload": { + "datatype": "TEXT", + "notnull": true + }, + "timestamp": { + "datatype": "INTEGER", + "notnull": true + }, + "type": { + "datatype": "TEXT", + "notnull": true + } + }, + "plus_accounts": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "account_name": { + "datatype": "STRING" + }, + "display_name": { + "datatype": "STRING" + }, + "profile_image_url": { + "datatype": "STRING" + }, + "signedUp": { + "datatype": "BOOLEAN" + }, + "updated": { + "datatype": "INTEGER", + "notnull": true + } + }, + "plus_profiles": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "accountName": { + "datatype": "STRING" + }, + "packageName": { + "datatype": "STRING" + }, + "profileJson": { + "datatype": "STRING" + }, + "updated": { + "datatype": "INTEGER", + "notnull": true + } + }, + "sqlite_sequence": { + "name": { + "datatype": "INTEGER" + }, + "seq": { + "datatype": "INTEGER" + } + } + } +} \ No newline at end of file diff --git a/tests/fp_data/com.google.android.talk__google_analytics_v4.db__dbfp.json b/tests/fp_data/com.google.android.talk__google_analytics_v4.db__dbfp.json new file mode 100644 index 0000000..572ddad --- /dev/null +++ b/tests/fp_data/com.google.android.talk__google_analytics_v4.db__dbfp.json @@ -0,0 +1,60 @@ +{ + "_file-metadata": { + "app-name": "com.google.android.talk", + "app-ver": "", + "dn-name": "google_analytics_v4.db", + "format-ver": "0.91", + "notes": "", + "scan-date": "2016-01-08_110349", + "scanner-name": "dbfp", + "scanner-ver": "0.95" + }, + "db-metadata": { + "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", + "hits2": "CREATE TABLE hits2 ( 'hit_id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, 'hit_time' INTEGER NOT NULL, 'hit_url' TEXT NOT NULL, 'hit_string' TEXT NOT NULL, 'hit_app_id' INTEGER)", + "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" + }, + "db-metadata-hashes": { + "android_metadata": "ba739eb03730e563915f2f76b26ced51", + "hits2": "e923bd71d67ff431a43ecd9429648faf", + "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" + }, + "db-metadata-md5": "9003f4a94b9e6f38b8c86f15ac2d7a78", + "tables": { + "android_metadata": { + "locale": { + "datatype": "TEXT" + } + }, + "hits2": { + "hit_app_id": { + "datatype": "INTEGER" + }, + "hit_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "hit_string": { + "datatype": "TEXT", + "notnull": true + }, + "hit_time": { + "datatype": "INTEGER", + "notnull": true + }, + "hit_url": { + "datatype": "TEXT", + "notnull": true + } + }, + "sqlite_sequence": { + "name": { + "datatype": "INTEGER" + }, + "seq": { + "datatype": "INTEGER" + } + } + } +} \ No newline at end of file diff --git a/tests/fp_data/com.google.android.youtube__identity.db__dbfp.json b/tests/fp_data/com.google.android.youtube__identity.db__dbfp.json new file mode 100644 index 0000000..24fba02 --- /dev/null +++ b/tests/fp_data/com.google.android.youtube__identity.db__dbfp.json @@ -0,0 +1,69 @@ +{ + "_file-metadata": { + "app-name": "com.google.android.youtube", + "app-ver": "", + "dn-name": "identity.db", + "format-ver": "0.91", + "notes": "", + "scan-date": "2016-01-08_110349", + "scanner-name": "dbfp", + "scanner-ver": "0.95" + }, + "db-metadata": { + "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", + "identity": "CREATE TABLE \"identity\"(id TEXT PRIMARY KEY,account TEXT,page_id TEXT)", + "profile": "CREATE TABLE profile(id TEXT PRIMARY KEY,profile_display_name TEXT,profile_display_email TEXT,profile_thumbnail_uri TEXT,profile_account_name_proto BLOB,profile_account_photo_thumbnails_proto BLOB,profile_mobile_banner_thumbnails_proto BLOB,FOREIGN KEY(id) REFERENCES identity(id))" + }, + "db-metadata-hashes": { + "android_metadata": "ba739eb03730e563915f2f76b26ced51", + "identity": "4d0ec6feac74df5bdee3e8688fcffcea", + "profile": "b212357f91c49f299bbc278f90db06ba" + }, + "db-metadata-md5": "fc97914dbcaec64c45b540b21f65b175", + "tables": { + "android_metadata": { + "locale": { + "datatype": "TEXT" + } + }, + "identity": { + "account": { + "datatype": "TEXT" + }, + "id": { + "datatype": "TEXT", + "primarykey": true + }, + "page_id": { + "datatype": "TEXT" + } + }, + "profile": { + "FOREIGN": { + "datatype": "KEY" + }, + "id": { + "datatype": "TEXT", + "primarykey": true + }, + "profile_account_name_proto": { + "datatype": "BLOB" + }, + "profile_account_photo_thumbnails_proto": { + "datatype": "BLOB" + }, + "profile_display_email": { + "datatype": "TEXT" + }, + "profile_display_name": { + "datatype": "TEXT" + }, + "profile_mobile_banner_thumbnails_proto": { + "datatype": "BLOB" + }, + "profile_thumbnail_uri": { + "datatype": "TEXT" + } + } + } +} \ No newline at end of file diff --git a/tests/fp_data/com.google.android.youtube__youtube_upload_service__dbfp.json b/tests/fp_data/com.google.android.youtube__youtube_upload_service__dbfp.json deleted file mode 100644 index 26088de..0000000 --- a/tests/fp_data/com.google.android.youtube__youtube_upload_service__dbfp.json +++ /dev/null @@ -1,193 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.google.android.youtube", - "app-ver": "", - "dn-name": "com.google.android.youtube/databases/youtube_upload_service", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "OfflineHttpRequestProto": "CREATE TABLE OfflineHttpRequestProto (insertionOrder INTEGER PRIMARY KEY AUTOINCREMENT,key TEXT KEY,value BLOB NOT NULL,sortingValue INTEGER NOT NULL)", - "ScheduledTaskProto": "CREATE TABLE ScheduledTaskProto (insertionOrder INTEGER PRIMARY KEY AUTOINCREMENT,key TEXT KEY,value BLOB NOT NULL,sortingValue INTEGER NOT NULL)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "conversiontracking": "CREATE TABLE conversiontracking ( conversion_ping_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, string_url TEXT NOT NULL, preference_key TEXT, is_repeatable INTEGER, parameter_is_null INTEGER, preference_name TEXT, record_time INTEGER, retry_count INTEGER,last_retry_time INTEGER)", - "identity": "CREATE TABLE identity (account TEXT,gaia_id TEXT,profile_display_name TEXT,profile_display_email TEXT,profile_thumbnail_uri TEXT, id TEXT, profile_account_name_proto BLOB, profile_account_photo_thumbnails_proto BLOB, profile_mobile_banner_thumbnails_proto BLOB, PRIMARY KEY (account,gaia_id) ON CONFLICT REPLACE)", - "job_storage_jobs": "CREATE TABLE job_storage_jobs (id TEXT PRIMARY KEY,version INTEGER,data BLOB)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)", - "transfers": "CREATE TABLE transfers (file_path TEXT PRIMARY KEY,network_uri TEXT,status INTEGER,status_reason INTEGER,bytes_transferred BIGINT,bytes_total BIGINT,extras BLOB,output_extras BLOB, accountname TEXT,priority INTEGER DEFAULT 0)" - }, - "db-metadata-hashes": { - "OfflineHttpRequestProto": "162c915fb22c0efd19d6988215982a1a", - "ScheduledTaskProto": "a7ab77c5a21f710f0c09cb21b94af96d", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "conversiontracking": "2d5e7b14fcfc7d6becaedd80a5724950", - "identity": "edbf13b39a21f0dbf03efc18075a448c", - "job_storage_jobs": "f93029d627e2eb12f8154054a339042e", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2", - "transfers": "81cef0b7868db82186d659eb188d92e8" - }, - "db-metadata-md5": "f98759e0299e5e9283a0f6997b79faa8", - "tables": { - "OfflineHttpRequestProto": { - "insertionOrder": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "key": { - "datatype": "TEXT" - }, - "sortingValue": { - "datatype": "INTEGER", - "notnull": true - }, - "value": { - "datatype": "BLOB", - "notnull": true - } - }, - "ScheduledTaskProto": { - "insertionOrder": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "key": { - "datatype": "TEXT" - }, - "sortingValue": { - "datatype": "INTEGER", - "notnull": true - }, - "value": { - "datatype": "BLOB", - "notnull": true - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "conversiontracking": { - "conversion_ping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "is_repeatable": { - "datatype": "INTEGER" - }, - "last_retry_time": { - "datatype": "INTEGER" - }, - "parameter_is_null": { - "datatype": "INTEGER" - }, - "preference_key": { - "datatype": "TEXT" - }, - "preference_name": { - "datatype": "TEXT" - }, - "record_time": { - "datatype": "INTEGER" - }, - "retry_count": { - "datatype": "INTEGER" - }, - "string_url": { - "datatype": "TEXT", - "notnull": true - } - }, - "identity": { - "account": { - "datatype": "TEXT", - "primarykey": true - }, - "gaia_id": { - "datatype": "TEXT", - "primarykey": true - }, - "id": { - "datatype": "TEXT" - }, - "profile_account_name_proto": { - "datatype": "BLOB" - }, - "profile_account_photo_thumbnails_proto": { - "datatype": "BLOB" - }, - "profile_display_email": { - "datatype": "TEXT" - }, - "profile_display_name": { - "datatype": "TEXT" - }, - "profile_mobile_banner_thumbnails_proto": { - "datatype": "BLOB" - }, - "profile_thumbnail_uri": { - "datatype": "TEXT" - } - }, - "job_storage_jobs": { - "data": { - "datatype": "BLOB" - }, - "id": { - "datatype": "TEXT", - "primarykey": true - }, - "version": { - "datatype": "INTEGER" - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - }, - "transfers": { - "accountname": { - "datatype": "TEXT" - }, - "bytes_total": { - "datatype": "BIGINT" - }, - "bytes_transferred": { - "datatype": "BIGINT" - }, - "extras": { - "datatype": "BLOB" - }, - "file_path": { - "datatype": "TEXT", - "primarykey": true - }, - "network_uri": { - "datatype": "TEXT" - }, - "output_extras": { - "datatype": "BLOB" - }, - "priority": { - "datatype": "INTEGER", - "default": "0" - }, - "status": { - "datatype": "INTEGER" - }, - "status_reason": { - "datatype": "INTEGER" - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data/com.twitter.android__14243322-38.db__dbfp.json b/tests/fp_data/com.twitter.android__14243322-38.db__dbfp.json deleted file mode 100644 index 38d707d..0000000 --- a/tests/fp_data/com.twitter.android__14243322-38.db__dbfp.json +++ /dev/null @@ -1,1527 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.twitter.android", - "app-ver": "", - "dn-name": "14243322-38.db", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "activities": "CREATE TABLE activities (_id INTEGER PRIMARY KEY,type INT,event INT,created_at INT,hash INT,max_position INT,min_position INT,sources_size INT,source_type INT,sources BLOB,targets_size INT,target_type INT,targets BLOB,target_objects_size INT,target_object_type INT,target_objects BLOB,is_last INT,tag INT,magic_rec_id INT,UNIQUE (type, max_position) ON CONFLICT REPLACE)", - "ads_account_permissions": "CREATE TABLE ads_account_permissions (_id INTEGER PRIMARY KEY,promotable_users BLOB,last_synced INT NOT NULL)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "business_profiles": "CREATE TABLE business_profiles (_id INTEGER PRIMARY KEY,user_id INT UNIQUE NOT NULL,business_profile BLOB,last_synced INT NOT NULL)", - "card_state": "CREATE TABLE card_state (_id INTEGER PRIMARY KEY AUTOINCREMENT,card_status_id INT,card_id INT, card_state BLOB)", - "category_timestamp": "CREATE TABLE category_timestamp (_id INTEGER PRIMARY KEY,cat_status_id INT NOT NULL,cat_tag INT NOT NULL,cat_timestamp INT NOT NULL)", - "clusters": "CREATE TABLE clusters (_id INTEGER PRIMARY KEY,cl_cluster_id TEXT UNIQUE NOT NULL,cl_type INT,cl_title TEXT,cl_subtitle TEXT,cl_size INT,cl_timestamp INT,cl_content BLOB)", - "conversation_entries": "CREATE TABLE conversation_entries (_id INTEGER PRIMARY KEY,entry_id INT UNIQUE NOT NULL,sort_entry_id INT UNIQUE NOT NULL,conversation_id TEXT,user_id INT,created INT,entry_type INT,data BLOB,request_id TEXT)", - "conversation_participants": "CREATE TABLE conversation_participants (_id INTEGER PRIMARY KEY,conversation_id TEXT NOT NULL,user_id TEXT NOT NULL,join_time INT NOT NULL,participant_type INT NOT NULL)", - "conversations": "CREATE TABLE conversations (_id INTEGER PRIMARY KEY,conversation_id TEXT UNIQUE NOT NULL,title TEXT,avatar_url TEXT,type INT,sort_event_id BIGINT,last_readable_event_id BIGINT,last_read_event_id BIGINT,sort_timestamp BIGINT,is_muted INT,min_event_id BIGINT,is_hidden INT,has_more INT,read_only INT)", - "cursors": "CREATE TABLE cursors (_id INTEGER PRIMARY KEY,kind INT,type INT,owner_id INT,ref_id TEXT,next TEXT)", - "discover": "CREATE TABLE discover (_id INTEGER PRIMARY KEY,type INT,identifier INT,unread INT DEFAULT 0,page INT,is_last INT,scribe_content BLOB)", - "list_mapping": "CREATE TABLE list_mapping (_id INTEGER PRIMARY KEY,list_mapping_list_id TEXT,list_mapping_type INT,list_mapping_user_id INT,list_is_last INT)", - "locations": "CREATE TABLE locations (_id INTEGER PRIMARY KEY,name TEXT,woeid INT,country TEXT,country_code TEXT)", - "moments": "CREATE TABLE moments (_id INTEGER PRIMARY KEY,title TEXT NOT NULL,can_subscribe INT,is_live INT,is_sensitive INT,subcategory_string TEXT,subcategory_favicon_url TEXT,time_string TEXT,duration_string TEXT,is_subscribed INT,description TEXT NOT NULL,moment_url TEXT,num_subscribers INT,author_info BLOB,promoted_content BLOB)", - "moments_guide": "CREATE TABLE moments_guide (_id INTEGER PRIMARY KEY,moment_id INT NOT NULL,section_id INT NOT NULL,tweet_id INT NOT NULL, crop_data BLOB,media_id INT,media_url TEXT,media_size BLOB,FOREIGN KEY(section_id) REFERENCES moments_sections(_id) ON DELETE CASCADE)", - "moments_guide_categories": "CREATE TABLE moments_guide_categories (_id INTEGER PRIMARY KEY,category_id TEXT NOT NULL,is_default_category INT NOT NULL,category_name TEXT NOT NULL,fetch_timestamp INT NOT NULL)", - "moments_guide_user_states": "CREATE TABLE moments_guide_user_states (_id INTEGER PRIMARY KEY,moment_id INT NOT NULL,is_read INT,is_updated INT,FOREIGN KEY(moment_id) REFERENCES moments(_id) ON DELETE CASCADE)", - "moments_pages": "CREATE TABLE moments_pages (_id INTEGER PRIMARY KEY,moment_id INT NOT NULL,page_id TEXT,type BLOB,tweet_id INT,display_mode BLOB,page_number INT,crop_data BLOB,theme_data BLOB,media_id INT,media_size BLOB,media_url TEXT,last_read_timestamp INT,FOREIGN KEY(moment_id) REFERENCES moments(_id))", - "moments_sections": "CREATE TABLE moments_sections (_id INTEGER PRIMARY KEY,section_title TEXT,section_type BLOB NOT NULL,section_group_id TEXT,section_group_type INT NOT NULL)", - "moments_visit_badge": "CREATE TABLE moments_visit_badge (_id INTEGER PRIMARY KEY,moment_id INT UNIQUE NOT NULL,is_new_since_visit INT,is_updated_since_visit INT)", - "news": "CREATE TABLE news (_id INTEGER PRIMARY KEY AUTOINCREMENT,country TEXT,language TEXT,topic_id INT,news_id TEXT,title TEXT,image_url TEXT,author_name TEXT,article_description TEXT,article_url TEXT,tweet_count INT,start_time INT,news_id_hash INT)", - "notifications": "CREATE TABLE notifications (_id INTEGER PRIMARY KEY,type INT,notif_id INT,source_user_name TEXT,s_name TEXT,s_id INT,notif_txt TEXT,aggregation_data TEXT,notif_extra_data BLOB)", - "one_click": "CREATE TABLE one_click (_id INTEGER PRIMARY KEY,topic TEXT,filter_name TEXT,filter_location TEXT,filter_follow INT)", - "order_history": "CREATE TABLE order_history (_id INTEGER PRIMARY KEY,ordered_at INT ,order_id INT ,data BLOB)", - "promoted_retry": "CREATE TABLE promoted_retry(impression_id TEXT,event INT NOT NULL,is_earned INT NOT NULL,trend_id INT,num_retries INT NOT NULL,url TEXT,video_playlist_url TEXT,video_content_uuid TEXT,video_content_type TEXT,video_cta_url TEXT,video_cta_app_id TEXT,video_cta_app_name TEXT,card_event TEXT,PRIMARY KEY(impression_id,event,is_earned,trend_id))", - "prompts": "CREATE TABLE prompts (_id INTEGER PRIMARY KEY,p_id INT,p_format TEXT,p_template TEXT,p_header TEXT,p_text TEXT,p_action_text TEXT,p_action_url TEXT,p_icon TEXT,p_background_image_url TEXT,p_persistence TEXT,p_entities BLOB,p_header_entities BLOB,p_status_id LONG,p_insertion_index INT,p_trigger TEXT)", - "rankings": "CREATE TABLE rankings (_id INTEGER PRIMARY KEY AUTOINCREMENT,country TEXT,language TEXT,granularity TEXT,category TEXT,date INT)", - "scribe": "CREATE TABLE scribe (_id INTEGER PRIMARY KEY,log_type TEXT DEFAULT \"json\",category TEXT,log BLOB,request_id TEXT DEFAULT \"0\",retry_count INT DEFAULT 0)", - "search_queries": "CREATE TABLE search_queries (_id INTEGER PRIMARY KEY,type INT,name TEXT NOT NULL,query TEXT NOT NULL,query_id INT,time INT,latitude REAL,longitude REAL,radius REAL,location TEXT,pc BLOB,cluster_titles BLOB)", - "search_results": "CREATE TABLE search_results (_id INTEGER PRIMARY KEY,search_id INT,s_type INT,data_type INT,type_id INT,polled INT,data_id INT,related_data BLOB,cluster_id INT)", - "search_suggestion_metadata": "CREATE TABLE search_suggestion_metadata (_id INTEGER PRIMARY KEY,type INT,last_update LONG)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)", - "status_groups": "CREATE TABLE status_groups (_id INTEGER PRIMARY KEY,tweet_type INT DEFAULT 0,type INT,sender_id INT,owner_id INT,ref_id INT,tag INT,g_status_id INT,is_read INT,page INT,is_last INT,updated_at INT,timeline INT,pc BLOB,g_flags INT,preview_draft_id INT,preview_media BLOB,tweet_pivots BLOB)", - "status_metadata": "CREATE TABLE status_metadata (_id INTEGER PRIMARY KEY,owner_id INT NOT NULL,status_id INT NOT NULL,status_group INT NOT NULL,status_group_tag INT NOT NULL,soc_type INT,soc_name TEXT,soc_second_name TEXT,soc_others_count INT,soc_fav_count INT,soc_rt_count INT,reason_icon_type TEXT,reason_text TEXT,scribe_component TEXT,scribe_data BLOB,highlights TEXT)", - "statuses": "CREATE TABLE statuses (_id INTEGER PRIMARY KEY,status_id INT UNIQUE NOT NULL,author_id INT,content TEXT,source TEXT,created INT,in_r_user_id INT,in_r_status_id INT,favorited INT,latitude TEXT,longitude TEXT,place_data BLOB,entities TEXT,retweet_count INT,r_content TEXT,cards BLOB,flags INT,favorite_count INT,lang TEXT,supplemental_language TEXT,view_count INT,quoted_tweet_data BLOB,quoted_tweet_id INT,retweeted INT)", - "stories": "CREATE TABLE stories ( _id INTEGER PRIMARY KEY,story_id TEXT,story_order INT,story_type INT,story_proof_type INT,story_proof_addl_count INT,data_type INT,data_id INT,story_is_read INT,story_meta_title TEXT,story_meta_subtitle TEXT,story_meta_query TEXT,story_meta_header_img_url TEXT,story_source TEXT,story_impression_info TEXT,story_tag INT)", - "timeline": "CREATE TABLE timeline (_id INTEGER PRIMARY KEY AUTOINCREMENT,owner_id INT,type INT,sort_index INT,entity_id INT,entity_type INT,data_type INT,data_type_group INT,data_type_tag INT,timeline_tag TEXT,timeline_group_id INT,timeline_scribe_group_id INT,data_id INT,data BLOB,flags INT,updated_at INT,data_origin_id TEXT,is_last INT,is_read INT,scribe_content BLOB,timeline_moment_info BLOB)", - "tokens": "CREATE TABLE tokens (_id INTEGER PRIMARY KEY,text TEXT,weight INT,type INT,ref_id INT)", - "topics": "CREATE TABLE topics (_id INTEGER PRIMARY KEY,ev_id TEXT UNIQUE NOT NULL,ev_type INT,ev_query TEXT NOT NULL,ev_seed_hashtag TEXT,ev_title STRING,ev_subtitle STRING,ev_view_url STRING,ev_status STRING,ev_image_url TEXT,ev_explanation TEXT,ev_tweet_count INT,ev_start_time INT,ev_owner_id INT,ev_pc BLOB,ev_content BLOB,ev_hash INT)", - "user_groups": "CREATE TABLE user_groups (_id INTEGER PRIMARY KEY,type INT,tag INT,rank INT,owner_id INT,user_id INT,is_last INT,pc BLOB,g_flags INT)", - "user_metadata": "CREATE TABLE user_metadata (_id INTEGER PRIMARY KEY,owner_id INT NOT NULL,user_id INT NOT NULL,user_group_type INT NOT NULL,user_group_tag INT NOT NULL,soc_type INT,soc_name TEXT,soc_follow_count INT,user_title TEXT,token TEXT)", - "users": "CREATE TABLE users (_id INTEGER PRIMARY KEY,user_id INT UNIQUE NOT NULL,username TEXT,name TEXT,description TEXT,web_url TEXT,bg_color INT,location TEXT,structured_location BLOB,user_flags INT,followers INT,fast_followers INT DEFAULT 0,friends INT,statuses INT,profile_created INT,image_url TEXT,hash INT,updated INT,friendship INT,friendship_time INT,favorites INT DEFAULT 0,header_url TEXT,description_entities BLOB,url_entities BLOB,media_count INT,extended_profile_fields BLOB,pinned_tweet_id INT,link_color INT,advertiser_type TEXT,business_profile_state TEXT)" - }, - "db-metadata-hashes": { - "activities": "303c17c219547a7bb76c4a71128fdb7d", - "ads_account_permissions": "77ee1b60fb2bb116325c928bafb412cc", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "business_profiles": "41e146ad98459f74453ff1c4287d3e58", - "card_state": "6322a3e781f2d9264aa4e467ca785a74", - "category_timestamp": "a8a390c36422bcb2f63d107d36987837", - "clusters": "8821b12d367ade0c97d1c807681b5aa7", - "conversation_entries": "50f11ccd0579aeda53f38904e78e0ddb", - "conversation_participants": "c421cbe1139b8392754e921f52e85048", - "conversations": "9fde65ab6299575fdb37b0bc422f502e", - "cursors": "9b657052533890deecf647ab66426467", - "discover": "3ec4f0a46c0727d859e03c49577f3bb7", - "list_mapping": "c75177dbab227c8ae5e7b4d11f4322e3", - "locations": "c6e8a5aa07c0543610444061bbd49937", - "moments": "90c680a8c2e707724a7e661bde608deb", - "moments_guide": "d5c233876273e87f5bf60a9f49cfd0d7", - "moments_guide_categories": "34fef7e3d70b061e15b7efc25869da40", - "moments_guide_user_states": "a967332f54d3e7e75456bc66844bba81", - "moments_pages": "48437b1cde43eca6f6113a0333438888", - "moments_sections": "1f4726eab8ec9189d71f190afdf61bd0", - "moments_visit_badge": "3bb14149a773fe7b070f859f9bb91621", - "news": "b09f88b3f43154d2ca18008051377366", - "notifications": "979de9ef3d6e62cfef7f2419c8ea5da6", - "one_click": "dcaf248ac4f2699b023b381bbe61545e", - "order_history": "61215a6364756841bf16b952679cdc05", - "promoted_retry": "8124f58a95e54f46e27bd5a1eb363cf6", - "prompts": "132838240f9b360364b1f4903044ab61", - "rankings": "eac5d51b3d0eb791d84f02c4d99d3f97", - "scribe": "7f1e068560e0187f605c42bf9b733e61", - "search_queries": "32af69b2bd8de612cd0dc9393b4e3125", - "search_results": "aa7c460450c970534ac334864389fd5c", - "search_suggestion_metadata": "836227512bf361329b3a8e95a0b7d52d", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2", - "status_groups": "ee1f29f07849214cabbc6a4b48f1af10", - "status_metadata": "d236fad4191e5ba1418872dc78f7db72", - "statuses": "bf0465c97b7600454d418c61de68f8f6", - "stories": "a52fafbf4871f1e38529a538fcba88e4", - "timeline": "065711d082a075ed964e1a2dcd474ea4", - "tokens": "4b8e99285639efadda863e2026e60493", - "topics": "dd0636ab41d06b4e1cf4cd6dd848e339", - "user_groups": "838ccd38acf503cda66539b85d08feaa", - "user_metadata": "fe3f1c13421a99c71ac642668d987b9d", - "users": "447059096b4e8821c2e333d2da3e197a" - }, - "db-metadata-md5": "b53ec48dc35cbee919e4acf5927aaa66", - "tables": { - "activities": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "created_at": { - "datatype": "INT" - }, - "event": { - "datatype": "INT" - }, - "hash": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "magic_rec_id": { - "datatype": "INT" - }, - "max_position": { - "datatype": "INT", - "unique": true - }, - "min_position": { - "datatype": "INT" - }, - "source_type": { - "datatype": "INT" - }, - "sources": { - "datatype": "BLOB" - }, - "sources_size": { - "datatype": "INT" - }, - "tag": { - "datatype": "INT" - }, - "target_object_type": { - "datatype": "INT" - }, - "target_objects": { - "datatype": "BLOB" - }, - "target_objects_size": { - "datatype": "INT" - }, - "target_type": { - "datatype": "INT" - }, - "targets": { - "datatype": "BLOB" - }, - "targets_size": { - "datatype": "INT" - }, - "type": { - "datatype": "INT", - "unique": true - } - }, - "ads_account_permissions": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "last_synced": { - "datatype": "INT", - "notnull": true - }, - "promotable_users": { - "datatype": "BLOB" - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "business_profiles": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "business_profile": { - "datatype": "BLOB" - }, - "last_synced": { - "datatype": "INT", - "notnull": true - }, - "user_id": { - "datatype": "INT" - } - }, - "card_state": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "card_id": { - "datatype": "INT" - }, - "card_state": { - "datatype": "BLOB" - }, - "card_status_id": { - "datatype": "INT" - } - }, - "category_timestamp": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "cat_status_id": { - "datatype": "INT", - "notnull": true - }, - "cat_tag": { - "datatype": "INT", - "notnull": true - }, - "cat_timestamp": { - "datatype": "INT", - "notnull": true - } - }, - "clusters": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "cl_cluster_id": { - "datatype": "TEXT" - }, - "cl_content": { - "datatype": "BLOB" - }, - "cl_size": { - "datatype": "INT" - }, - "cl_subtitle": { - "datatype": "TEXT" - }, - "cl_timestamp": { - "datatype": "INT" - }, - "cl_title": { - "datatype": "TEXT" - }, - "cl_type": { - "datatype": "INT" - } - }, - "conversation_entries": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "conversation_id": { - "datatype": "TEXT" - }, - "created": { - "datatype": "INT" - }, - "data": { - "datatype": "BLOB" - }, - "entry_id": { - "datatype": "INT" - }, - "entry_type": { - "datatype": "INT" - }, - "request_id": { - "datatype": "TEXT" - }, - "sort_entry_id": { - "datatype": "INT" - }, - "user_id": { - "datatype": "INT" - } - }, - "conversation_participants": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "conversation_id": { - "datatype": "TEXT", - "notnull": true - }, - "join_time": { - "datatype": "INT", - "notnull": true - }, - "participant_type": { - "datatype": "INT", - "notnull": true - }, - "user_id": { - "datatype": "TEXT", - "notnull": true - } - }, - "conversations": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "avatar_url": { - "datatype": "TEXT" - }, - "conversation_id": { - "datatype": "TEXT" - }, - "has_more": { - "datatype": "INT" - }, - "is_hidden": { - "datatype": "INT" - }, - "is_muted": { - "datatype": "INT" - }, - "last_read_event_id": { - "datatype": "BIGINT" - }, - "last_readable_event_id": { - "datatype": "BIGINT" - }, - "min_event_id": { - "datatype": "BIGINT" - }, - "read_only": { - "datatype": "INT" - }, - "sort_event_id": { - "datatype": "BIGINT" - }, - "sort_timestamp": { - "datatype": "BIGINT" - }, - "title": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - } - }, - "cursors": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "kind": { - "datatype": "INT" - }, - "next": { - "datatype": "TEXT" - }, - "owner_id": { - "datatype": "INT" - }, - "ref_id": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - } - }, - "discover": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "identifier": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "page": { - "datatype": "INT" - }, - "scribe_content": { - "datatype": "BLOB" - }, - "type": { - "datatype": "INT" - }, - "unread": { - "datatype": "INT", - "default": "0" - } - }, - "list_mapping": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "list_is_last": { - "datatype": "INT" - }, - "list_mapping_list_id": { - "datatype": "TEXT" - }, - "list_mapping_type": { - "datatype": "INT" - }, - "list_mapping_user_id": { - "datatype": "INT" - } - }, - "locations": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "country": { - "datatype": "TEXT" - }, - "country_code": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT" - }, - "woeid": { - "datatype": "INT" - } - }, - "moments": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "author_info": { - "datatype": "BLOB" - }, - "can_subscribe": { - "datatype": "INT" - }, - "description": { - "datatype": "TEXT", - "notnull": true - }, - "duration_string": { - "datatype": "TEXT" - }, - "is_live": { - "datatype": "INT" - }, - "is_sensitive": { - "datatype": "INT" - }, - "is_subscribed": { - "datatype": "INT" - }, - "moment_url": { - "datatype": "TEXT" - }, - "num_subscribers": { - "datatype": "INT" - }, - "promoted_content": { - "datatype": "BLOB" - }, - "subcategory_favicon_url": { - "datatype": "TEXT" - }, - "subcategory_string": { - "datatype": "TEXT" - }, - "time_string": { - "datatype": "TEXT" - }, - "title": { - "datatype": "TEXT", - "notnull": true - } - }, - "moments_guide": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "crop_data": { - "datatype": "BLOB" - }, - "media_id": { - "datatype": "INT" - }, - "media_size": { - "datatype": "BLOB" - }, - "media_url": { - "datatype": "TEXT" - }, - "moment_id": { - "datatype": "INT", - "notnull": true - }, - "section_id": { - "datatype": "INT", - "notnull": true - }, - "tweet_id": { - "datatype": "INT", - "notnull": true - } - }, - "moments_guide_categories": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "category_id": { - "datatype": "TEXT", - "notnull": true - }, - "category_name": { - "datatype": "TEXT", - "notnull": true - }, - "fetch_timestamp": { - "datatype": "INT", - "notnull": true - }, - "is_default_category": { - "datatype": "INT", - "notnull": true - } - }, - "moments_guide_user_states": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "is_read": { - "datatype": "INT" - }, - "is_updated": { - "datatype": "INT" - }, - "moment_id": { - "datatype": "INT", - "notnull": true - } - }, - "moments_pages": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "crop_data": { - "datatype": "BLOB" - }, - "display_mode": { - "datatype": "BLOB" - }, - "last_read_timestamp": { - "datatype": "INT" - }, - "media_id": { - "datatype": "INT" - }, - "media_size": { - "datatype": "BLOB" - }, - "media_url": { - "datatype": "TEXT" - }, - "moment_id": { - "datatype": "INT", - "notnull": true - }, - "page_id": { - "datatype": "TEXT" - }, - "page_number": { - "datatype": "INT" - }, - "theme_data": { - "datatype": "BLOB" - }, - "tweet_id": { - "datatype": "INT" - }, - "type": { - "datatype": "BLOB" - } - }, - "moments_sections": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "section_group_id": { - "datatype": "TEXT" - }, - "section_group_type": { - "datatype": "INT", - "notnull": true - }, - "section_title": { - "datatype": "TEXT" - }, - "section_type": { - "datatype": "BLOB", - "notnull": true - } - }, - "moments_visit_badge": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "is_new_since_visit": { - "datatype": "INT" - }, - "is_updated_since_visit": { - "datatype": "INT" - }, - "moment_id": { - "datatype": "INT" - } - }, - "news": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "article_description": { - "datatype": "TEXT" - }, - "article_url": { - "datatype": "TEXT" - }, - "author_name": { - "datatype": "TEXT" - }, - "country": { - "datatype": "TEXT" - }, - "image_url": { - "datatype": "TEXT" - }, - "language": { - "datatype": "TEXT" - }, - "news_id": { - "datatype": "TEXT" - }, - "news_id_hash": { - "datatype": "INT" - }, - "start_time": { - "datatype": "INT" - }, - "title": { - "datatype": "TEXT" - }, - "topic_id": { - "datatype": "INT" - }, - "tweet_count": { - "datatype": "INT" - } - }, - "notifications": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "aggregation_data": { - "datatype": "TEXT" - }, - "notif_extra_data": { - "datatype": "BLOB" - }, - "notif_id": { - "datatype": "INT" - }, - "notif_txt": { - "datatype": "TEXT" - }, - "s_id": { - "datatype": "INT" - }, - "s_name": { - "datatype": "TEXT" - }, - "source_user_name": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - } - }, - "one_click": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "filter_follow": { - "datatype": "INT" - }, - "filter_location": { - "datatype": "TEXT" - }, - "filter_name": { - "datatype": "TEXT" - }, - "topic": { - "datatype": "TEXT" - } - }, - "order_history": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "data": { - "datatype": "BLOB" - }, - "order_id": { - "datatype": "INT" - }, - "ordered_at": { - "datatype": "INT" - } - }, - "promoted_retry": { - "card_event": { - "datatype": "TEXT" - }, - "event": { - "datatype": "INT", - "notnull": true, - "primarykey": true - }, - "impression_id": { - "datatype": "TEXT", - "primarykey": true - }, - "is_earned": { - "datatype": "INT", - "notnull": true, - "primarykey": true - }, - "num_retries": { - "datatype": "INT", - "notnull": true - }, - "trend_id": { - "datatype": "INT", - "primarykey": true - }, - "url": { - "datatype": "TEXT" - }, - "video_content_type": { - "datatype": "TEXT" - }, - "video_content_uuid": { - "datatype": "TEXT" - }, - "video_cta_app_id": { - "datatype": "TEXT" - }, - "video_cta_app_name": { - "datatype": "TEXT" - }, - "video_cta_url": { - "datatype": "TEXT" - }, - "video_playlist_url": { - "datatype": "TEXT" - } - }, - "prompts": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "p_action_text": { - "datatype": "TEXT" - }, - "p_action_url": { - "datatype": "TEXT" - }, - "p_background_image_url": { - "datatype": "TEXT" - }, - "p_entities": { - "datatype": "BLOB" - }, - "p_format": { - "datatype": "TEXT" - }, - "p_header": { - "datatype": "TEXT" - }, - "p_header_entities": { - "datatype": "BLOB" - }, - "p_icon": { - "datatype": "TEXT" - }, - "p_id": { - "datatype": "INT" - }, - "p_insertion_index": { - "datatype": "INT" - }, - "p_persistence": { - "datatype": "TEXT" - }, - "p_status_id": { - "datatype": "LONG" - }, - "p_template": { - "datatype": "TEXT" - }, - "p_text": { - "datatype": "TEXT" - }, - "p_trigger": { - "datatype": "TEXT" - } - }, - "rankings": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "category": { - "datatype": "TEXT" - }, - "country": { - "datatype": "TEXT" - }, - "date": { - "datatype": "INT" - }, - "granularity": { - "datatype": "TEXT" - }, - "language": { - "datatype": "TEXT" - } - }, - "scribe": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "category": { - "datatype": "TEXT" - }, - "log": { - "datatype": "BLOB" - }, - "log_type": { - "datatype": "TEXT" - }, - "request_id": { - "datatype": "TEXT" - }, - "retry_count": { - "datatype": "INT", - "default": "0" - } - }, - "search_queries": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "cluster_titles": { - "datatype": "BLOB" - }, - "latitude": { - "datatype": "REAL" - }, - "location": { - "datatype": "TEXT" - }, - "longitude": { - "datatype": "REAL" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "pc": { - "datatype": "BLOB" - }, - "query": { - "datatype": "TEXT", - "notnull": true - }, - "query_id": { - "datatype": "INT" - }, - "radius": { - "datatype": "REAL" - }, - "time": { - "datatype": "INT" - }, - "type": { - "datatype": "INT" - } - }, - "search_results": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "cluster_id": { - "datatype": "INT" - }, - "data_id": { - "datatype": "INT" - }, - "data_type": { - "datatype": "INT" - }, - "polled": { - "datatype": "INT" - }, - "related_data": { - "datatype": "BLOB" - }, - "s_type": { - "datatype": "INT" - }, - "search_id": { - "datatype": "INT" - }, - "type_id": { - "datatype": "INT" - } - }, - "search_suggestion_metadata": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "last_update": { - "datatype": "LONG" - }, - "type": { - "datatype": "INT" - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - }, - "status_groups": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "g_flags": { - "datatype": "INT" - }, - "g_status_id": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "is_read": { - "datatype": "INT" - }, - "owner_id": { - "datatype": "INT" - }, - "page": { - "datatype": "INT" - }, - "pc": { - "datatype": "BLOB" - }, - "preview_draft_id": { - "datatype": "INT" - }, - "preview_media": { - "datatype": "BLOB" - }, - "ref_id": { - "datatype": "INT" - }, - "sender_id": { - "datatype": "INT" - }, - "tag": { - "datatype": "INT" - }, - "timeline": { - "datatype": "INT" - }, - "tweet_pivots": { - "datatype": "BLOB" - }, - "tweet_type": { - "datatype": "INT", - "default": "0" - }, - "type": { - "datatype": "INT" - }, - "updated_at": { - "datatype": "INT" - } - }, - "status_metadata": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "highlights": { - "datatype": "TEXT" - }, - "owner_id": { - "datatype": "INT", - "notnull": true - }, - "reason_icon_type": { - "datatype": "TEXT" - }, - "reason_text": { - "datatype": "TEXT" - }, - "scribe_component": { - "datatype": "TEXT" - }, - "scribe_data": { - "datatype": "BLOB" - }, - "soc_fav_count": { - "datatype": "INT" - }, - "soc_name": { - "datatype": "TEXT" - }, - "soc_others_count": { - "datatype": "INT" - }, - "soc_rt_count": { - "datatype": "INT" - }, - "soc_second_name": { - "datatype": "TEXT" - }, - "soc_type": { - "datatype": "INT" - }, - "status_group": { - "datatype": "INT", - "notnull": true - }, - "status_group_tag": { - "datatype": "INT", - "notnull": true - }, - "status_id": { - "datatype": "INT", - "notnull": true - } - }, - "statuses": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "author_id": { - "datatype": "INT" - }, - "cards": { - "datatype": "BLOB" - }, - "content": { - "datatype": "TEXT" - }, - "created": { - "datatype": "INT" - }, - "entities": { - "datatype": "TEXT" - }, - "favorite_count": { - "datatype": "INT" - }, - "favorited": { - "datatype": "INT" - }, - "flags": { - "datatype": "INT" - }, - "in_r_status_id": { - "datatype": "INT" - }, - "in_r_user_id": { - "datatype": "INT" - }, - "lang": { - "datatype": "TEXT" - }, - "latitude": { - "datatype": "TEXT" - }, - "longitude": { - "datatype": "TEXT" - }, - "place_data": { - "datatype": "BLOB" - }, - "quoted_tweet_data": { - "datatype": "BLOB" - }, - "quoted_tweet_id": { - "datatype": "INT" - }, - "r_content": { - "datatype": "TEXT" - }, - "retweet_count": { - "datatype": "INT" - }, - "retweeted": { - "datatype": "INT" - }, - "source": { - "datatype": "TEXT" - }, - "status_id": { - "datatype": "INT" - }, - "supplemental_language": { - "datatype": "TEXT" - }, - "view_count": { - "datatype": "INT" - } - }, - "stories": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "data_id": { - "datatype": "INT" - }, - "data_type": { - "datatype": "INT" - }, - "story_id": { - "datatype": "TEXT" - }, - "story_impression_info": { - "datatype": "TEXT" - }, - "story_is_read": { - "datatype": "INT" - }, - "story_meta_header_img_url": { - "datatype": "TEXT" - }, - "story_meta_query": { - "datatype": "TEXT" - }, - "story_meta_subtitle": { - "datatype": "TEXT" - }, - "story_meta_title": { - "datatype": "TEXT" - }, - "story_order": { - "datatype": "INT" - }, - "story_proof_addl_count": { - "datatype": "INT" - }, - "story_proof_type": { - "datatype": "INT" - }, - "story_source": { - "datatype": "TEXT" - }, - "story_tag": { - "datatype": "INT" - }, - "story_type": { - "datatype": "INT" - } - }, - "timeline": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data": { - "datatype": "BLOB" - }, - "data_id": { - "datatype": "INT" - }, - "data_origin_id": { - "datatype": "TEXT" - }, - "data_type": { - "datatype": "INT" - }, - "data_type_group": { - "datatype": "INT" - }, - "data_type_tag": { - "datatype": "INT" - }, - "entity_id": { - "datatype": "INT" - }, - "entity_type": { - "datatype": "INT" - }, - "flags": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "is_read": { - "datatype": "INT" - }, - "owner_id": { - "datatype": "INT" - }, - "scribe_content": { - "datatype": "BLOB" - }, - "sort_index": { - "datatype": "INT" - }, - "timeline_group_id": { - "datatype": "INT" - }, - "timeline_moment_info": { - "datatype": "BLOB" - }, - "timeline_scribe_group_id": { - "datatype": "INT" - }, - "timeline_tag": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - }, - "updated_at": { - "datatype": "INT" - } - }, - "tokens": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "ref_id": { - "datatype": "INT" - }, - "text": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - }, - "weight": { - "datatype": "INT" - } - }, - "topics": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "ev_content": { - "datatype": "BLOB" - }, - "ev_explanation": { - "datatype": "TEXT" - }, - "ev_hash": { - "datatype": "INT" - }, - "ev_id": { - "datatype": "TEXT" - }, - "ev_image_url": { - "datatype": "TEXT" - }, - "ev_owner_id": { - "datatype": "INT" - }, - "ev_pc": { - "datatype": "BLOB" - }, - "ev_query": { - "datatype": "TEXT", - "notnull": true - }, - "ev_seed_hashtag": { - "datatype": "TEXT" - }, - "ev_start_time": { - "datatype": "INT" - }, - "ev_status": { - "datatype": "STRING" - }, - "ev_subtitle": { - "datatype": "STRING" - }, - "ev_title": { - "datatype": "STRING" - }, - "ev_tweet_count": { - "datatype": "INT" - }, - "ev_type": { - "datatype": "INT" - }, - "ev_view_url": { - "datatype": "STRING" - } - }, - "user_groups": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "g_flags": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "owner_id": { - "datatype": "INT" - }, - "pc": { - "datatype": "BLOB" - }, - "rank": { - "datatype": "INT" - }, - "tag": { - "datatype": "INT" - }, - "type": { - "datatype": "INT" - }, - "user_id": { - "datatype": "INT" - } - }, - "user_metadata": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "owner_id": { - "datatype": "INT", - "notnull": true - }, - "soc_follow_count": { - "datatype": "INT" - }, - "soc_name": { - "datatype": "TEXT" - }, - "soc_type": { - "datatype": "INT" - }, - "token": { - "datatype": "TEXT" - }, - "user_group_tag": { - "datatype": "INT", - "notnull": true - }, - "user_group_type": { - "datatype": "INT", - "notnull": true - }, - "user_id": { - "datatype": "INT", - "notnull": true - }, - "user_title": { - "datatype": "TEXT" - } - }, - "users": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "advertiser_type": { - "datatype": "TEXT" - }, - "bg_color": { - "datatype": "INT" - }, - "business_profile_state": { - "datatype": "TEXT" - }, - "description": { - "datatype": "TEXT" - }, - "description_entities": { - "datatype": "BLOB" - }, - "extended_profile_fields": { - "datatype": "BLOB" - }, - "fast_followers": { - "datatype": "INT", - "default": "0" - }, - "favorites": { - "datatype": "INT", - "default": "0" - }, - "followers": { - "datatype": "INT" - }, - "friends": { - "datatype": "INT" - }, - "friendship": { - "datatype": "INT" - }, - "friendship_time": { - "datatype": "INT" - }, - "hash": { - "datatype": "INT" - }, - "header_url": { - "datatype": "TEXT" - }, - "image_url": { - "datatype": "TEXT" - }, - "link_color": { - "datatype": "INT" - }, - "location": { - "datatype": "TEXT" - }, - "media_count": { - "datatype": "INT" - }, - "name": { - "datatype": "TEXT" - }, - "pinned_tweet_id": { - "datatype": "INT" - }, - "profile_created": { - "datatype": "INT" - }, - "statuses": { - "datatype": "INT" - }, - "structured_location": { - "datatype": "BLOB" - }, - "updated": { - "datatype": "INT" - }, - "url_entities": { - "datatype": "BLOB" - }, - "user_flags": { - "datatype": "INT" - }, - "user_id": { - "datatype": "INT" - }, - "username": { - "datatype": "TEXT" - }, - "web_url": { - "datatype": "TEXT" - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data/com.twitter.android__14243322-dm.db__dbfp.json b/tests/fp_data/com.twitter.android__14243322-dm.db__dbfp.json deleted file mode 100644 index cf5c902..0000000 --- a/tests/fp_data/com.twitter.android__14243322-dm.db__dbfp.json +++ /dev/null @@ -1,1552 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.twitter.android", - "app-ver": "", - "dn-name": "14243322-dm.db", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "activities": "CREATE TABLE activities (_id INTEGER PRIMARY KEY,type INT,event INT,created_at INT,hash INT,max_position INT,min_position INT,sources_size INT,source_type INT,sources BLOB,targets_size INT,target_type INT,targets BLOB,target_objects_size INT,target_object_type INT,target_objects BLOB,is_last INT,tag INT,magic_rec_id INT,UNIQUE (type, max_position) ON CONFLICT REPLACE)", - "ads_account_permissions": "CREATE TABLE ads_account_permissions (_id INTEGER PRIMARY KEY,promotable_users BLOB,last_synced INT NOT NULL)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "business_profiles": "CREATE TABLE business_profiles (_id INTEGER PRIMARY KEY,user_id INT UNIQUE NOT NULL,business_profile BLOB,last_synced INT NOT NULL)", - "card_state": "CREATE TABLE card_state (_id INTEGER PRIMARY KEY AUTOINCREMENT,card_status_id INT,card_id INT, card_state BLOB)", - "category_timestamp": "CREATE TABLE category_timestamp (_id INTEGER PRIMARY KEY,cat_status_id INT NOT NULL,cat_tag INT NOT NULL,cat_timestamp INT NOT NULL)", - "clusters": "CREATE TABLE clusters (_id INTEGER PRIMARY KEY,cl_cluster_id TEXT UNIQUE NOT NULL,cl_type INT,cl_title TEXT,cl_subtitle TEXT,cl_size INT,cl_timestamp INT,cl_content BLOB)", - "conversation_entries": "CREATE TABLE conversation_entries (_id INTEGER PRIMARY KEY,entry_id INT UNIQUE NOT NULL,sort_entry_id INT UNIQUE NOT NULL,conversation_id TEXT,user_id INT,created INT,entry_type INT,data BLOB,request_id TEXT)", - "conversation_participants": "CREATE TABLE conversation_participants (_id INTEGER PRIMARY KEY,conversation_id TEXT NOT NULL,user_id TEXT NOT NULL,join_time INT NOT NULL,participant_type INT NOT NULL)", - "conversations": "CREATE TABLE conversations (_id INTEGER PRIMARY KEY,conversation_id TEXT UNIQUE NOT NULL,title TEXT,avatar_url TEXT,type INT,sort_event_id BIGINT,last_readable_event_id BIGINT,last_read_event_id BIGINT,sort_timestamp BIGINT,is_muted INT,min_event_id BIGINT,is_hidden INT,has_more INT,read_only INT)", - "cursors": "CREATE TABLE cursors (_id INTEGER PRIMARY KEY,kind INT,type INT,owner_id INT,ref_id TEXT,next TEXT)", - "discover": "CREATE TABLE discover (_id INTEGER PRIMARY KEY,type INT,identifier INT,unread INT DEFAULT 0,page INT,is_last INT,scribe_content BLOB)", - "list_mapping": "CREATE TABLE list_mapping (_id INTEGER PRIMARY KEY,list_mapping_list_id TEXT,list_mapping_type INT,list_mapping_user_id INT,list_is_last INT)", - "locations": "CREATE TABLE locations (_id INTEGER PRIMARY KEY,name TEXT,woeid INT,country TEXT,country_code TEXT)", - "moments": "CREATE TABLE moments (_id INTEGER PRIMARY KEY,title TEXT NOT NULL,can_subscribe INT,is_live INT,is_sensitive INT,subcategory_string TEXT,subcategory_favicon_url TEXT,time_string TEXT,duration_string TEXT,is_subscribed INT,description TEXT NOT NULL,moment_url TEXT,num_subscribers INT,author_info BLOB,promoted_content BLOB)", - "moments_guide": "CREATE TABLE moments_guide (_id INTEGER PRIMARY KEY,moment_id INT NOT NULL,section_id INT NOT NULL,tweet_id INT NOT NULL, crop_data BLOB,media_id INT,media_url TEXT,media_size BLOB,FOREIGN KEY(section_id) REFERENCES moments_sections(_id) ON DELETE CASCADE)", - "moments_guide_categories": "CREATE TABLE moments_guide_categories (_id INTEGER PRIMARY KEY,category_id TEXT NOT NULL,is_default_category INT NOT NULL,category_name TEXT NOT NULL,fetch_timestamp INT NOT NULL)", - "moments_guide_user_states": "CREATE TABLE moments_guide_user_states (_id INTEGER PRIMARY KEY,moment_id INT NOT NULL,is_read INT,is_updated INT,FOREIGN KEY(moment_id) REFERENCES moments(_id) ON DELETE CASCADE)", - "moments_pages": "CREATE TABLE moments_pages (_id INTEGER PRIMARY KEY,moment_id INT NOT NULL,page_id TEXT,type BLOB,tweet_id INT,display_mode BLOB,page_number INT,crop_data BLOB,theme_data BLOB,media_id INT,media_size BLOB,media_url TEXT,last_read_timestamp INT,FOREIGN KEY(moment_id) REFERENCES moments(_id))", - "moments_sections": "CREATE TABLE moments_sections (_id INTEGER PRIMARY KEY,section_title TEXT,section_type BLOB NOT NULL,section_group_id TEXT,section_group_type INT NOT NULL)", - "moments_visit_badge": "CREATE TABLE moments_visit_badge (_id INTEGER PRIMARY KEY,moment_id INT UNIQUE NOT NULL,is_new_since_visit INT,is_updated_since_visit INT)", - "news": "CREATE TABLE news (_id INTEGER PRIMARY KEY AUTOINCREMENT,country TEXT,language TEXT,topic_id INT,news_id TEXT,title TEXT,image_url TEXT,author_name TEXT,article_description TEXT,article_url TEXT,tweet_count INT,start_time INT,news_id_hash INT)", - "notifications": "CREATE TABLE notifications (_id INTEGER PRIMARY KEY,type INT,notif_id INT,source_user_name TEXT,s_name TEXT,s_id INT,notif_txt TEXT,aggregation_data TEXT,notif_extra_data BLOB)", - "one_click": "CREATE TABLE one_click (_id INTEGER PRIMARY KEY,topic TEXT,filter_name TEXT,filter_location TEXT,filter_follow INT)", - "order_history": "CREATE TABLE order_history (_id INTEGER PRIMARY KEY,ordered_at INT ,order_id INT ,data BLOB)", - "promoted_retry": "CREATE TABLE promoted_retry(impression_id TEXT,event INT NOT NULL,is_earned INT NOT NULL,trend_id INT,num_retries INT NOT NULL,url TEXT,video_playlist_url TEXT,video_content_uuid TEXT,video_content_type TEXT,video_cta_url TEXT,video_cta_app_id TEXT,video_cta_app_name TEXT,card_event TEXT,PRIMARY KEY(impression_id,event,is_earned,trend_id))", - "prompts": "CREATE TABLE prompts (_id INTEGER PRIMARY KEY,p_id INT,p_format TEXT,p_template TEXT,p_header TEXT,p_text TEXT,p_action_text TEXT,p_action_url TEXT,p_icon TEXT,p_background_image_url TEXT,p_persistence TEXT,p_entities BLOB,p_header_entities BLOB,p_status_id LONG,p_insertion_index INT,p_trigger TEXT)", - "rankings": "CREATE TABLE rankings (_id INTEGER PRIMARY KEY AUTOINCREMENT,country TEXT,language TEXT,granularity TEXT,category TEXT,date INT)", - "scribe": "CREATE TABLE scribe (_id INTEGER PRIMARY KEY,log_type TEXT DEFAULT \"json\",category TEXT,log BLOB,request_id TEXT DEFAULT \"0\",retry_count INT DEFAULT 0)", - "search_queries": "CREATE TABLE search_queries (_id INTEGER PRIMARY KEY,type INT,name TEXT NOT NULL,query TEXT NOT NULL,query_id INT,time INT,latitude REAL,longitude REAL,radius REAL,location TEXT,pc BLOB,cluster_titles BLOB)", - "search_results": "CREATE TABLE search_results (_id INTEGER PRIMARY KEY,search_id INT,s_type INT,data_type INT,type_id INT,polled INT,data_id INT,related_data BLOB,cluster_id INT)", - "search_suggestion_metadata": "CREATE TABLE search_suggestion_metadata (_id INTEGER PRIMARY KEY,type INT,last_update LONG)", - "share_history": "CREATE TABLE share_history (reference_id TEXT NOT NULL,is_conversation INT NOT NULL,type INT NOT NULL,event_id BIGINT NOT NULL,tweet_id BIGINT,UNIQUE (reference_id,event_id) ON CONFLICT REPLACE)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)", - "status_groups": "CREATE TABLE status_groups (_id INTEGER PRIMARY KEY,tweet_type INT DEFAULT 0,type INT,sender_id INT,owner_id INT,ref_id INT,tag INT,g_status_id INT,is_read INT,page INT,is_last INT,updated_at INT,timeline INT,pc BLOB,g_flags INT,preview_draft_id INT,preview_media BLOB,tweet_pivots BLOB)", - "status_metadata": "CREATE TABLE status_metadata (_id INTEGER PRIMARY KEY,owner_id INT NOT NULL,status_id INT NOT NULL,status_group INT NOT NULL,status_group_tag INT NOT NULL,soc_type INT,soc_name TEXT,soc_second_name TEXT,soc_others_count INT,soc_fav_count INT,soc_rt_count INT,reason_icon_type TEXT,reason_text TEXT,scribe_component TEXT,scribe_data BLOB,highlights TEXT)", - "statuses": "CREATE TABLE statuses (_id INTEGER PRIMARY KEY,status_id INT UNIQUE NOT NULL,author_id INT,content TEXT,source TEXT,created INT,in_r_user_id INT,in_r_status_id INT,favorited INT,latitude TEXT,longitude TEXT,place_data BLOB,entities TEXT,retweet_count INT,r_content TEXT,cards BLOB,flags INT,favorite_count INT,lang TEXT,supplemental_language TEXT,view_count INT,quoted_tweet_data BLOB,quoted_tweet_id INT,retweeted INT)", - "stories": "CREATE TABLE stories ( _id INTEGER PRIMARY KEY,story_id TEXT,story_order INT,story_type INT,story_proof_type INT,story_proof_addl_count INT,data_type INT,data_id INT,story_is_read INT,story_meta_title TEXT,story_meta_subtitle TEXT,story_meta_query TEXT,story_meta_header_img_url TEXT,story_source TEXT,story_impression_info TEXT,story_tag INT)", - "timeline": "CREATE TABLE timeline (_id INTEGER PRIMARY KEY AUTOINCREMENT,owner_id INT,type INT,sort_index INT,entity_id INT,entity_type INT,data_type INT,data_type_group INT,data_type_tag INT,timeline_tag TEXT,timeline_group_id INT,timeline_scribe_group_id INT,data_id INT,data BLOB,flags INT,updated_at INT,data_origin_id TEXT,is_last INT,is_read INT,scribe_content BLOB,timeline_moment_info BLOB)", - "tokens": "CREATE TABLE tokens (_id INTEGER PRIMARY KEY,text TEXT,weight INT,type INT,ref_id INT)", - "topics": "CREATE TABLE topics (_id INTEGER PRIMARY KEY,ev_id TEXT UNIQUE NOT NULL,ev_type INT,ev_query TEXT NOT NULL,ev_seed_hashtag TEXT,ev_title STRING,ev_subtitle STRING,ev_view_url STRING,ev_status STRING,ev_image_url TEXT,ev_explanation TEXT,ev_tweet_count INT,ev_start_time INT,ev_owner_id INT,ev_pc BLOB,ev_content BLOB,ev_hash INT)", - "user_groups": "CREATE TABLE user_groups (_id INTEGER PRIMARY KEY,type INT,tag INT,rank INT,owner_id INT,user_id INT,is_last INT,pc BLOB,g_flags INT)", - "user_metadata": "CREATE TABLE user_metadata (_id INTEGER PRIMARY KEY,owner_id INT NOT NULL,user_id INT NOT NULL,user_group_type INT NOT NULL,user_group_tag INT NOT NULL,soc_type INT,soc_name TEXT,soc_follow_count INT,user_title TEXT,token TEXT)", - "users": "CREATE TABLE users (_id INTEGER PRIMARY KEY,user_id INT UNIQUE NOT NULL,username TEXT,name TEXT,description TEXT,web_url TEXT,bg_color INT,location TEXT,structured_location BLOB,user_flags INT,followers INT,fast_followers INT DEFAULT 0,friends INT,statuses INT,profile_created INT,image_url TEXT,hash INT,updated INT,friendship INT,friendship_time INT,favorites INT DEFAULT 0,header_url TEXT,description_entities BLOB,url_entities BLOB,media_count INT,extended_profile_fields BLOB,pinned_tweet_id INT,link_color INT,advertiser_type TEXT,business_profile_state TEXT)" - }, - "db-metadata-hashes": { - "activities": "303c17c219547a7bb76c4a71128fdb7d", - "ads_account_permissions": "77ee1b60fb2bb116325c928bafb412cc", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "business_profiles": "41e146ad98459f74453ff1c4287d3e58", - "card_state": "6322a3e781f2d9264aa4e467ca785a74", - "category_timestamp": "a8a390c36422bcb2f63d107d36987837", - "clusters": "8821b12d367ade0c97d1c807681b5aa7", - "conversation_entries": "50f11ccd0579aeda53f38904e78e0ddb", - "conversation_participants": "c421cbe1139b8392754e921f52e85048", - "conversations": "9fde65ab6299575fdb37b0bc422f502e", - "cursors": "9b657052533890deecf647ab66426467", - "discover": "3ec4f0a46c0727d859e03c49577f3bb7", - "list_mapping": "c75177dbab227c8ae5e7b4d11f4322e3", - "locations": "c6e8a5aa07c0543610444061bbd49937", - "moments": "90c680a8c2e707724a7e661bde608deb", - "moments_guide": "d5c233876273e87f5bf60a9f49cfd0d7", - "moments_guide_categories": "34fef7e3d70b061e15b7efc25869da40", - "moments_guide_user_states": "a967332f54d3e7e75456bc66844bba81", - "moments_pages": "48437b1cde43eca6f6113a0333438888", - "moments_sections": "1f4726eab8ec9189d71f190afdf61bd0", - "moments_visit_badge": "3bb14149a773fe7b070f859f9bb91621", - "news": "b09f88b3f43154d2ca18008051377366", - "notifications": "979de9ef3d6e62cfef7f2419c8ea5da6", - "one_click": "dcaf248ac4f2699b023b381bbe61545e", - "order_history": "61215a6364756841bf16b952679cdc05", - "promoted_retry": "8124f58a95e54f46e27bd5a1eb363cf6", - "prompts": "132838240f9b360364b1f4903044ab61", - "rankings": "eac5d51b3d0eb791d84f02c4d99d3f97", - "scribe": "7f1e068560e0187f605c42bf9b733e61", - "search_queries": "32af69b2bd8de612cd0dc9393b4e3125", - "search_results": "aa7c460450c970534ac334864389fd5c", - "search_suggestion_metadata": "836227512bf361329b3a8e95a0b7d52d", - "share_history": "17c8a878b0b99cbea5a7ae41c65b0555", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2", - "status_groups": "ee1f29f07849214cabbc6a4b48f1af10", - "status_metadata": "d236fad4191e5ba1418872dc78f7db72", - "statuses": "bf0465c97b7600454d418c61de68f8f6", - "stories": "a52fafbf4871f1e38529a538fcba88e4", - "timeline": "065711d082a075ed964e1a2dcd474ea4", - "tokens": "4b8e99285639efadda863e2026e60493", - "topics": "dd0636ab41d06b4e1cf4cd6dd848e339", - "user_groups": "838ccd38acf503cda66539b85d08feaa", - "user_metadata": "fe3f1c13421a99c71ac642668d987b9d", - "users": "447059096b4e8821c2e333d2da3e197a" - }, - "db-metadata-md5": "526c8c6060b53919fa74e5827e2b8f99", - "tables": { - "activities": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "created_at": { - "datatype": "INT" - }, - "event": { - "datatype": "INT" - }, - "hash": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "magic_rec_id": { - "datatype": "INT" - }, - "max_position": { - "datatype": "INT", - "unique": true - }, - "min_position": { - "datatype": "INT" - }, - "source_type": { - "datatype": "INT" - }, - "sources": { - "datatype": "BLOB" - }, - "sources_size": { - "datatype": "INT" - }, - "tag": { - "datatype": "INT" - }, - "target_object_type": { - "datatype": "INT" - }, - "target_objects": { - "datatype": "BLOB" - }, - "target_objects_size": { - "datatype": "INT" - }, - "target_type": { - "datatype": "INT" - }, - "targets": { - "datatype": "BLOB" - }, - "targets_size": { - "datatype": "INT" - }, - "type": { - "datatype": "INT", - "unique": true - } - }, - "ads_account_permissions": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "last_synced": { - "datatype": "INT", - "notnull": true - }, - "promotable_users": { - "datatype": "BLOB" - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "business_profiles": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "business_profile": { - "datatype": "BLOB" - }, - "last_synced": { - "datatype": "INT", - "notnull": true - }, - "user_id": { - "datatype": "INT" - } - }, - "card_state": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "card_id": { - "datatype": "INT" - }, - "card_state": { - "datatype": "BLOB" - }, - "card_status_id": { - "datatype": "INT" - } - }, - "category_timestamp": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "cat_status_id": { - "datatype": "INT", - "notnull": true - }, - "cat_tag": { - "datatype": "INT", - "notnull": true - }, - "cat_timestamp": { - "datatype": "INT", - "notnull": true - } - }, - "clusters": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "cl_cluster_id": { - "datatype": "TEXT" - }, - "cl_content": { - "datatype": "BLOB" - }, - "cl_size": { - "datatype": "INT" - }, - "cl_subtitle": { - "datatype": "TEXT" - }, - "cl_timestamp": { - "datatype": "INT" - }, - "cl_title": { - "datatype": "TEXT" - }, - "cl_type": { - "datatype": "INT" - } - }, - "conversation_entries": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "conversation_id": { - "datatype": "TEXT" - }, - "created": { - "datatype": "INT" - }, - "data": { - "datatype": "BLOB" - }, - "entry_id": { - "datatype": "INT" - }, - "entry_type": { - "datatype": "INT" - }, - "request_id": { - "datatype": "TEXT" - }, - "sort_entry_id": { - "datatype": "INT" - }, - "user_id": { - "datatype": "INT" - } - }, - "conversation_participants": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "conversation_id": { - "datatype": "TEXT", - "notnull": true - }, - "join_time": { - "datatype": "INT", - "notnull": true - }, - "participant_type": { - "datatype": "INT", - "notnull": true - }, - "user_id": { - "datatype": "TEXT", - "notnull": true - } - }, - "conversations": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "avatar_url": { - "datatype": "TEXT" - }, - "conversation_id": { - "datatype": "TEXT" - }, - "has_more": { - "datatype": "INT" - }, - "is_hidden": { - "datatype": "INT" - }, - "is_muted": { - "datatype": "INT" - }, - "last_read_event_id": { - "datatype": "BIGINT" - }, - "last_readable_event_id": { - "datatype": "BIGINT" - }, - "min_event_id": { - "datatype": "BIGINT" - }, - "read_only": { - "datatype": "INT" - }, - "sort_event_id": { - "datatype": "BIGINT" - }, - "sort_timestamp": { - "datatype": "BIGINT" - }, - "title": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - } - }, - "cursors": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "kind": { - "datatype": "INT" - }, - "next": { - "datatype": "TEXT" - }, - "owner_id": { - "datatype": "INT" - }, - "ref_id": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - } - }, - "discover": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "identifier": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "page": { - "datatype": "INT" - }, - "scribe_content": { - "datatype": "BLOB" - }, - "type": { - "datatype": "INT" - }, - "unread": { - "datatype": "INT", - "default": "0" - } - }, - "list_mapping": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "list_is_last": { - "datatype": "INT" - }, - "list_mapping_list_id": { - "datatype": "TEXT" - }, - "list_mapping_type": { - "datatype": "INT" - }, - "list_mapping_user_id": { - "datatype": "INT" - } - }, - "locations": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "country": { - "datatype": "TEXT" - }, - "country_code": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT" - }, - "woeid": { - "datatype": "INT" - } - }, - "moments": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "author_info": { - "datatype": "BLOB" - }, - "can_subscribe": { - "datatype": "INT" - }, - "description": { - "datatype": "TEXT", - "notnull": true - }, - "duration_string": { - "datatype": "TEXT" - }, - "is_live": { - "datatype": "INT" - }, - "is_sensitive": { - "datatype": "INT" - }, - "is_subscribed": { - "datatype": "INT" - }, - "moment_url": { - "datatype": "TEXT" - }, - "num_subscribers": { - "datatype": "INT" - }, - "promoted_content": { - "datatype": "BLOB" - }, - "subcategory_favicon_url": { - "datatype": "TEXT" - }, - "subcategory_string": { - "datatype": "TEXT" - }, - "time_string": { - "datatype": "TEXT" - }, - "title": { - "datatype": "TEXT", - "notnull": true - } - }, - "moments_guide": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "crop_data": { - "datatype": "BLOB" - }, - "media_id": { - "datatype": "INT" - }, - "media_size": { - "datatype": "BLOB" - }, - "media_url": { - "datatype": "TEXT" - }, - "moment_id": { - "datatype": "INT", - "notnull": true - }, - "section_id": { - "datatype": "INT", - "notnull": true - }, - "tweet_id": { - "datatype": "INT", - "notnull": true - } - }, - "moments_guide_categories": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "category_id": { - "datatype": "TEXT", - "notnull": true - }, - "category_name": { - "datatype": "TEXT", - "notnull": true - }, - "fetch_timestamp": { - "datatype": "INT", - "notnull": true - }, - "is_default_category": { - "datatype": "INT", - "notnull": true - } - }, - "moments_guide_user_states": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "is_read": { - "datatype": "INT" - }, - "is_updated": { - "datatype": "INT" - }, - "moment_id": { - "datatype": "INT", - "notnull": true - } - }, - "moments_pages": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "crop_data": { - "datatype": "BLOB" - }, - "display_mode": { - "datatype": "BLOB" - }, - "last_read_timestamp": { - "datatype": "INT" - }, - "media_id": { - "datatype": "INT" - }, - "media_size": { - "datatype": "BLOB" - }, - "media_url": { - "datatype": "TEXT" - }, - "moment_id": { - "datatype": "INT", - "notnull": true - }, - "page_id": { - "datatype": "TEXT" - }, - "page_number": { - "datatype": "INT" - }, - "theme_data": { - "datatype": "BLOB" - }, - "tweet_id": { - "datatype": "INT" - }, - "type": { - "datatype": "BLOB" - } - }, - "moments_sections": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "section_group_id": { - "datatype": "TEXT" - }, - "section_group_type": { - "datatype": "INT", - "notnull": true - }, - "section_title": { - "datatype": "TEXT" - }, - "section_type": { - "datatype": "BLOB", - "notnull": true - } - }, - "moments_visit_badge": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "is_new_since_visit": { - "datatype": "INT" - }, - "is_updated_since_visit": { - "datatype": "INT" - }, - "moment_id": { - "datatype": "INT" - } - }, - "news": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "article_description": { - "datatype": "TEXT" - }, - "article_url": { - "datatype": "TEXT" - }, - "author_name": { - "datatype": "TEXT" - }, - "country": { - "datatype": "TEXT" - }, - "image_url": { - "datatype": "TEXT" - }, - "language": { - "datatype": "TEXT" - }, - "news_id": { - "datatype": "TEXT" - }, - "news_id_hash": { - "datatype": "INT" - }, - "start_time": { - "datatype": "INT" - }, - "title": { - "datatype": "TEXT" - }, - "topic_id": { - "datatype": "INT" - }, - "tweet_count": { - "datatype": "INT" - } - }, - "notifications": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "aggregation_data": { - "datatype": "TEXT" - }, - "notif_extra_data": { - "datatype": "BLOB" - }, - "notif_id": { - "datatype": "INT" - }, - "notif_txt": { - "datatype": "TEXT" - }, - "s_id": { - "datatype": "INT" - }, - "s_name": { - "datatype": "TEXT" - }, - "source_user_name": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - } - }, - "one_click": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "filter_follow": { - "datatype": "INT" - }, - "filter_location": { - "datatype": "TEXT" - }, - "filter_name": { - "datatype": "TEXT" - }, - "topic": { - "datatype": "TEXT" - } - }, - "order_history": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "data": { - "datatype": "BLOB" - }, - "order_id": { - "datatype": "INT" - }, - "ordered_at": { - "datatype": "INT" - } - }, - "promoted_retry": { - "card_event": { - "datatype": "TEXT" - }, - "event": { - "datatype": "INT", - "notnull": true, - "primarykey": true - }, - "impression_id": { - "datatype": "TEXT", - "primarykey": true - }, - "is_earned": { - "datatype": "INT", - "notnull": true, - "primarykey": true - }, - "num_retries": { - "datatype": "INT", - "notnull": true - }, - "trend_id": { - "datatype": "INT", - "primarykey": true - }, - "url": { - "datatype": "TEXT" - }, - "video_content_type": { - "datatype": "TEXT" - }, - "video_content_uuid": { - "datatype": "TEXT" - }, - "video_cta_app_id": { - "datatype": "TEXT" - }, - "video_cta_app_name": { - "datatype": "TEXT" - }, - "video_cta_url": { - "datatype": "TEXT" - }, - "video_playlist_url": { - "datatype": "TEXT" - } - }, - "prompts": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "p_action_text": { - "datatype": "TEXT" - }, - "p_action_url": { - "datatype": "TEXT" - }, - "p_background_image_url": { - "datatype": "TEXT" - }, - "p_entities": { - "datatype": "BLOB" - }, - "p_format": { - "datatype": "TEXT" - }, - "p_header": { - "datatype": "TEXT" - }, - "p_header_entities": { - "datatype": "BLOB" - }, - "p_icon": { - "datatype": "TEXT" - }, - "p_id": { - "datatype": "INT" - }, - "p_insertion_index": { - "datatype": "INT" - }, - "p_persistence": { - "datatype": "TEXT" - }, - "p_status_id": { - "datatype": "LONG" - }, - "p_template": { - "datatype": "TEXT" - }, - "p_text": { - "datatype": "TEXT" - }, - "p_trigger": { - "datatype": "TEXT" - } - }, - "rankings": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "category": { - "datatype": "TEXT" - }, - "country": { - "datatype": "TEXT" - }, - "date": { - "datatype": "INT" - }, - "granularity": { - "datatype": "TEXT" - }, - "language": { - "datatype": "TEXT" - } - }, - "scribe": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "category": { - "datatype": "TEXT" - }, - "log": { - "datatype": "BLOB" - }, - "log_type": { - "datatype": "TEXT" - }, - "request_id": { - "datatype": "TEXT" - }, - "retry_count": { - "datatype": "INT", - "default": "0" - } - }, - "search_queries": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "cluster_titles": { - "datatype": "BLOB" - }, - "latitude": { - "datatype": "REAL" - }, - "location": { - "datatype": "TEXT" - }, - "longitude": { - "datatype": "REAL" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "pc": { - "datatype": "BLOB" - }, - "query": { - "datatype": "TEXT", - "notnull": true - }, - "query_id": { - "datatype": "INT" - }, - "radius": { - "datatype": "REAL" - }, - "time": { - "datatype": "INT" - }, - "type": { - "datatype": "INT" - } - }, - "search_results": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "cluster_id": { - "datatype": "INT" - }, - "data_id": { - "datatype": "INT" - }, - "data_type": { - "datatype": "INT" - }, - "polled": { - "datatype": "INT" - }, - "related_data": { - "datatype": "BLOB" - }, - "s_type": { - "datatype": "INT" - }, - "search_id": { - "datatype": "INT" - }, - "type_id": { - "datatype": "INT" - } - }, - "search_suggestion_metadata": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "last_update": { - "datatype": "LONG" - }, - "type": { - "datatype": "INT" - } - }, - "share_history": { - "event_id": { - "datatype": "BIGINT", - "notnull": true, - "unique": true - }, - "is_conversation": { - "datatype": "INT", - "notnull": true - }, - "reference_id": { - "datatype": "TEXT", - "notnull": true, - "unique": true - }, - "tweet_id": { - "datatype": "BIGINT" - }, - "type": { - "datatype": "INT", - "notnull": true - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - }, - "status_groups": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "g_flags": { - "datatype": "INT" - }, - "g_status_id": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "is_read": { - "datatype": "INT" - }, - "owner_id": { - "datatype": "INT" - }, - "page": { - "datatype": "INT" - }, - "pc": { - "datatype": "BLOB" - }, - "preview_draft_id": { - "datatype": "INT" - }, - "preview_media": { - "datatype": "BLOB" - }, - "ref_id": { - "datatype": "INT" - }, - "sender_id": { - "datatype": "INT" - }, - "tag": { - "datatype": "INT" - }, - "timeline": { - "datatype": "INT" - }, - "tweet_pivots": { - "datatype": "BLOB" - }, - "tweet_type": { - "datatype": "INT", - "default": "0" - }, - "type": { - "datatype": "INT" - }, - "updated_at": { - "datatype": "INT" - } - }, - "status_metadata": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "highlights": { - "datatype": "TEXT" - }, - "owner_id": { - "datatype": "INT", - "notnull": true - }, - "reason_icon_type": { - "datatype": "TEXT" - }, - "reason_text": { - "datatype": "TEXT" - }, - "scribe_component": { - "datatype": "TEXT" - }, - "scribe_data": { - "datatype": "BLOB" - }, - "soc_fav_count": { - "datatype": "INT" - }, - "soc_name": { - "datatype": "TEXT" - }, - "soc_others_count": { - "datatype": "INT" - }, - "soc_rt_count": { - "datatype": "INT" - }, - "soc_second_name": { - "datatype": "TEXT" - }, - "soc_type": { - "datatype": "INT" - }, - "status_group": { - "datatype": "INT", - "notnull": true - }, - "status_group_tag": { - "datatype": "INT", - "notnull": true - }, - "status_id": { - "datatype": "INT", - "notnull": true - } - }, - "statuses": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "author_id": { - "datatype": "INT" - }, - "cards": { - "datatype": "BLOB" - }, - "content": { - "datatype": "TEXT" - }, - "created": { - "datatype": "INT" - }, - "entities": { - "datatype": "TEXT" - }, - "favorite_count": { - "datatype": "INT" - }, - "favorited": { - "datatype": "INT" - }, - "flags": { - "datatype": "INT" - }, - "in_r_status_id": { - "datatype": "INT" - }, - "in_r_user_id": { - "datatype": "INT" - }, - "lang": { - "datatype": "TEXT" - }, - "latitude": { - "datatype": "TEXT" - }, - "longitude": { - "datatype": "TEXT" - }, - "place_data": { - "datatype": "BLOB" - }, - "quoted_tweet_data": { - "datatype": "BLOB" - }, - "quoted_tweet_id": { - "datatype": "INT" - }, - "r_content": { - "datatype": "TEXT" - }, - "retweet_count": { - "datatype": "INT" - }, - "retweeted": { - "datatype": "INT" - }, - "source": { - "datatype": "TEXT" - }, - "status_id": { - "datatype": "INT" - }, - "supplemental_language": { - "datatype": "TEXT" - }, - "view_count": { - "datatype": "INT" - } - }, - "stories": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "data_id": { - "datatype": "INT" - }, - "data_type": { - "datatype": "INT" - }, - "story_id": { - "datatype": "TEXT" - }, - "story_impression_info": { - "datatype": "TEXT" - }, - "story_is_read": { - "datatype": "INT" - }, - "story_meta_header_img_url": { - "datatype": "TEXT" - }, - "story_meta_query": { - "datatype": "TEXT" - }, - "story_meta_subtitle": { - "datatype": "TEXT" - }, - "story_meta_title": { - "datatype": "TEXT" - }, - "story_order": { - "datatype": "INT" - }, - "story_proof_addl_count": { - "datatype": "INT" - }, - "story_proof_type": { - "datatype": "INT" - }, - "story_source": { - "datatype": "TEXT" - }, - "story_tag": { - "datatype": "INT" - }, - "story_type": { - "datatype": "INT" - } - }, - "timeline": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data": { - "datatype": "BLOB" - }, - "data_id": { - "datatype": "INT" - }, - "data_origin_id": { - "datatype": "TEXT" - }, - "data_type": { - "datatype": "INT" - }, - "data_type_group": { - "datatype": "INT" - }, - "data_type_tag": { - "datatype": "INT" - }, - "entity_id": { - "datatype": "INT" - }, - "entity_type": { - "datatype": "INT" - }, - "flags": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "is_read": { - "datatype": "INT" - }, - "owner_id": { - "datatype": "INT" - }, - "scribe_content": { - "datatype": "BLOB" - }, - "sort_index": { - "datatype": "INT" - }, - "timeline_group_id": { - "datatype": "INT" - }, - "timeline_moment_info": { - "datatype": "BLOB" - }, - "timeline_scribe_group_id": { - "datatype": "INT" - }, - "timeline_tag": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - }, - "updated_at": { - "datatype": "INT" - } - }, - "tokens": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "ref_id": { - "datatype": "INT" - }, - "text": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INT" - }, - "weight": { - "datatype": "INT" - } - }, - "topics": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "ev_content": { - "datatype": "BLOB" - }, - "ev_explanation": { - "datatype": "TEXT" - }, - "ev_hash": { - "datatype": "INT" - }, - "ev_id": { - "datatype": "TEXT" - }, - "ev_image_url": { - "datatype": "TEXT" - }, - "ev_owner_id": { - "datatype": "INT" - }, - "ev_pc": { - "datatype": "BLOB" - }, - "ev_query": { - "datatype": "TEXT", - "notnull": true - }, - "ev_seed_hashtag": { - "datatype": "TEXT" - }, - "ev_start_time": { - "datatype": "INT" - }, - "ev_status": { - "datatype": "STRING" - }, - "ev_subtitle": { - "datatype": "STRING" - }, - "ev_title": { - "datatype": "STRING" - }, - "ev_tweet_count": { - "datatype": "INT" - }, - "ev_type": { - "datatype": "INT" - }, - "ev_view_url": { - "datatype": "STRING" - } - }, - "user_groups": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "g_flags": { - "datatype": "INT" - }, - "is_last": { - "datatype": "INT" - }, - "owner_id": { - "datatype": "INT" - }, - "pc": { - "datatype": "BLOB" - }, - "rank": { - "datatype": "INT" - }, - "tag": { - "datatype": "INT" - }, - "type": { - "datatype": "INT" - }, - "user_id": { - "datatype": "INT" - } - }, - "user_metadata": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "owner_id": { - "datatype": "INT", - "notnull": true - }, - "soc_follow_count": { - "datatype": "INT" - }, - "soc_name": { - "datatype": "TEXT" - }, - "soc_type": { - "datatype": "INT" - }, - "token": { - "datatype": "TEXT" - }, - "user_group_tag": { - "datatype": "INT", - "notnull": true - }, - "user_group_type": { - "datatype": "INT", - "notnull": true - }, - "user_id": { - "datatype": "INT", - "notnull": true - }, - "user_title": { - "datatype": "TEXT" - } - }, - "users": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "advertiser_type": { - "datatype": "TEXT" - }, - "bg_color": { - "datatype": "INT" - }, - "business_profile_state": { - "datatype": "TEXT" - }, - "description": { - "datatype": "TEXT" - }, - "description_entities": { - "datatype": "BLOB" - }, - "extended_profile_fields": { - "datatype": "BLOB" - }, - "fast_followers": { - "datatype": "INT", - "default": "0" - }, - "favorites": { - "datatype": "INT", - "default": "0" - }, - "followers": { - "datatype": "INT" - }, - "friends": { - "datatype": "INT" - }, - "friendship": { - "datatype": "INT" - }, - "friendship_time": { - "datatype": "INT" - }, - "hash": { - "datatype": "INT" - }, - "header_url": { - "datatype": "TEXT" - }, - "image_url": { - "datatype": "TEXT" - }, - "link_color": { - "datatype": "INT" - }, - "location": { - "datatype": "TEXT" - }, - "media_count": { - "datatype": "INT" - }, - "name": { - "datatype": "TEXT" - }, - "pinned_tweet_id": { - "datatype": "INT" - }, - "profile_created": { - "datatype": "INT" - }, - "statuses": { - "datatype": "INT" - }, - "structured_location": { - "datatype": "BLOB" - }, - "updated": { - "datatype": "INT" - }, - "url_entities": { - "datatype": "BLOB" - }, - "user_flags": { - "datatype": "INT" - }, - "user_id": { - "datatype": "INT" - }, - "username": { - "datatype": "TEXT" - }, - "web_url": { - "datatype": "TEXT" - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data/com.viber.voip__viber_messages__dbfp.json b/tests/fp_data/com.viber.voip__viber_messages__dbfp.json new file mode 100644 index 0000000..5bd8640 --- /dev/null +++ b/tests/fp_data/com.viber.voip__viber_messages__dbfp.json @@ -0,0 +1,782 @@ +{ + "_file-metadata": { + "app-name": "com.viber.voip", + "app-ver": "", + "dn-name": "com.viber.voip/databases/viber_messages", + "format-ver": "0.91", + "notes": "", + "scan-date": "2016-01-08_110349", + "scanner-name": "dbfp", + "scanner-ver": "0.95" + }, + "db-metadata": { + "adx": "CREATE TABLE adx ( _id INTEGER PRIMARY KEY NOT NULL, event_name TEXT, last_tracked INTEGER NOT NULL )", + "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", + "applications": "CREATE TABLE applications ( _id INTEGER PRIMARY KEY NOT NULL, app_name TEXT, type TEXT, app_package_name TEXT, flags INTEGER DEFAULT 0, last_modified INTEGER DEFAULT (1000*strftime('%s','now')) )", + "backgrounds": "CREATE TABLE backgrounds (_id INTEGER PRIMARY KEY NOT NULL, background_index INTEGER DEFAULT 0, background_id INTEGER DEFAULT 0, flags INTEGER DEFAULT 0)", + "blocked_data": "CREATE TABLE blocked_data (_id INTEGER PRIMARY KEY AUTOINCREMENT, type INTEGER, data_1 TEXT, data_2 TEXT, data_3 TEXT DEFAULT NULL, seq INTEGER, status INTEGER DEFAULT 0, UNIQUE (data_1) ON CONFLICT REPLACE)", + "conversations": "CREATE TABLE conversations (_id INTEGER PRIMARY KEY autoincrement,conversation_type INTEGER DEFAULT 0,group_id INTEGER DEFAULT 0,application_id INTEGER DEFAULT 0,recipient_number TEXT,share_location INTEGER DEFAULT 0,message_draft TEXT,unread_message_count INTEGER DEFAULT 0,unread_calls_count INTEGER DEFAULT 0,media_msg_count INTEGER DEFAULT 0,deleted INTEGER DEFAULT 0,delete_token LONG DEFAULT 0,name TEXT,group_role INTEGER DEFAULT 1,icon_id TEXT,background_landscape TEXT, background_portrait TEXT, smart_notification INTEGER,smart_event_date INTEGER DEFAULT 0, mute_notification INTEGER, flags INTEGER DEFAULT 0,date LONG DEFAULT 0,last_message_id LONG DEFAULT 0,read_notification_token LONG DEFAULT 0,participant_id_1 LONG DEFAULT 0,participant_id_2 LONG DEFAULT 0,participant_id_3 LONG DEFAULT 0,participant_id_4 LONG DEFAULT 0,creator_participant_id LONG DEFAULT 0)", + "group_conversations_extras": "CREATE TABLE group_conversations_extras (_id INTEGER PRIMARY KEY autoincrement,group_id INTEGER DEFAULT 0,group_uri TEXT,background_id TEXT,location_lat INTEGER DEFAULT 0,location_lng INTEGER DEFAULT 0,country TEXT,location_address TEXT,revision INTEGER DEFAULT 0,watchers_count INTEGER DEFAULT 0,watchers_count_ref INTEGER DEFAULT 0,watchers_count_ref_date LONG DEFAULT 0,tag_line TEXT, tags TEXT, local_message_id INTEGER DEFAULT 0, server_message_id INTEGER DEFAULT 0, verified INTEGER,inviter TEXT, last_media_type TEXT, last_msg_text TEXT, sender_phone TEXT, last_read_message_id INTEGER DEFAULT 0, group_enter_count INTEGER DEFAULT 0, pg_extra_flags INTEGER DEFAULT 0)", + "kvdata": "CREATE TABLE kvdata (_id INTEGER PRIMARY KEY autoincrement,object_id LONG DEFAULT 0,key TEXT,value TEXT,value_type INTEGER DEFAULT 0,UNIQUE(object_id, key) ON CONFLICT REPLACE)", + "messages": "CREATE TABLE messages (_id INTEGER PRIMARY KEY autoincrement,address TEXT NOT NULL,date INTEGER NOT NULL,read INTEGER DEFAULT 0,opened INTEGER DEFAULT 0,status INTEGER DEFAULT 0,type INTEGER NOT NULL,body TEXT,sync_read INTEGER DEFAULT 0,flag INTEGER DEFAULT 0,token LONG, order_key LONG, location_lat LONG,location_lng LONG,extra_uri TEXT,extra_mime TEXT,extra_status INTEGER,seq INTEGER,message_global_id INTEGER,extra_upload_id LONG,extra_download_id TEXT,extra_bucket_name TEXT,extra_duration LONG,description TEXT ,msg_info TEXT ,deleted INTEGER DEFAULT 0,count INTEGER DEFAULT 1,group_id INTEGER DEFAULT 0,conversation_id INTEGER DEFAULT 0,conversation_type INTEGER DEFAULT 0,participant_id INTEGER DEFAULT 0, extra_flags INTEGER DEFAULT 0, date_real INTEGER NOT NULL,likes_count INTEGER DEFAULT 0,spans TEXT)", + "messages_calls": "CREATE TABLE messages_calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,conversation_id INTEGER NOT NULL,message_id INTEGER NOT NULL,canonized_number TEXT NOT NULL,viber_call_type INTEGER DEFAULT 1, date LONG NOT NULL,duration LONG NOT NULL,type INT NOT NULL,end_reason INT DEFAULT 0,start_reason INT DEFAULT 0,token LONG DEFAULT 0)", + "messages_likes": "CREATE TABLE messages_likes (_id INTEGER PRIMARY KEY AUTOINCREMENT,message_token LONG NOT NULL,like_token LONG DEFAULT 0,seq INTEGER DEFAULT 0,participant_number TEXT NOT NULL,date LONG DEFAULT 0,read INTEGER DEFAULT 0,sync_read INTEGER DEFAULT 0,status INTEGER DEFAULT 0)", + "participants": "CREATE TABLE participants (_id INTEGER PRIMARY KEY autoincrement,conversation_id INTEGER DEFAULT 0,participant_info_id INTEGER DEFAULT 0,last_message_id INTEGER DEFAULT 0,active INTEGER DEFAULT TRUE, group_role INTEGER DEFAULT 1 )", + "participants_info": "CREATE TABLE participants_info (_id INTEGER PRIMARY KEY autoincrement,number TEXT,encrypted_number TEXT,display_name TEXT,contact_name TEXT,contact_id INTEGER DEFAULT 0,native_contact_id INTEGER DEFAULT 0,viber_name TEXT,viber_image TEXT,location_lat LONG DEFAULT 0,location_lng LONG DEFAULT 0,location_date LONG DEFAULT 0,participant_type INTEGER DEFAULT 1, has_contact_name INTEGER DEFAULT 0, native_photo_id LONG DEFAULT 0, has_photo INTEGER DEFAULT 0, sync_date INTEGER DEFAULT 0 )", + "purchase": "CREATE TABLE purchase ( order_id TEXT PRIMARY KEY NOT NULL, category INTEGER, type TEXT, package_name TEXT, product_id TEXT, purchase_time LONG DEFAULT 0, purchase_state INTEGER DEFAULT 0, dev_payload TEXT, token TEXT, json TEXT, signature TEXT,verified INTEGER DEFAULT 0, consumed INTEGER DEFAULT 0, pending INTEGER DEFAULT 0)", + "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)", + "stickers": "CREATE TABLE stickers ( _id INTEGER PRIMARY KEY NOT NULL, package_id INTEGER DEFAULT 0, generic_col_pos INTEGER DEFAULT 0, generic_row_pos INTEGER DEFAULT 0, column_span INTEGER DEFAULT 0, row_span INTEGER DEFAULT 0, flags INTEGER DEFAULT 0 )", + "stickers_packages": "CREATE TABLE stickers_packages ( _id INTEGER PRIMARY KEY NOT NULL, package_name TEXT, flags INTEGER DEFAULT 0, thumb_axis_shrink_factor FLOAT DEFAULT 0, visibility INTEGER DEFAULT 0, menu_position INTEGER DEFAULT 0, version FLOAT DEFAULT 1.0)" + }, + "db-metadata-hashes": { + "adx": "aab1125fd46b84e543d2da6cda67eb44", + "android_metadata": "ba739eb03730e563915f2f76b26ced51", + "applications": "0651960496a7ea2ec62a703a9ceeaa38", + "backgrounds": "301c994b8469d403eb2b56f1eaf3c0ab", + "blocked_data": "326689b3fbacd42e22b73b4b308f98df", + "conversations": "4a809ef13fa79ffef6bc715650bba9d4", + "group_conversations_extras": "f930e23c4f770736757f5381b5682fac", + "kvdata": "839f8211650f3273814b5a1a4af58f49", + "messages": "183a5034f06fe09600b00cb2081a6eaa", + "messages_calls": "482bef395e76dbff21991b079ce785f4", + "messages_likes": "a748d1fc1750add16eebf23f06c11345", + "participants": "ad08c9b89dbeefce73587a510408cece", + "participants_info": "6e12a7afe73aeb45cc67e95c2ef678c4", + "purchase": "f027c710c661e4cd5b813af6fb9017c1", + "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2", + "stickers": "23df16b8e627fb62b45caf431d130b45", + "stickers_packages": "36f863f03838cb4dd1c2c98c30afde16" + }, + "db-metadata-md5": "2c32c000dfe232d9ec62b1fa8156c294", + "tables": { + "adx": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "event_name": { + "datatype": "TEXT" + }, + "last_tracked": { + "datatype": "INTEGER", + "notnull": true + } + }, + "android_metadata": { + "locale": { + "datatype": "TEXT" + } + }, + "applications": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "app_name": { + "datatype": "TEXT" + }, + "app_package_name": { + "datatype": "TEXT" + }, + "flags": { + "datatype": "INTEGER", + "default": "0" + }, + "last_modified": { + "datatype": "INTEGER" + }, + "type": { + "datatype": "TEXT" + } + }, + "backgrounds": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "background_id": { + "datatype": "INTEGER", + "default": "0" + }, + "background_index": { + "datatype": "INTEGER", + "default": "0" + }, + "flags": { + "datatype": "INTEGER", + "default": "0" + } + }, + "blocked_data": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "data_1": { + "datatype": "TEXT", + "unique": true + }, + "data_2": { + "datatype": "TEXT" + }, + "data_3": { + "datatype": "TEXT", + "default": "NULL" + }, + "seq": { + "datatype": "INTEGER" + }, + "status": { + "datatype": "INTEGER", + "default": "0" + }, + "type": { + "datatype": "INTEGER" + } + }, + "conversations": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "application_id": { + "datatype": "INTEGER", + "default": "0" + }, + "background_landscape": { + "datatype": "TEXT" + }, + "background_portrait": { + "datatype": "TEXT" + }, + "conversation_type": { + "datatype": "INTEGER", + "default": "0" + }, + "creator_participant_id": { + "datatype": "LONG", + "default": "0" + }, + "date": { + "datatype": "LONG", + "default": "0" + }, + "delete_token": { + "datatype": "LONG", + "default": "0" + }, + "deleted": { + "datatype": "INTEGER", + "default": "0" + }, + "flags": { + "datatype": "INTEGER", + "default": "0" + }, + "group_id": { + "datatype": "INTEGER", + "default": "0" + }, + "group_role": { + "datatype": "INTEGER", + "default": "1" + }, + "icon_id": { + "datatype": "TEXT" + }, + "last_message_id": { + "datatype": "LONG", + "default": "0" + }, + "media_msg_count": { + "datatype": "INTEGER", + "default": "0" + }, + "message_draft": { + "datatype": "TEXT" + }, + "mute_notification": { + "datatype": "INTEGER" + }, + "name": { + "datatype": "TEXT" + }, + "participant_id_1": { + "datatype": "LONG", + "default": "0" + }, + "participant_id_2": { + "datatype": "LONG", + "default": "0" + }, + "participant_id_3": { + "datatype": "LONG", + "default": "0" + }, + "participant_id_4": { + "datatype": "LONG", + "default": "0" + }, + "read_notification_token": { + "datatype": "LONG", + "default": "0" + }, + "recipient_number": { + "datatype": "TEXT" + }, + "share_location": { + "datatype": "INTEGER", + "default": "0" + }, + "smart_event_date": { + "datatype": "INTEGER", + "default": "0" + }, + "smart_notification": { + "datatype": "INTEGER" + }, + "unread_calls_count": { + "datatype": "INTEGER", + "default": "0" + }, + "unread_message_count": { + "datatype": "INTEGER", + "default": "0" + } + }, + "group_conversations_extras": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "background_id": { + "datatype": "TEXT" + }, + "country": { + "datatype": "TEXT" + }, + "group_enter_count": { + "datatype": "INTEGER", + "default": "0" + }, + "group_id": { + "datatype": "INTEGER", + "default": "0" + }, + "group_uri": { + "datatype": "TEXT" + }, + "inviter": { + "datatype": "TEXT" + }, + "last_media_type": { + "datatype": "TEXT" + }, + "last_msg_text": { + "datatype": "TEXT" + }, + "last_read_message_id": { + "datatype": "INTEGER", + "default": "0" + }, + "local_message_id": { + "datatype": "INTEGER", + "default": "0" + }, + "location_address": { + "datatype": "TEXT" + }, + "location_lat": { + "datatype": "INTEGER", + "default": "0" + }, + "location_lng": { + "datatype": "INTEGER", + "default": "0" + }, + "pg_extra_flags": { + "datatype": "INTEGER", + "default": "0" + }, + "revision": { + "datatype": "INTEGER", + "default": "0" + }, + "sender_phone": { + "datatype": "TEXT" + }, + "server_message_id": { + "datatype": "INTEGER", + "default": "0" + }, + "tag_line": { + "datatype": "TEXT" + }, + "tags": { + "datatype": "TEXT" + }, + "verified": { + "datatype": "INTEGER" + }, + "watchers_count": { + "datatype": "INTEGER", + "default": "0" + }, + "watchers_count_ref": { + "datatype": "INTEGER", + "default": "0" + }, + "watchers_count_ref_date": { + "datatype": "LONG", + "default": "0" + } + }, + "kvdata": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "key": { + "datatype": "TEXT", + "unique": true + }, + "object_id": { + "datatype": "LONG", + "default": "0", + "unique": true + }, + "value": { + "datatype": "TEXT" + }, + "value_type": { + "datatype": "INTEGER", + "default": "0" + } + }, + "messages": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "address": { + "datatype": "TEXT", + "notnull": true + }, + "body": { + "datatype": "TEXT" + }, + "conversation_id": { + "datatype": "INTEGER", + "default": "0" + }, + "conversation_type": { + "datatype": "INTEGER", + "default": "0" + }, + "count": { + "datatype": "INTEGER", + "default": "1" + }, + "date": { + "datatype": "INTEGER", + "notnull": true + }, + "date_real": { + "datatype": "INTEGER", + "notnull": true + }, + "deleted": { + "datatype": "INTEGER", + "default": "0" + }, + "description": { + "datatype": "TEXT" + }, + "extra_bucket_name": { + "datatype": "TEXT" + }, + "extra_download_id": { + "datatype": "TEXT" + }, + "extra_duration": { + "datatype": "LONG" + }, + "extra_flags": { + "datatype": "INTEGER", + "default": "0" + }, + "extra_mime": { + "datatype": "TEXT" + }, + "extra_status": { + "datatype": "INTEGER" + }, + "extra_upload_id": { + "datatype": "LONG" + }, + "extra_uri": { + "datatype": "TEXT" + }, + "flag": { + "datatype": "INTEGER", + "default": "0" + }, + "group_id": { + "datatype": "INTEGER", + "default": "0" + }, + "likes_count": { + "datatype": "INTEGER", + "default": "0" + }, + "location_lat": { + "datatype": "LONG" + }, + "location_lng": { + "datatype": "LONG" + }, + "message_global_id": { + "datatype": "INTEGER" + }, + "msg_info": { + "datatype": "TEXT" + }, + "opened": { + "datatype": "INTEGER", + "default": "0" + }, + "order_key": { + "datatype": "LONG" + }, + "participant_id": { + "datatype": "INTEGER", + "default": "0" + }, + "read": { + "datatype": "INTEGER", + "default": "0" + }, + "seq": { + "datatype": "INTEGER" + }, + "spans": { + "datatype": "TEXT" + }, + "status": { + "datatype": "INTEGER", + "default": "0" + }, + "sync_read": { + "datatype": "INTEGER", + "default": "0" + }, + "token": { + "datatype": "LONG" + }, + "type": { + "datatype": "INTEGER", + "notnull": true + } + }, + "messages_calls": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "canonized_number": { + "datatype": "TEXT", + "notnull": true + }, + "conversation_id": { + "datatype": "INTEGER", + "notnull": true + }, + "date": { + "datatype": "LONG", + "notnull": true + }, + "duration": { + "datatype": "LONG", + "notnull": true + }, + "end_reason": { + "datatype": "INT", + "default": "0" + }, + "message_id": { + "datatype": "INTEGER", + "notnull": true + }, + "start_reason": { + "datatype": "INT", + "default": "0" + }, + "token": { + "datatype": "LONG", + "default": "0" + }, + "type": { + "datatype": "INT", + "notnull": true + }, + "viber_call_type": { + "datatype": "INTEGER", + "default": "1" + } + }, + "messages_likes": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "date": { + "datatype": "LONG", + "default": "0" + }, + "like_token": { + "datatype": "LONG", + "default": "0" + }, + "message_token": { + "datatype": "LONG", + "notnull": true + }, + "participant_number": { + "datatype": "TEXT", + "notnull": true + }, + "read": { + "datatype": "INTEGER", + "default": "0" + }, + "seq": { + "datatype": "INTEGER", + "default": "0" + }, + "status": { + "datatype": "INTEGER", + "default": "0" + }, + "sync_read": { + "datatype": "INTEGER", + "default": "0" + } + }, + "participants": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "active": { + "datatype": "INTEGER", + "default": "TRUE" + }, + "conversation_id": { + "datatype": "INTEGER", + "default": "0" + }, + "group_role": { + "datatype": "INTEGER", + "default": "1" + }, + "last_message_id": { + "datatype": "INTEGER", + "default": "0" + }, + "participant_info_id": { + "datatype": "INTEGER", + "default": "0" + } + }, + "participants_info": { + "_id": { + "autoincrement": true, + "datatype": "INTEGER", + "primarykey": true + }, + "contact_id": { + "datatype": "INTEGER", + "default": "0" + }, + "contact_name": { + "datatype": "TEXT" + }, + "display_name": { + "datatype": "TEXT" + }, + "encrypted_number": { + "datatype": "TEXT" + }, + "has_contact_name": { + "datatype": "INTEGER", + "default": "0" + }, + "has_photo": { + "datatype": "INTEGER", + "default": "0" + }, + "location_date": { + "datatype": "LONG", + "default": "0" + }, + "location_lat": { + "datatype": "LONG", + "default": "0" + }, + "location_lng": { + "datatype": "LONG", + "default": "0" + }, + "native_contact_id": { + "datatype": "INTEGER", + "default": "0" + }, + "native_photo_id": { + "datatype": "LONG", + "default": "0" + }, + "number": { + "datatype": "TEXT" + }, + "participant_type": { + "datatype": "INTEGER", + "default": "1" + }, + "sync_date": { + "datatype": "INTEGER", + "default": "0" + }, + "viber_image": { + "datatype": "TEXT" + }, + "viber_name": { + "datatype": "TEXT" + } + }, + "purchase": { + "category": { + "datatype": "INTEGER" + }, + "consumed": { + "datatype": "INTEGER", + "default": "0" + }, + "dev_payload": { + "datatype": "TEXT" + }, + "json": { + "datatype": "TEXT" + }, + "order_id": { + "datatype": "TEXT", + "primarykey": true + }, + "package_name": { + "datatype": "TEXT" + }, + "pending": { + "datatype": "INTEGER", + "default": "0" + }, + "product_id": { + "datatype": "TEXT" + }, + "purchase_state": { + "datatype": "INTEGER", + "default": "0" + }, + "purchase_time": { + "datatype": "LONG", + "default": "0" + }, + "signature": { + "datatype": "TEXT" + }, + "token": { + "datatype": "TEXT" + }, + "type": { + "datatype": "TEXT" + }, + "verified": { + "datatype": "INTEGER", + "default": "0" + } + }, + "sqlite_sequence": { + "name": { + "datatype": "INTEGER" + }, + "seq": { + "datatype": "INTEGER" + } + }, + "stickers": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "column_span": { + "datatype": "INTEGER", + "default": "0" + }, + "flags": { + "datatype": "INTEGER", + "default": "0" + }, + "generic_col_pos": { + "datatype": "INTEGER", + "default": "0" + }, + "generic_row_pos": { + "datatype": "INTEGER", + "default": "0" + }, + "package_id": { + "datatype": "INTEGER", + "default": "0" + }, + "row_span": { + "datatype": "INTEGER", + "default": "0" + } + }, + "stickers_packages": { + "_id": { + "datatype": "INTEGER", + "primarykey": true + }, + "flags": { + "datatype": "INTEGER", + "default": "0" + }, + "menu_position": { + "datatype": "INTEGER", + "default": "0" + }, + "package_name": { + "datatype": "TEXT" + }, + "thumb_axis_shrink_factor": { + "datatype": "FLOAT", + "default": "0" + }, + "version": { + "datatype": "FLOAT", + "default": "1" + }, + "visibility": { + "datatype": "INTEGER", + "default": "0" + } + } + } +} \ No newline at end of file diff --git a/tests/fp_data/tv.periscope.android__com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite__dbfp.json b/tests/fp_data/tv.periscope.android__com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite__dbfp.json index 8684678..0c3a164 100644 --- a/tests/fp_data/tv.periscope.android__com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite__dbfp.json +++ b/tests/fp_data/tv.periscope.android__com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite__dbfp.json @@ -5,39 +5,21 @@ "dn-name": "com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite", "format-ver": "0.91", "notes": "", - "scan-date": "2015-12-10_192853", + "scan-date": "2016-01-08_110349", "scanner-name": "dbfp", - "scanner-ver": "0.90" + "scanner-ver": "0.95" }, "db-metadata": { "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", "changes": "CREATE TABLE changes (_id INTEGER PRIMARY KEY AUTOINCREMENT, scope TEXT NOT NULL, change TEXT NOT NULL, customer_id TEXT NOT NULL)", - "custom_dimensions": "CREATE TABLE custom_dimensions (custom_dimension_key TEXT PRIMARY KEY, custom_dimension_value TEXT NOT NULL)", - "events": "CREATE TABLE events (_id INTEGER PRIMARY KEY AUTOINCREMENT, blob TEXT NOT NULL, upload_format INTEGER NOT NULL)", - "identifiers": "CREATE TABLE identifiers (key TEXT PRIMARY KEY, value TEXT NOT NULL)", - "info": "CREATE TABLE info (_id INTEGER PRIMARY KEY AUTOINCREMENT, api_key TEXT UNIQUE NOT NULL, uuid TEXT UNIQUE NOT NULL, created_time INTEGER NOT NULL CHECK (created_time >= 0), opt_out INTEGER NOT NULL CHECK(opt_out IN (0, 1)), push_disabled INTEGER NOT NULL CHECK(push_disabled IN (0, 1)), sender_id TEXT, registration_id TEXT, registration_version TEXT, customer_id TEXT, user_type TEXT, fb_attribution TEXT, play_attribution TEXT, first_android_id TEXT, first_advertising_id TEXT, package_name TEXT, app_version TEXT, current_session_uuid TEXT, last_session_open_time INTEGER CHECK (last_session_open_time >= 0), last_session_close_time INTEGER CHECK (last_session_close_time >= 0), next_session_number INTEGER NOT NULL CHECK (next_session_number >= 0), next_header_number INTEGER NOT NULL CHECK (next_header_number >= 0), queued_close_session_blob TEXT, queued_close_session_blob_upload_format INTEGER, first_open_event_blob TEXT)", - "marketing_condition_values": "CREATE TABLE marketing_condition_values (_id INTEGER PRIMARY KEY AUTOINCREMENT, value TEXT NOT NULL, condition_id_ref INTEGER REFERENCES marketing_conditions(_id) NOT NULL)", - "marketing_conditions": "CREATE TABLE marketing_conditions (_id INTEGER PRIMARY KEY AUTOINCREMENT, attribute_name TEXT NOT NULL, operator TEXT NOT NULL, rule_id_ref INTEGER REFERENCES marketing_rules(_id) NOT NULL)", - "marketing_displayed": "CREATE TABLE marketing_displayed (campaign_id INTEGER PRIMARY KEY)", - "marketing_ruleevent": "CREATE TABLE marketing_ruleevent (_id INTEGER PRIMARY KEY AUTOINCREMENT, event_name TEXT NOT NULL, rule_id_ref INTEGER REFERENCES marketing_rules(_id) NOT NULL)", - "marketing_rules": "CREATE TABLE marketing_rules (_id INTEGER PRIMARY KEY AUTOINCREMENT, campaign_id INTEGER NOT NULL, expiration INTEGER NOT NULL, display_seconds INTEGER, display_session INTEGER, version TEXT NOT NULL, phone_location TEXT NOT NULL, phone_size_width INTEGER NOT NULL, phone_size_height INTEGER NOT NULL, tablet_location TEXT NOT NULL, tablet_size_width INTEGER NOT NULL, tablet_size_height INTEGER NOT NULL, time_to_display INTEGER, internet_required INTEGER NOT NULL, ab_test TEXT, rule_name TEXT UNIQUE NOT NULL, location TEXT NOT NULL, devices TEXT NOT NULL, rule_name_non_unique TEXT)", "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" }, "db-metadata-hashes": { "android_metadata": "ba739eb03730e563915f2f76b26ced51", "changes": "622d589d10fb633aeba8bc2a1411dfe5", - "custom_dimensions": "d661f16cd6b94695eb06190c12e6f070", - "events": "fe7f6ea84bf8ea1cb59f60528fcc71bf", - "identifiers": "2f1cd3ec169f81f477aed964866cb033", - "info": "f06a8e20243c3517e732e1996d81cbee", - "marketing_condition_values": "2aa49e6195c3d4f0a3346cac9dae6cd8", - "marketing_conditions": "433b737da03ddb1dbc5900729e9848b5", - "marketing_displayed": "bb588a3e91d8a6d8b7a602289723d403", - "marketing_ruleevent": "8d27531bc1968246f6a0cf822c3bd980", - "marketing_rules": "0f0965f5677afc5c31bff7e71dcab317", "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" }, - "db-metadata-md5": "b6afb87fe25b289135b5a858a379bc99", + "db-metadata-md5": "9f6f647eb65b9e64899eb991c21d23b9", "tables": { "android_metadata": { "locale": { @@ -63,259 +45,6 @@ "notnull": true } }, - "custom_dimensions": { - "custom_dimension_key": { - "datatype": "TEXT", - "primarykey": true - }, - "custom_dimension_value": { - "datatype": "TEXT", - "notnull": true - } - }, - "events": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "blob": { - "datatype": "TEXT", - "notnull": true - }, - "upload_format": { - "datatype": "INTEGER", - "notnull": true - } - }, - "identifiers": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "TEXT", - "notnull": true - } - }, - "info": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "api_key": { - "datatype": "TEXT" - }, - "app_version": { - "datatype": "TEXT" - }, - "created_time": { - "datatype": "INTEGER", - "notnull": true - }, - "current_session_uuid": { - "datatype": "TEXT" - }, - "customer_id": { - "datatype": "TEXT" - }, - "fb_attribution": { - "datatype": "TEXT" - }, - "first_advertising_id": { - "datatype": "TEXT" - }, - "first_android_id": { - "datatype": "TEXT" - }, - "first_open_event_blob": { - "datatype": "TEXT" - }, - "last_session_close_time": { - "datatype": "INTEGER" - }, - "last_session_open_time": { - "datatype": "INTEGER" - }, - "next_header_number": { - "datatype": "INTEGER", - "notnull": true - }, - "next_session_number": { - "datatype": "INTEGER", - "notnull": true - }, - "opt_out": { - "datatype": "INTEGER", - "notnull": true - }, - "package_name": { - "datatype": "TEXT" - }, - "play_attribution": { - "datatype": "TEXT" - }, - "push_disabled": { - "datatype": "INTEGER", - "notnull": true - }, - "queued_close_session_blob": { - "datatype": "TEXT" - }, - "queued_close_session_blob_upload_format": { - "datatype": "INTEGER" - }, - "registration_id": { - "datatype": "TEXT" - }, - "registration_version": { - "datatype": "TEXT" - }, - "sender_id": { - "datatype": "TEXT" - }, - "user_type": { - "datatype": "TEXT" - }, - "uuid": { - "datatype": "TEXT" - } - }, - "marketing_condition_values": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "condition_id_ref": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "marketing_conditions(_id)" - }, - "value": { - "datatype": "TEXT", - "notnull": true - } - }, - "marketing_conditions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "attribute_name": { - "datatype": "TEXT", - "notnull": true - }, - "operator": { - "datatype": "TEXT", - "notnull": true - }, - "rule_id_ref": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "marketing_rules(_id)" - } - }, - "marketing_displayed": { - "campaign_id": { - "datatype": "INTEGER", - "primarykey": true - } - }, - "marketing_ruleevent": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "event_name": { - "datatype": "TEXT", - "notnull": true - }, - "rule_id_ref": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "marketing_rules(_id)" - } - }, - "marketing_rules": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "ab_test": { - "datatype": "TEXT" - }, - "campaign_id": { - "datatype": "INTEGER", - "notnull": true - }, - "devices": { - "datatype": "TEXT", - "notnull": true - }, - "display_seconds": { - "datatype": "INTEGER" - }, - "display_session": { - "datatype": "INTEGER" - }, - "expiration": { - "datatype": "INTEGER", - "notnull": true - }, - "internet_required": { - "datatype": "INTEGER", - "notnull": true - }, - "location": { - "datatype": "TEXT", - "notnull": true - }, - "phone_location": { - "datatype": "TEXT", - "notnull": true - }, - "phone_size_height": { - "datatype": "INTEGER", - "notnull": true - }, - "phone_size_width": { - "datatype": "INTEGER", - "notnull": true - }, - "rule_name": { - "datatype": "TEXT" - }, - "rule_name_non_unique": { - "datatype": "TEXT" - }, - "tablet_location": { - "datatype": "TEXT", - "notnull": true - }, - "tablet_size_height": { - "datatype": "INTEGER", - "notnull": true - }, - "tablet_size_width": { - "datatype": "INTEGER", - "notnull": true - }, - "time_to_display": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "TEXT", - "notnull": true - } - }, "sqlite_sequence": { "name": { "datatype": "INTEGER" diff --git a/tests/fp_data_mod/com.google.android.gms__fitness.db.username_gmail.com__dbfp.json b/tests/fp_data_mod/com.google.android.gms__fitness.db.username_gmail.com__dbfp.json deleted file mode 100644 index 1cf49b3..0000000 --- a/tests/fp_data_mod/com.google.android.gms__fitness.db.username_gmail.com__dbfp.json +++ /dev/null @@ -1,2046 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.google.android.gms", - "app-ver": "", - "dn-name": "fitness.db.username_gmail.com", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "Account143": "CREATE TABLE \"Account143\" (\"Account_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountHolderName\" TEXT NOT NULL, \"forceFullSync\" INTEGER NOT NULL DEFAULT 1, \"lastSyncTime\" INTEGER NOT NULL DEFAULT 0, \"folderSyncClipTime\" INTEGER, \"documentSyncClipTime\" INTEGER, \"lastSyncChangeStamp\" INTEGER NOT NULL DEFAULT 0, \"lastSyncSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"minimumChangeSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"maxUploadSize\" INTEGER NOT NULL DEFAULT 5242880000000, \"forceFullSyncLevel\" INTEGER NOT NULL DEFAULT 0)", - "AndroidApp143": "CREATE TABLE \"AndroidApp143\" (\"AndroidApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"driveAppId\" INTEGER NOT NULL, \"packageName\" TEXT NOT NULL, \"certificateHash\" TEXT NOT NULL, \"networkTypePreference\" INTEGER NOT NULL DEFAULT 1, \"batteryUsagePreference\" INTEGER NOT NULL DEFAULT 256, \"roamingAllowed\" INTEGER NOT NULL DEFAULT 1, FOREIGN KEY(\"driveAppId\") REFERENCES \"DriveApp143\"(\"DriveApp_id\") ON DELETE CASCADE)", - "Applications": "CREATE TABLE Applications(_id INTEGER PRIMARY KEY AUTOINCREMENT, package TEXT NOT NULL, version TEXT, details_url TEXT, name TEXT, console_ids TEXT)", - "BleCharacteristics": "CREATE TABLE BleCharacteristics (_id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL, properties INTEGER, permissions INTEGER, device_id INTEGER, FOREIGN KEY(device_id) REFERENCES BleDevices(_id) ON DELETE CASCADE)", - "BleDevices": "CREATE TABLE BleDevices (_id INTEGER PRIMARY KEY AUTOINCREMENT, type TEXT, name TEXT, address NOT NULL, device_name TEXT, model_number TEXT, manufacturer TEXT, hardware_revision TEXT, firmware_revision TEXT, software_revision TEXT)", - "ChangeLog": "CREATE TABLE ChangeLog (_id INTEGER PRIMARY KEY AUTOINCREMENT, timestamp INTEGER NOT NULL, is_delete INTEGER NOT NULL, source_table TEXT NOT NULL, content BLOB NOT NULL, sync_tries INTEGER DEFAULT 0, last_sync_ms INTEGER DEFAULT 0)", - "ContentFileDeletionLock143": "CREATE TABLE \"ContentFileDeletionLock143\" (\"filename\" TEXT PRIMARY KEY NOT NULL)", - "CustomProperty143": "CREATE TABLE \"CustomProperty143\" (\"CustomProperty_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"projectNumber\" INTEGER, \"name\" TEXT NOT NULL, \"value\" TEXT, \"genoaValue\" TEXT, \"actionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "DataPointRows": "CREATE TABLE DataPointRows (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER REFERENCES DataSources(_id), start_time INTEGER NOT NULL, end_time INTEGER NOT NULL, data_point BLOB NOT NULL)", - "DataSourceTypes": "CREATE TABLE DataSourceTypes (data_source_id INTEGER REFERENCES DataSources(_id), data_type_id INTEGER REFERENCES DataTypes(_id))", - "DataSources": "CREATE TABLE DataSources (_id INTEGER PRIMARY KEY AUTOINCREMENT, type INTEGER, identifier TEXT, version TEXT, source_name TEXT, stream_name TEXT, device_id INTEGER REFERENCES Devices(_id), application_id INTEGER REFERENCES Applications(_id))", - "DataTypeFields": "CREATE TABLE DataTypeFields (_id INTEGER PRIMARY KEY AUTOINCREMENT, field_name TEXT NOT NULL, format INTEGER NOT NULL, data_type_id INTEGER NOT NULL REFERENCES DataTypes(_id))", - "DataTypes": "CREATE TABLE DataTypes (_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL)", - "Devices": "CREATE TABLE Devices (_id INTEGER PRIMARY KEY AUTOINCREMENT, make TEXT NOT NULL, model TEXT NOT NULL, version TEXT NOT NULL, type INTEGER, uid TEXT, platform_type INTEGER)", - "DriveApp143": "CREATE TABLE \"DriveApp143\" (\"DriveApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"projectNumber\" INTEGER NOT NULL, \"expiryTimestamp\" INTEGER NOT NULL, \"appDataRootEntryId\" INTEGER, \"isAppDataRootPlaceholder\" INTEGER, \"scopes\" TEXT NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE, FOREIGN KEY(\"appDataRootEntryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE SET NULL)", - "DriveIdMapping143": "CREATE TABLE \"DriveIdMapping143\" (\"DriveIdMapping_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"resourceId\" TEXT, \"accountId\" INTEGER NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "Entry143": "CREATE TABLE \"Entry143\" (\"entryId\" INTEGER PRIMARY KEY AUTOINCREMENT, \"title\" TEXT NOT NULL, \"creationDate\" INTEGER NOT NULL, \"lastModifiedDate\" INTEGER NOT NULL, \"lastViewedByMeDate\" INTEGER, \"sharedWithMeDate\" INTEGER, \"shared\" INTEGER NOT NULL DEFAULT 0, \"modifiedByMeDate\" INTEGER, \"mimeType\" TEXT NOT NULL, \"canEdit\" INTEGER NOT NULL, \"starred\" INTEGER NOT NULL, \"trashed\" INTEGER NOT NULL DEFAULT 0, \"pinned\" INTEGER NOT NULL DEFAULT 0, \"sequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"lastSyncSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"isDownloadable\" INTEGER NOT NULL, \"md5Checksum\" TEXT, \"localContentHash\" TEXT, \"ownerProjectNumber\" INTEGER, \"alternateLink\" TEXT, \"ownerNames\" TEXT, \"description\" TEXT, \"isCopyable\" INTEGER, \"embedLink\" TEXT, \"fileExtension\" TEXT, \"fileSize\" INTEGER DEFAULT 0, \"isViewed\" INTEGER, \"isRestricted\" INTEGER, \"originalFilename\" TEXT, \"quotaBytesUsed\" INTEGER DEFAULT 0, \"webContentLink\" TEXT, \"webViewLink\" TEXT, \"hasThumbnail\" INTEGER, \"userRole\" TEXT, \"isDeleted\" INTEGER NOT NULL DEFAULT 0, \"isDeletedActionId\" INTEGER, \"customPropertiesCount\" INTEGER NOT NULL DEFAULT 0, \"headRevisionId\" TEXT, \"uniqueIdentifier\" TEXT, \"singletonCreatorProjectNumber\" INTEGER, \"uniqueIdentifierVersion\" TEXT, \"lastModifyingUser\" INTEGER, \"sharingUser\" INTEGER, \"writersCanShare\" INTEGER NOT NULL DEFAULT 0, \"hasGenoaValues\" INTEGER NOT NULL DEFAULT 0, \"version\" INTEGER NOT NULL DEFAULT 0, \"deletedOnServerTime\" INTEGER, \"subscribed\" INTEGER NOT NULL DEFAULT 1, \"unsubscribedOnServerTime\" INTEGER, \"inDriveSpace\" INTEGER NOT NULL DEFAULT 0, \"inGooglePhotosSpace\" INTEGER NOT NULL DEFAULT 0, \"isGooglePhotos\" INTEGER NOT NULL DEFAULT 0, \"isGooglePhotosRootFolder\" INTEGER NOT NULL DEFAULT 0, \"folderColorRgb\" TEXT, \"permissionVersion\" INTEGER NOT NULL DEFAULT 0, \"inSyncContentHash\" TEXT, \"inSyncRevisionId\" TEXT, \"lastContentActionId\" INTEGER, \"genoaFileSize\" INTEGER, \"recency\" INTEGER, \"recencyReason\" TEXT, FOREIGN KEY(\"entryId\") REFERENCES \"DriveIdMapping143\"(\"DriveIdMapping_id\") ON DELETE CASCADE, FOREIGN KEY(\"localContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE SET NULL, FOREIGN KEY(\"lastModifyingUser\") REFERENCES \"UserPermissions143\"(\"UserPermissions_id\") ON DELETE CASCADE, FOREIGN KEY(\"sharingUser\") REFERENCES \"UserPermissions143\"(\"UserPermissions_id\") ON DELETE CASCADE, FOREIGN KEY(\"inSyncContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE SET NULL)", - "EntryAuthorizedApp143": "CREATE TABLE \"EntryAuthorizedApp143\" (\"EntryAuthorizedApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"projectNumber\" INTEGER NOT NULL, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "EntryPermission143": "CREATE TABLE \"EntryPermission143\" (\"EntryPermission_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"permissionId\" TEXT, \"accountIdentifier\" TEXT, \"accountName\" TEXT, \"accountType\" INTEGER NOT NULL, \"photoLink\" TEXT, \"role\" INTEGER NOT NULL, \"genoaRoleValue\" INTEGER, \"genoaRoleActionId\" INTEGER, \"isLinkRequired\" INTEGER NOT NULL DEFAULT 0, \"genoaIsLinkRequiredValue\" INTEGER, \"genoaIsLinkRequiredActionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "FileContent143": "CREATE TABLE \"FileContent143\" (\"hash\" TEXT PRIMARY KEY NOT NULL, \"lastAccessed\" INTEGER NOT NULL, \"size\" INTEGER, \"internalFileName\" TEXT, \"sharedFileName\" TEXT, \"encryptionKey\" BLOB, \"encryptionAlgorithm\" TEXT)", - "GenoaValues143": "CREATE TABLE \"GenoaValues143\" (\"GenoaValues_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"trashedValue\" INTEGER, \"trashedActionId\" INTEGER, \"descriptionValue\" TEXT, \"descriptionActionId\" INTEGER, \"lastViewedByMeDateValue\" INTEGER, \"lastViewedByMeDateActionId\" INTEGER, \"mimeTypeValue\" TEXT, \"mimeTypeActionId\" INTEGER, \"starredValue\" INTEGER, \"starredActionId\" INTEGER, \"titleValue\" TEXT, \"titleActionId\" INTEGER, \"viewedValue\" INTEGER, \"viewedActionId\" INTEGER, \"userRoleValue\" TEXT, \"userRoleActionId\" INTEGER, \"inDriveSpaceValue\" INTEGER, \"inDriveSpaceActionId\" INTEGER, \"canEditValue\" INTEGER, \"canEditActionId\" INTEGER, \"sharedValue\" INTEGER, \"sharedActionId\" INTEGER, \"quotaBytesUsedValue\" INTEGER, \"quotaBytesUsedActionId\" INTEGER, \"sharedWithMeTimeValue\" INTEGER, \"sharedWithMeTimeActionId\" INTEGER, \"ownerNamesValue\" TEXT, \"ownerNamesActionId\" INTEGER, \"writersCanShareValue\" INTEGER, \"writersCanShareActionId\" INTEGER, \"lastModifiedTimeValue\" INTEGER, \"lastModifiedTimeActionId\" INTEGER, \"modifiedByMeTimeValue\" INTEGER, \"modifiedByMeTimeActionId\" INTEGER, \"creationTimeValue\" INTEGER, \"creationTimeActionId\" INTEGER, \"folderColorRgbValue\" TEXT, \"folderColorRgbActionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "ParentMapping143": "CREATE TABLE \"ParentMapping143\" (\"ParentMapping_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"parentEntryId\" INTEGER NOT NULL, \"childEntryId\" INTEGER NOT NULL, FOREIGN KEY(\"parentEntryId\") REFERENCES \"DriveIdMapping143\"(\"DriveIdMapping_id\") ON DELETE CASCADE, FOREIGN KEY(\"childEntryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "PartialFeed143": "CREATE TABLE \"PartialFeed143\" (\"PartialFeed_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"feedType\" TEXT NOT NULL DEFAULT 'query', \"feedParameters\" TEXT NOT NULL, \"nextPageToken\" TEXT, \"clipTime\" INTEGER DEFAULT 9223372036854775807, \"numPagesRetrieved\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingAction143": "CREATE TABLE \"PendingAction143\" (\"PendingAction_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"payload\" TEXT NOT NULL, \"attemptCount\" INTEGER NOT NULL, \"requiredEntryId\" INTEGER, \"applyLocallyTimestamp\" INTEGER, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingCleanupAction143": "CREATE TABLE \"PendingCleanupAction143\" (\"PendingCleanupAction_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"actionType\" TEXT NOT NULL, \"actionId\" INTEGER NOT NULL, \"applyOnServerTime\" INTEGER NOT NULL, \"accountId\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingThumbnailUpload143": "CREATE TABLE \"PendingThumbnailUpload143\" (\"PendingThumbnailUpload_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"actionId\" INTEGER NOT NULL, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"actionId\") REFERENCES \"PendingAction143\"(\"PendingAction_id\") ON DELETE CASCADE)", - "PendingUpload143": "CREATE TABLE \"PendingUpload143\" (\"PendingUpload_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"uploadUri\" TEXT, \"baseContentHash\" TEXT, \"actionId\" INTEGER, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"baseContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"actionId\") REFERENCES \"PendingAction143\"(\"PendingAction_id\") ON DELETE CASCADE)", - "PersistedEvent143": "CREATE TABLE \"PersistedEvent143\" (\"PersistedEvent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"androidAppId\" INTEGER NOT NULL, \"serializedEvent\" TEXT NOT NULL, \"nextNotificationTime\" INTEGER NOT NULL DEFAULT 0, \"attemptCount\" INTEGER NOT NULL, \"snoozeCount\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"androidAppId\") REFERENCES \"AndroidApp143\"(\"AndroidApp_id\") ON DELETE CASCADE)", - "PersistedEventContent143": "CREATE TABLE \"PersistedEventContent143\" (\"PersistedEventContent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"persistedEventId\" INTEGER NOT NULL, \"contentHash\" TEXT NOT NULL, FOREIGN KEY(\"persistedEventId\") REFERENCES \"PersistedEvent143\"(\"PersistedEvent_id\") ON DELETE CASCADE, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE)", - "RealtimeDocumentContent143": "CREATE TABLE \"RealtimeDocumentContent143\" (\"RealtimeDocumentContent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"resourceId\" TEXT, \"localId\" TEXT, \"driveAppId\" INTEGER, \"lastAccessed\" INTEGER NOT NULL, \"size\" INTEGER, \"databasePath\" TEXT, \"hasPendingChanges\" INTEGER, \"requiresSync\" INTEGER, \"historyLength\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"driveAppId\") REFERENCES \"DriveApp143\"(\"DriveApp_id\") ON DELETE CASCADE)", - "Sessions": "CREATE TABLE Sessions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, start_time INTEGER NOT NULL, end_time INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL, identifier TEXT, description TEXT, activity INTEGER NOT NULL, active_time_millis INTEGER)", - "Subscription143": "CREATE TABLE \"Subscription143\" (\"Subscription_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"eventType\" INTEGER NOT NULL, \"packageName\" TEXT, \"eventService\" TEXT, \"signingCertificateHash\" TEXT, \"lastUpdateTime\" INTEGER NOT NULL DEFAULT 0, \"androidAppId\" INTEGER NOT NULL DEFAULT -1, \"serializedSubscriptionDetails\" TEXT, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"androidAppId\") REFERENCES \"AndroidApp143\"(\"AndroidApp_id\") ON DELETE CASCADE)", - "Subscriptions": "CREATE TABLE Subscriptions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, data_source_id INTEGER REFERENCES DataSources (_id), data_type_id INTEGER REFERENCES DataTypes (_id), sampling_delay INTEGER NOT NULL, accuracy_mode INTEGER NOT NULL, timestamp INTEGER NOT NULL, realm INTEGER NOT NULL)", - "SyncFeed143": "CREATE TABLE \"SyncFeed143\" (\"SyncFeed_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"space\" TEXT NOT NULL, \"query\" TEXT, \"appProjectNumber\" INTEGER, \"nextPageToken\" TEXT, \"clipTime\" INTEGER, \"numPagesRetrieved\" INTEGER NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "SyncStatus": "CREATE TABLE SyncStatus (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER UNIQUE NOT NULL REFERENCES DataSources(_id), sync_token TEXT, is_remote INTEGER NOT NULL DEFAULT 0, last_synced_time INTEGER, min_local_timestamp INTEGER DEFAULT -1)", - "Thumbnail143": "CREATE TABLE \"Thumbnail143\" (\"Thumbnail_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"version\" INTEGER NOT NULL, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "UserPermissions143": "CREATE TABLE \"UserPermissions143\" (\"UserPermissions_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"permissionsId\" TEXT NOT NULL, \"displayName\" TEXT, \"emailAddress\" TEXT, \"pictureUrl\" TEXT, \"isAuthenticatedUser\" INTEGER NOT NULL DEFAULT 0)", - "accounts": "CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT UNIQUE NOT NULL)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "app_states": "CREATE TABLE app_states (_id INTEGER PRIMARY KEY AUTOINCREMENT,app_id TEXT NOT NULL,client_context_id INTEGER REFERENCES client_contexts(_id) NOT NULL,key INTEGER NOT NULL,local_version TEXT,local_data BLOB,conflict_version TEXT,conflict_data BLOB,data_dirty INTEGER NOT NULL DEFAULT 0,upsync_required INTEGER NOT NULL DEFAULT 0)", - "client_contexts": "CREATE TABLE client_contexts (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_name TEXT NOT NULL,package_uid INTEGER NOT NULL,account_name TEXT NOT NULL)", - "connectionConfigurations": "CREATE TABLE connectionConfigurations (_id INTEGER PRIMARY KEY AUTOINCREMENT,androidId STRING,name STRING NOT NULL,pairedBtAddress STRING NOT NULL,connectionType INTEGER NOT NULL,role INTEGER NOT NULL,connectionEnabled INTEGER NOT NULL, UNIQUE(name) ON CONFLICT REPLACE)", - "context": "CREATE TABLE context (_id INTEGER PRIMARY KEY,context_id TEXT UNIQUE NOT NULL,context_name INTEGER,module_id TEXT NOT NULL,time_type INTEGER,start_time INTEGER,end_time INTEGER,context_family INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,version INTEGER NOT NULL,sync_state INTEGER NOT NULL,sync_state_mod_time_millis sync_state_mod_time_millis)", - "credential": "CREATE TABLE credential(id TEXT NOT NULL,account_id TEXT NOT NULL,data BLOB,PRIMARY KEY (account_id, id))", - "credential_affiliation": "CREATE TABLE credential_affiliation(account_id TEXT NOT NULL,credential_id TEXT NOT NULL,domain_url TEXT NOT NULL,PRIMARY KEY (account_id, credential_id, domain_url))", - "credential_app_setting": "CREATE TABLE credential_app_setting(account TEXT NOT NULL,app TEXT NOT NULL,key TEXT NOT NULL,value TEXT,PRIMARY KEY (account, app, key))", - "credential_setting": "CREATE TABLE credential_setting(account TEXT NOT NULL,key TEXT NOT NULL,value TEXT,PRIMARY KEY (account, key))", - "device_features": "CREATE TABLE device_features (_id INTEGER PRIMARY KEY AUTOINCREMENT,last_connection_timestamp INTEGER NOT NULL,feature_name TEXT NOT NULL)", - "downloads": "CREATE TABLE downloads (_id INTEGER PRIMARY KEY AUTOINCREMENT,filename TEXT NOT NULL UNIQUE,url TEXT NOT NULL,sizeBytes INTEGER NOT NULL,sha1 TEXT NOT NULL,destination TEXT,minVersion INTEGER,maxVersion INTEGER,notificationTitle TEXT,notificationDescription TEXT,enabled INTEGER DEFAULT 0,retries INTEGER DEFAULT 0,dm_id INTEGER)", - "experiment": "CREATE TABLE experiment (package TEXT, namespace TEXT , key TEXT, value BLOB, PRIMARY KEY (package, namespace, key))", - "feature": "CREATE TABLE feature (_id INTEGER PRIMARY KEY,type INTEGER NOT NULL,time_type INTEGER,start_time INTEGER,end_time INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,account_id TEXT)", - "fetch_metadata": "CREATE TABLE fetch_metadata (package TEXT, namespace_digest TEXT, recent_success_times TEXT, recent_failure_times TEXT, device_context_digest BLOB, app_context_digest BLOB, PRIMARY KEY (package))", - "internal_metadata": "CREATE TABLE internal_metadata (key TEXT, value BLOB, PRIMARY KEY (key))", - "main": "CREATE TABLE main (a TEXT NOT NULL, b LONG NOT NULL, c LONG NOT NULL, d TEXT NON NULL, e TEXT NON NULL,f BLOB NOT NULL)", - "operations": "CREATE TABLE operations (_id INTEGER PRIMARY KEY AUTOINCREMENT,op_code INTEGER NOT NULL,write_time_millis INTEGER NOT NULL,package_id INTEGER REFERENCES packages(_id),account_id INTEGER REFERENCES accounts(_id),client_id TEXT NOT NULL,expiration_time INTEGER,network_status INTEGER NOT NULL,network_last_update_millis INTEGER NOT NULL,deletable INTEGER NOT NULL,proto BLOB)", - "override": "CREATE TABLE override (package TEXT, namespace TEXT, key TEXT, value BLOB, PRIMARY KEY (package, namespace, key))", - "overrides": "CREATE TABLE overrides (package TEXT, key TEXT, value BLOB, PRIMARY KEY (package, key))", - "packages": "CREATE TABLE packages (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT UNIQUE NOT NULL)", - "relation": "CREATE TABLE relation (_id INTEGER PRIMARY KEY,relation_id TEXT UNIQUE NOT NULL,relation_name INTEGER,time_type INTEGER,start_time INTEGER,end_time INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,version INTEGER NOT NULL,sync_state INTEGER NOT NULL,sync_state_mod_time_millis INTEGER NOT NULL)", - "relation_from": "CREATE TABLE relation_from (relation_row_id INTEGER NOT NULL,context_id TEXT NOT NULL)", - "relation_to": "CREATE TABLE relation_to (relation_row_id INTEGER NOT NULL,context_id TEXT NOT NULL)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" - }, - "db-metadata-hashes": { - "Account143": "0000c8925235e313a92f2591f8d3c8b4", - "AndroidApp143": "1c1f5b6504fef44d9dc7f7cad3cefc24", - "Applications": "74ba46c998a452bc0eab7b3fc4465ce3", - "BleCharacteristics": "a947ef7298068efc3596f5a168a0f26c", - "BleDevices": "812f8b071a8fff6453491cad51599646", - "ChangeLog": "d367a9797bd366d83e4d48424bf38b48", - "ContentFileDeletionLock143": "b19e0c6048bd4ddb214e79267593331c", - "CustomProperty143": "2f1ac2c1d136185b248aee4f34fbcc48", - "DataPointRows": "b073bd25a51191881a83bd8eef36a6b7", - "DataSourceTypes": "fa031e7a8ae526b0337ca5a75100b2a9", - "DataSources": "3159a7fc6e1abd004a425a2c1f597184", - "DataTypeFields": "859905ffc96b14edb90988bcce2d79bf", - "DataTypes": "bcbcc52ce27332851b24f3d1b546465b", - "Devices": "26530038c1f8b0b66259387147194bcf", - "DriveApp143": "e56bc29f83571910d04df429ee98ec4d", - "DriveIdMapping143": "22383e11e7f9aa2eb9444ac7e12d1d6e", - "Entry143": "0bff7c52f912bc98975c9c044182a90d", - "EntryAuthorizedApp143": "1d6f7f39e83ba8ab479a329460b57dcb", - "EntryPermission143": "c77370f9300a7dac7c4964e2b8beefd3", - "FileContent143": "490d0863631c28ee29890d0b71be43ba", - "GenoaValues143": "edaef3765d79409a89a92b61a7835a04", - "ParentMapping143": "d20b75756a18580e4ecc2529c6924581", - "PartialFeed143": "332ac9127fee3f9f4f725c55f227b5d6", - "PendingAction143": "531be51d5221157c218c527f9c362a25", - "PendingCleanupAction143": "8b75e88a4ff018d54d8bab2e000ed3f4", - "PendingThumbnailUpload143": "28e49540cd9a6e84313f492ce7cbfd49", - "PendingUpload143": "bc9dfb2afc5c881ec2e9fff16b33a709", - "PersistedEvent143": "d226b646557b72e7c8ca1a301ca0d653", - "PersistedEventContent143": "eea4e453369e162f5d0fe38c09ac4d26", - "RealtimeDocumentContent143": "7f9c6014540d03dace85113668d5d5e2", - "Sessions": "ce99b3e7c27e18688309695ff43ed83e", - "Subscription143": "67ab61d745051b85e26ccdaaec93d7d7", - "Subscriptions": "d56cf36625565862ad10d27713828941", - "SyncFeed143": "eaedaf9ddfdca36c8b052be07a447d7c", - "SyncStatus": "a0e0a02b376eac6f50e3d3ba7bc8c1fb", - "Thumbnail143": "6461da595d2cf7558b6c69efe80a18ca", - "UserPermissions143": "facdec49e49be6c9e0666ff4c546e6d5", - "accounts": "628b2bc7af80a840c94ec1d472528edf", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "app_states": "a07d17f6016c1904183d33e1181994eb", - "client_contexts": "214b6222b52b25d5c65a7938d29d5c43", - "connectionConfigurations": "474cca0cbce4bc56cde84486493cb4c4", - "context": "b570b9b7cde71ce3008a6df0c6882205", - "credential": "ff1446387e16d08af6d10e9b7aee1d01", - "credential_affiliation": "383d3b94eb3d4deb28216a0a88cf798c", - "credential_app_setting": "586b3d990301e62d03c3cf0c460fe090", - "credential_setting": "1fa8123b312b54bb0fdaed71fa1db74f", - "device_features": "e87b36b9c24207e9c9f688969f763106", - "downloads": "67b9255bc5ada4b51029f379e897f289", - "experiment": "89709f2881041f3f2382663fa00610a3", - "feature": "1829660b11f6712a2957588c1da9d716", - "fetch_metadata": "fa749920613c7e4bd49ebbbfd1720bc6", - "internal_metadata": "b7b50cd354aac9d826b6a46a4cc1ecdb", - "main": "fe108abb5ff17b3d5cf87d8347058999", - "operations": "f2d70c426ac228401bcff6b2e36d824f", - "override": "58ff373730fec5f3b21d6b251f0e8f93", - "overrides": "1c7ce35ab1145781807ff1e79dddd4c1", - "packages": "0532e3e60b413ffbd134f4db52f3f8f2", - "relation": "79623bbd16cc0c97ad4eabd76393b09c", - "relation_from": "eb9f03627aaa22c71bb4a9d95d5f1b39", - "relation_to": "fb572352c0f5aa6b4287aedd62950160", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" - }, - "db-metadata-md5": "ec8c4665d5b98d2ee8b4bc56463e6ac6", - "tables": { - "Account143": { - "Account_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountHolderName": { - "datatype": "TEXT", - "notnull": true - }, - "documentSyncClipTime": { - "datatype": "INTEGER" - }, - "folderSyncClipTime": { - "datatype": "INTEGER" - }, - "forceFullSync": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "forceFullSyncLevel": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncChangeStamp": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "maxUploadSize": { - "datatype": "INTEGER", - "default": "5242880000000", - "notnull": true - }, - "minimumChangeSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "addedField1" : { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "addedField2" : { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "addedField3" : { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "AndroidApp143": { - "AndroidApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "batteryUsagePreference": { - "datatype": "INTEGER", - "default": "256", - "notnull": true - }, - "certificateHash": { - "datatype": "TEXT", - "notnull": true - }, - "driveAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "networkTypePreference": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "packageName": { - "datatype": "TEXT", - "notnull": true - }, - "roamingAllowed": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - } - }, - "Applications": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "console_ids": { - "datatype": "TEXT" - }, - "details_url": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT" - }, - "package": { - "datatype": "TEXT", - "notnull": true - }, - "version": { - "datatype": "TEXT" - } - }, - "BleCharacteristics": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "device_id": { - "datatype": "INTEGER" - }, - "permissions": { - "datatype": "INTEGER" - }, - "properties": { - "datatype": "INTEGER" - }, - "uuid": { - "datatype": "TEXT", - "notnull": true - } - }, - "BleDevices": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "address": { - "datatype": "NOT" - }, - "device_name": { - "datatype": "TEXT" - }, - "firmware_revision": { - "datatype": "TEXT" - }, - "hardware_revision": { - "datatype": "TEXT" - }, - "manufacturer": { - "datatype": "TEXT" - }, - "model_number": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT" - }, - "software_revision": { - "datatype": "TEXT" - }, - "type": { - "datatype": "TEXT" - } - }, - "ChangeLog": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "content": { - "datatype": "BLOB", - "notnull": true - }, - "is_delete": { - "datatype": "INTEGER", - "notnull": true - }, - "last_sync_ms": { - "datatype": "INTEGER", - "default": "0" - }, - "source_table": { - "datatype": "TEXT", - "notnull": true - }, - "sync_tries": { - "datatype": "INTEGER", - "default": "0" - }, - "timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "ContentFileDeletionLock143": { - "filename": { - "datatype": "TEXT", - "primarykey": true - } - }, - "CustomProperty143": { - "CustomProperty_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "actionId": { - "datatype": "INTEGER" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "genoaValue": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "projectNumber": { - "datatype": "INTEGER" - }, - "value": { - "datatype": "TEXT" - } - }, - "DataPointRows": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_point": { - "datatype": "BLOB", - "notnull": true - }, - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources(_id)" - }, - "end_time": { - "datatype": "INTEGER", - "notnull": true - }, - "start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "DataSourceTypes": { - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources(_id)" - }, - "data_type_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataTypes(_id)" - } - }, - "DataSources": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "application_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "Applications(_id)" - }, - "device_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "Devices(_id)" - }, - "identifier": { - "datatype": "TEXT" - }, - "source_name": { - "datatype": "TEXT" - }, - "stream_name": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "TEXT" - } - }, - "DataTypeFields": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_type_id": { - "datatype": "INTEGER", - "notnull": true - }, - "field_name": { - "datatype": "TEXT", - "notnull": true - }, - "format": { - "datatype": "INTEGER", - "notnull": true - } - }, - "DataTypes": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT", - "notnull": true - } - }, - "Devices": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "make": { - "datatype": "TEXT", - "notnull": true - }, - "model": { - "datatype": "TEXT", - "notnull": true - }, - "platform_type": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER" - }, - "uid": { - "datatype": "TEXT" - }, - "version": { - "datatype": "TEXT", - "notnull": true - } - }, - "DriveApp143": { - "DriveApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "appDataRootEntryId": { - "datatype": "INTEGER" - }, - "expiryTimestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "isAppDataRootPlaceholder": { - "datatype": "INTEGER" - }, - "projectNumber": { - "datatype": "INTEGER", - "notnull": true - }, - "scopes": { - "datatype": "TEXT", - "notnull": true - } - }, - "DriveIdMapping143": { - "DriveIdMapping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "resourceId": { - "datatype": "TEXT" - } - }, - "Entry143": { - "FOREIGN": { - "datatype": "KEY" - }, - "alternateLink": { - "datatype": "TEXT" - }, - "canEdit": { - "datatype": "INTEGER", - "notnull": true - }, - "creationDate": { - "datatype": "INTEGER", - "notnull": true - }, - "customPropertiesCount": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "deletedOnServerTime": { - "datatype": "INTEGER" - }, - "description": { - "datatype": "TEXT" - }, - "embedLink": { - "datatype": "TEXT" - }, - "entryId": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "fileExtension": { - "datatype": "TEXT" - }, - "fileSize": { - "datatype": "INTEGER", - "default": "0" - }, - "folderColorRgb": { - "datatype": "TEXT" - }, - "genoaFileSize": { - "datatype": "INTEGER" - }, - "hasGenoaValues": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "hasThumbnail": { - "datatype": "INTEGER" - }, - "headRevisionId": { - "datatype": "TEXT" - }, - "inDriveSpace": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inGooglePhotosSpace": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inSyncContentHash": { - "datatype": "TEXT" - }, - "inSyncRevisionId": { - "datatype": "TEXT" - }, - "isCopyable": { - "datatype": "INTEGER" - }, - "isDeleted": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isDeletedActionId": { - "datatype": "INTEGER" - }, - "isDownloadable": { - "datatype": "INTEGER", - "notnull": true - }, - "isGooglePhotos": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isGooglePhotosRootFolder": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isRestricted": { - "datatype": "INTEGER" - }, - "isViewed": { - "datatype": "INTEGER" - }, - "lastContentActionId": { - "datatype": "INTEGER" - }, - "lastModifiedDate": { - "datatype": "INTEGER", - "notnull": true - }, - "lastModifyingUser": { - "datatype": "INTEGER" - }, - "lastSyncSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastViewedByMeDate": { - "datatype": "INTEGER" - }, - "localContentHash": { - "datatype": "TEXT" - }, - "md5Checksum": { - "datatype": "TEXT" - }, - "mimeType": { - "datatype": "TEXT", - "notnull": true - }, - "modifiedByMeDate": { - "datatype": "INTEGER" - }, - "originalFilename": { - "datatype": "TEXT" - }, - "ownerNames": { - "datatype": "TEXT" - }, - "ownerProjectNumber": { - "datatype": "INTEGER" - }, - "permissionVersion": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "pinned": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "quotaBytesUsed": { - "datatype": "INTEGER", - "default": "0" - }, - "recency": { - "datatype": "INTEGER" - }, - "recencyReason": { - "datatype": "TEXT" - }, - "sequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "shared": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "sharedWithMeDate": { - "datatype": "INTEGER" - }, - "sharingUser": { - "datatype": "INTEGER" - }, - "singletonCreatorProjectNumber": { - "datatype": "INTEGER" - }, - "starred": { - "datatype": "INTEGER", - "notnull": true - }, - "subscribed": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "title": { - "datatype": "TEXT", - "notnull": true - }, - "trashed": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "uniqueIdentifier": { - "datatype": "TEXT" - }, - "uniqueIdentifierVersion": { - "datatype": "TEXT" - }, - "unsubscribedOnServerTime": { - "datatype": "INTEGER" - }, - "userRole": { - "datatype": "TEXT" - }, - "version": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "webContentLink": { - "datatype": "TEXT" - }, - "webViewLink": { - "datatype": "TEXT" - }, - "writersCanShare": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "EntryAuthorizedApp143": { - "EntryAuthorizedApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "projectNumber": { - "datatype": "INTEGER", - "notnull": true - } - }, - "EntryPermission143": { - "EntryPermission_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountIdentifier": { - "datatype": "TEXT" - }, - "accountName": { - "datatype": "TEXT" - }, - "accountType": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "genoaIsLinkRequiredActionId": { - "datatype": "INTEGER" - }, - "genoaIsLinkRequiredValue": { - "datatype": "INTEGER" - }, - "genoaRoleActionId": { - "datatype": "INTEGER" - }, - "genoaRoleValue": { - "datatype": "INTEGER" - }, - "isLinkRequired": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "permissionId": { - "datatype": "TEXT" - }, - "photoLink": { - "datatype": "TEXT" - }, - "role": { - "datatype": "INTEGER", - "notnull": true - } - }, - "FileContent143": { - "encryptionAlgorithm": { - "datatype": "TEXT" - }, - "encryptionKey": { - "datatype": "BLOB" - }, - "hash": { - "datatype": "TEXT", - "primarykey": true - }, - "internalFileName": { - "datatype": "TEXT" - }, - "lastAccessed": { - "datatype": "INTEGER", - "notnull": true - }, - "sharedFileName": { - "datatype": "TEXT" - }, - "size": { - "datatype": "INTEGER" - } - }, - "GenoaValues143": { - "FOREIGN": { - "datatype": "KEY" - }, - "GenoaValues_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "canEditActionId": { - "datatype": "INTEGER" - }, - "canEditValue": { - "datatype": "INTEGER" - }, - "creationTimeActionId": { - "datatype": "INTEGER" - }, - "creationTimeValue": { - "datatype": "INTEGER" - }, - "descriptionActionId": { - "datatype": "INTEGER" - }, - "descriptionValue": { - "datatype": "TEXT" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "folderColorRgbActionId": { - "datatype": "INTEGER" - }, - "folderColorRgbValue": { - "datatype": "TEXT" - }, - "inDriveSpaceActionId": { - "datatype": "INTEGER" - }, - "inDriveSpaceValue": { - "datatype": "INTEGER" - }, - "lastModifiedTimeActionId": { - "datatype": "INTEGER" - }, - "lastModifiedTimeValue": { - "datatype": "INTEGER" - }, - "lastViewedByMeDateActionId": { - "datatype": "INTEGER" - }, - "lastViewedByMeDateValue": { - "datatype": "INTEGER" - }, - "mimeTypeActionId": { - "datatype": "INTEGER" - }, - "mimeTypeValue": { - "datatype": "TEXT" - }, - "modifiedByMeTimeActionId": { - "datatype": "INTEGER" - }, - "modifiedByMeTimeValue": { - "datatype": "INTEGER" - }, - "ownerNamesActionId": { - "datatype": "INTEGER" - }, - "ownerNamesValue": { - "datatype": "TEXT" - }, - "quotaBytesUsedActionId": { - "datatype": "INTEGER" - }, - "quotaBytesUsedValue": { - "datatype": "INTEGER" - }, - "sharedActionId": { - "datatype": "INTEGER" - }, - "sharedValue": { - "datatype": "INTEGER" - }, - "sharedWithMeTimeActionId": { - "datatype": "INTEGER" - }, - "sharedWithMeTimeValue": { - "datatype": "INTEGER" - }, - "starredActionId": { - "datatype": "INTEGER" - }, - "starredValue": { - "datatype": "INTEGER" - }, - "titleActionId": { - "datatype": "INTEGER" - }, - "titleValue": { - "datatype": "TEXT" - }, - "trashedActionId": { - "datatype": "INTEGER" - }, - "trashedValue": { - "datatype": "INTEGER" - }, - "userRoleActionId": { - "datatype": "INTEGER" - }, - "userRoleValue": { - "datatype": "TEXT" - }, - "viewedActionId": { - "datatype": "INTEGER" - }, - "viewedValue": { - "datatype": "INTEGER" - }, - "writersCanShareActionId": { - "datatype": "INTEGER" - }, - "writersCanShareValue": { - "datatype": "INTEGER" - } - }, - "ParentMapping143": { - "FOREIGN": { - "datatype": "KEY" - }, - "ParentMapping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "childEntryId": { - "datatype": "INTEGER", - "notnull": true - }, - "parentEntryId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PartialFeed143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PartialFeed_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "clipTime": { - "datatype": "INTEGER", - "default": "9223372036854775807" - }, - "feedParameters": { - "datatype": "TEXT", - "notnull": true - }, - "feedType": { - "datatype": "TEXT", - "notnull": true - }, - "nextPageToken": { - "datatype": "TEXT" - }, - "numPagesRetrieved": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "PendingAction143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingAction_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "applyLocallyTimestamp": { - "datatype": "INTEGER" - }, - "attemptCount": { - "datatype": "INTEGER", - "notnull": true - }, - "payload": { - "datatype": "TEXT", - "notnull": true - }, - "requiredEntryId": { - "datatype": "INTEGER" - } - }, - "PendingCleanupAction143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingCleanupAction_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "actionId": { - "datatype": "INTEGER", - "notnull": true - }, - "actionType": { - "datatype": "TEXT", - "notnull": true - }, - "applyOnServerTime": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PendingThumbnailUpload143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingThumbnailUpload_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "actionId": { - "datatype": "INTEGER", - "notnull": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PendingUpload143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingUpload_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "actionId": { - "datatype": "INTEGER" - }, - "baseContentHash": { - "datatype": "TEXT" - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "uploadUri": { - "datatype": "TEXT" - } - }, - "PersistedEvent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PersistedEvent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "attemptCount": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER" - }, - "nextNotificationTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "serializedEvent": { - "datatype": "TEXT", - "notnull": true - }, - "snoozeCount": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "PersistedEventContent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PersistedEventContent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "persistedEventId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "RealtimeDocumentContent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "RealtimeDocumentContent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "databasePath": { - "datatype": "TEXT" - }, - "driveAppId": { - "datatype": "INTEGER" - }, - "entryId": { - "datatype": "INTEGER" - }, - "hasPendingChanges": { - "datatype": "INTEGER" - }, - "historyLength": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastAccessed": { - "datatype": "INTEGER", - "notnull": true - }, - "localId": { - "datatype": "TEXT" - }, - "requiresSync": { - "datatype": "INTEGER" - }, - "resourceId": { - "datatype": "TEXT" - }, - "size": { - "datatype": "INTEGER" - } - }, - "Sessions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "active_time_millis": { - "datatype": "INTEGER" - }, - "activity": { - "datatype": "INTEGER", - "notnull": true - }, - "app_package": { - "datatype": "TEXT", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "end_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "identifier": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "Subscription143": { - "FOREIGN": { - "datatype": "KEY" - }, - "Subscription_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER" - }, - "eventService": { - "datatype": "TEXT" - }, - "eventType": { - "datatype": "INTEGER", - "notnull": true - }, - "lastUpdateTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "packageName": { - "datatype": "TEXT" - }, - "serializedSubscriptionDetails": { - "datatype": "TEXT" - }, - "signingCertificateHash": { - "datatype": "TEXT" - } - }, - "Subscriptions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accuracy_mode": { - "datatype": "INTEGER", - "notnull": true - }, - "app_package": { - "datatype": "TEXT", - "notnull": true - }, - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources (_id)" - }, - "data_type_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataTypes (_id)" - }, - "realm": { - "datatype": "INTEGER", - "notnull": true - }, - "sampling_delay": { - "datatype": "INTEGER", - "notnull": true - }, - "timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "SyncFeed143": { - "FOREIGN": { - "datatype": "KEY" - }, - "SyncFeed_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "appProjectNumber": { - "datatype": "INTEGER" - }, - "clipTime": { - "datatype": "INTEGER" - }, - "nextPageToken": { - "datatype": "TEXT" - }, - "numPagesRetrieved": { - "datatype": "INTEGER", - "notnull": true - }, - "query": { - "datatype": "TEXT" - }, - "space": { - "datatype": "TEXT", - "notnull": true - } - }, - "SyncStatus": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_source_id": { - "datatype": "INTEGER" - }, - "is_remote": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "last_synced_time": { - "datatype": "INTEGER" - }, - "min_local_timestamp": { - "datatype": "INTEGER" - }, - "sync_token": { - "datatype": "TEXT" - } - }, - "Thumbnail143": { - "FOREIGN": { - "datatype": "KEY" - }, - "Thumbnail_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "UserPermissions143": { - "UserPermissions_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "displayName": { - "datatype": "TEXT" - }, - "emailAddress": { - "datatype": "TEXT" - }, - "isAuthenticatedUser": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "permissionsId": { - "datatype": "TEXT", - "notnull": true - }, - "pictureUrl": { - "datatype": "TEXT" - } - }, - "accounts": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT" - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "app_states": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "app_id": { - "datatype": "TEXT", - "notnull": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts(_id)" - }, - "conflict_data": { - "datatype": "BLOB" - }, - "conflict_version": { - "datatype": "TEXT" - }, - "data_dirty": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "key": { - "datatype": "INTEGER", - "notnull": true - }, - "local_data": { - "datatype": "BLOB" - }, - "local_version": { - "datatype": "TEXT" - }, - "upsync_required": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "client_contexts": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_name": { - "datatype": "TEXT", - "notnull": true - }, - "package_name": { - "datatype": "TEXT", - "notnull": true - }, - "package_uid": { - "datatype": "INTEGER", - "notnull": true - } - }, - "connectionConfigurations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidId": { - "datatype": "STRING" - }, - "connectionEnabled": { - "datatype": "INTEGER", - "notnull": true - }, - "connectionType": { - "datatype": "INTEGER", - "notnull": true - }, - "name": { - "datatype": "STRING", - "notnull": true, - "unique": true - }, - "pairedBtAddress": { - "datatype": "STRING", - "notnull": true - }, - "role": { - "datatype": "INTEGER", - "notnull": true - } - }, - "context": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "context_family": { - "datatype": "INTEGER" - }, - "context_id": { - "datatype": "TEXT" - }, - "context_name": { - "datatype": "INTEGER" - }, - "end_time": { - "datatype": "INTEGER" - }, - "module_id": { - "datatype": "TEXT", - "notnull": true - }, - "proto_blob": { - "datatype": "BLOB" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "sync_state": { - "datatype": "INTEGER", - "notnull": true - }, - "sync_state_mod_time_millis": { - "datatype": "sync_state_mod_time_millis" - }, - "time_type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "credential": { - "account_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "data": { - "datatype": "BLOB" - }, - "id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "credential_affiliation": { - "account_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "credential_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "domain_url": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "credential_app_setting": { - "account": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "app": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "key": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "value": { - "datatype": "TEXT" - } - }, - "credential_setting": { - "account": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "key": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "value": { - "datatype": "TEXT" - } - }, - "device_features": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "feature_name": { - "datatype": "TEXT", - "notnull": true - }, - "last_connection_timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "downloads": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "destination": { - "datatype": "TEXT" - }, - "dm_id": { - "datatype": "INTEGER" - }, - "enabled": { - "datatype": "INTEGER", - "default": "0" - }, - "filename": { - "datatype": "TEXT", - "notnull": true - }, - "maxVersion": { - "datatype": "INTEGER" - }, - "minVersion": { - "datatype": "INTEGER" - }, - "notificationDescription": { - "datatype": "TEXT" - }, - "notificationTitle": { - "datatype": "TEXT" - }, - "retries": { - "datatype": "INTEGER", - "default": "0" - }, - "sha1": { - "datatype": "TEXT", - "notnull": true - }, - "sizeBytes": { - "datatype": "INTEGER", - "notnull": true - }, - "url": { - "datatype": "TEXT", - "notnull": true - } - }, - "experiment": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "namespace": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "feature": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "account_id": { - "datatype": "TEXT" - }, - "end_time": { - "datatype": "INTEGER" - }, - "proto_blob": { - "datatype": "BLOB" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "time_type": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "fetch_metadata": { - "app_context_digest": { - "datatype": "BLOB" - }, - "device_context_digest": { - "datatype": "BLOB" - }, - "namespace_digest": { - "datatype": "TEXT" - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "recent_failure_times": { - "datatype": "TEXT" - }, - "recent_success_times": { - "datatype": "TEXT" - } - }, - "internal_metadata": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "main": { - "a": { - "datatype": "TEXT", - "notnull": true - }, - "b": { - "datatype": "LONG", - "notnull": true - }, - "c": { - "datatype": "LONG", - "notnull": true - }, - "d": { - "datatype": "TEXT" - }, - "e": { - "datatype": "TEXT" - }, - "f": { - "datatype": "BLOB", - "notnull": true - } - }, - "operations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "accounts(_id)" - }, - "client_id": { - "datatype": "TEXT", - "notnull": true - }, - "deletable": { - "datatype": "INTEGER", - "notnull": true - }, - "expiration_time": { - "datatype": "INTEGER" - }, - "network_last_update_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "network_status": { - "datatype": "INTEGER", - "notnull": true - }, - "op_code": { - "datatype": "INTEGER", - "notnull": true - }, - "package_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "packages(_id)" - }, - "proto": { - "datatype": "BLOB" - }, - "write_time_millis": { - "datatype": "INTEGER", - "notnull": true - } - }, - "override": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "namespace": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "overrides": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "packages": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT" - } - }, - "relation": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "end_time": { - "datatype": "INTEGER" - }, - "proto_blob": { - "datatype": "BLOB" - }, - "relation_id": { - "datatype": "TEXT" - }, - "relation_name": { - "datatype": "INTEGER" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "sync_state": { - "datatype": "INTEGER", - "notnull": true - }, - "sync_state_mod_time_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "time_type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "relation_from": { - "context_id": { - "datatype": "TEXT", - "notnull": true - }, - "relation_row_id": { - "datatype": "INTEGER", - "notnull": true - } - }, - "relation_to": { - "context_id": { - "datatype": "TEXT", - "notnull": true - }, - "relation_row_id": { - "datatype": "INTEGER", - "notnull": true - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data_mod/com.google.android.gms__keys.db__dbfp.json b/tests/fp_data_mod/com.google.android.gms__keys.db__dbfp.json deleted file mode 100644 index f882991..0000000 --- a/tests/fp_data_mod/com.google.android.gms__keys.db__dbfp.json +++ /dev/null @@ -1,3961 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.google.android.gms", - "app-ver": "", - "dn-name": "keys.db", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "Account143": "CREATE TABLE \"Account143\" (\"Account_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountHolderName\" TEXT NOT NULL, \"forceFullSync\" INTEGER NOT NULL DEFAULT 1, \"lastSyncTime\" INTEGER NOT NULL DEFAULT 0, \"folderSyncClipTime\" INTEGER, \"documentSyncClipTime\" INTEGER, \"lastSyncChangeStamp\" INTEGER NOT NULL DEFAULT 0, \"lastSyncSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"minimumChangeSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"maxUploadSize\" INTEGER NOT NULL DEFAULT 5242880000000, \"forceFullSyncLevel\" INTEGER NOT NULL DEFAULT 0)", - "AccountHistory": "CREATE TABLE AccountHistory ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, account_name TEXT NOT NULL, change_type INTEGER NOT NULL, event_index INTEGER NOT NULL, change_data TEXT)", - "AndroidApp143": "CREATE TABLE \"AndroidApp143\" (\"AndroidApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"driveAppId\" INTEGER NOT NULL, \"packageName\" TEXT NOT NULL, \"certificateHash\" TEXT NOT NULL, \"networkTypePreference\" INTEGER NOT NULL DEFAULT 1, \"batteryUsagePreference\" INTEGER NOT NULL DEFAULT 256, \"roamingAllowed\" INTEGER NOT NULL DEFAULT 1, FOREIGN KEY(\"driveAppId\") REFERENCES \"DriveApp143\"(\"DriveApp_id\") ON DELETE CASCADE)", - "Applications": "CREATE TABLE Applications(_id INTEGER PRIMARY KEY AUTOINCREMENT, package TEXT NOT NULL, version TEXT, details_url TEXT, name TEXT, console_ids TEXT)", - "BleCharacteristics": "CREATE TABLE BleCharacteristics (_id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL, properties INTEGER, permissions INTEGER, device_id INTEGER, FOREIGN KEY(device_id) REFERENCES BleDevices(_id) ON DELETE CASCADE)", - "BleDevices": "CREATE TABLE BleDevices (_id INTEGER PRIMARY KEY AUTOINCREMENT, type TEXT, name TEXT, address NOT NULL, device_name TEXT, model_number TEXT, manufacturer TEXT, hardware_revision TEXT, firmware_revision TEXT, software_revision TEXT)", - "ChangeLog": "CREATE TABLE ChangeLog (_id INTEGER PRIMARY KEY AUTOINCREMENT, timestamp INTEGER NOT NULL, is_delete INTEGER NOT NULL, source_table TEXT NOT NULL, content BLOB NOT NULL, sync_tries INTEGER DEFAULT 0, last_sync_ms INTEGER DEFAULT 0)", - "ContentFileDeletionLock143": "CREATE TABLE \"ContentFileDeletionLock143\" (\"filename\" TEXT PRIMARY KEY NOT NULL)", - "CustomProperty143": "CREATE TABLE \"CustomProperty143\" (\"CustomProperty_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"projectNumber\" INTEGER, \"name\" TEXT NOT NULL, \"value\" TEXT, \"genoaValue\" TEXT, \"actionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "DataPointRows": "CREATE TABLE DataPointRows (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER REFERENCES DataSources(_id), start_time INTEGER NOT NULL, end_time INTEGER NOT NULL, data_point BLOB NOT NULL)", - "DataSourceTypes": "CREATE TABLE DataSourceTypes (data_source_id INTEGER REFERENCES DataSources(_id), data_type_id INTEGER REFERENCES DataTypes(_id))", - "DataSources": "CREATE TABLE DataSources (_id INTEGER PRIMARY KEY AUTOINCREMENT, type INTEGER, identifier TEXT, version TEXT, source_name TEXT, stream_name TEXT, device_id INTEGER REFERENCES Devices(_id), application_id INTEGER REFERENCES Applications(_id))", - "DataTypeFields": "CREATE TABLE DataTypeFields (_id INTEGER PRIMARY KEY AUTOINCREMENT, field_name TEXT NOT NULL, format INTEGER NOT NULL, data_type_id INTEGER NOT NULL REFERENCES DataTypes(_id))", - "DataTypes": "CREATE TABLE DataTypes (_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL)", - "Devices": "CREATE TABLE Devices (_id INTEGER PRIMARY KEY AUTOINCREMENT, make TEXT NOT NULL, model TEXT NOT NULL, version TEXT NOT NULL, type INTEGER, uid TEXT, platform_type INTEGER)", - "DriveApp143": "CREATE TABLE \"DriveApp143\" (\"DriveApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"projectNumber\" INTEGER NOT NULL, \"expiryTimestamp\" INTEGER NOT NULL, \"appDataRootEntryId\" INTEGER, \"isAppDataRootPlaceholder\" INTEGER, \"scopes\" TEXT NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE, FOREIGN KEY(\"appDataRootEntryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE SET NULL)", - "DriveIdMapping143": "CREATE TABLE \"DriveIdMapping143\" (\"DriveIdMapping_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"resourceId\" TEXT, \"accountId\" INTEGER NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "Entry143": "CREATE TABLE \"Entry143\" (\"entryId\" INTEGER PRIMARY KEY AUTOINCREMENT, \"title\" TEXT NOT NULL, \"creationDate\" INTEGER NOT NULL, \"lastModifiedDate\" INTEGER NOT NULL, \"lastViewedByMeDate\" INTEGER, \"sharedWithMeDate\" INTEGER, \"shared\" INTEGER NOT NULL DEFAULT 0, \"modifiedByMeDate\" INTEGER, \"mimeType\" TEXT NOT NULL, \"canEdit\" INTEGER NOT NULL, \"starred\" INTEGER NOT NULL, \"trashed\" INTEGER NOT NULL DEFAULT 0, \"pinned\" INTEGER NOT NULL DEFAULT 0, \"sequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"lastSyncSequenceNumber\" INTEGER NOT NULL DEFAULT 0, \"isDownloadable\" INTEGER NOT NULL, \"md5Checksum\" TEXT, \"localContentHash\" TEXT, \"ownerProjectNumber\" INTEGER, \"alternateLink\" TEXT, \"ownerNames\" TEXT, \"description\" TEXT, \"isCopyable\" INTEGER, \"embedLink\" TEXT, \"fileExtension\" TEXT, \"fileSize\" INTEGER DEFAULT 0, \"isViewed\" INTEGER, \"isRestricted\" INTEGER, \"originalFilename\" TEXT, \"quotaBytesUsed\" INTEGER DEFAULT 0, \"webContentLink\" TEXT, \"webViewLink\" TEXT, \"hasThumbnail\" INTEGER, \"userRole\" TEXT, \"isDeleted\" INTEGER NOT NULL DEFAULT 0, \"isDeletedActionId\" INTEGER, \"customPropertiesCount\" INTEGER NOT NULL DEFAULT 0, \"headRevisionId\" TEXT, \"uniqueIdentifier\" TEXT, \"singletonCreatorProjectNumber\" INTEGER, \"uniqueIdentifierVersion\" TEXT, \"lastModifyingUser\" INTEGER, \"sharingUser\" INTEGER, \"writersCanShare\" INTEGER NOT NULL DEFAULT 0, \"hasGenoaValues\" INTEGER NOT NULL DEFAULT 0, \"version\" INTEGER NOT NULL DEFAULT 0, \"deletedOnServerTime\" INTEGER, \"subscribed\" INTEGER NOT NULL DEFAULT 1, \"unsubscribedOnServerTime\" INTEGER, \"inDriveSpace\" INTEGER NOT NULL DEFAULT 0, \"inGooglePhotosSpace\" INTEGER NOT NULL DEFAULT 0, \"isGooglePhotos\" INTEGER NOT NULL DEFAULT 0, \"isGooglePhotosRootFolder\" INTEGER NOT NULL DEFAULT 0, \"folderColorRgb\" TEXT, \"permissionVersion\" INTEGER NOT NULL DEFAULT 0, \"inSyncContentHash\" TEXT, \"inSyncRevisionId\" TEXT, \"lastContentActionId\" INTEGER, \"genoaFileSize\" INTEGER, \"recency\" INTEGER, \"recencyReason\" TEXT, FOREIGN KEY(\"entryId\") REFERENCES \"DriveIdMapping143\"(\"DriveIdMapping_id\") ON DELETE CASCADE, FOREIGN KEY(\"localContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE SET NULL, FOREIGN KEY(\"lastModifyingUser\") REFERENCES \"UserPermissions143\"(\"UserPermissions_id\") ON DELETE CASCADE, FOREIGN KEY(\"sharingUser\") REFERENCES \"UserPermissions143\"(\"UserPermissions_id\") ON DELETE CASCADE, FOREIGN KEY(\"inSyncContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE SET NULL)", - "EntryAuthorizedApp143": "CREATE TABLE \"EntryAuthorizedApp143\" (\"EntryAuthorizedApp_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"projectNumber\" INTEGER NOT NULL, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "EntryPermission143": "CREATE TABLE \"EntryPermission143\" (\"EntryPermission_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"permissionId\" TEXT, \"accountIdentifier\" TEXT, \"accountName\" TEXT, \"accountType\" INTEGER NOT NULL, \"photoLink\" TEXT, \"role\" INTEGER NOT NULL, \"genoaRoleValue\" INTEGER, \"genoaRoleActionId\" INTEGER, \"isLinkRequired\" INTEGER NOT NULL DEFAULT 0, \"genoaIsLinkRequiredValue\" INTEGER, \"genoaIsLinkRequiredActionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "FileContent143": "CREATE TABLE \"FileContent143\" (\"hash\" TEXT PRIMARY KEY NOT NULL, \"lastAccessed\" INTEGER NOT NULL, \"size\" INTEGER, \"internalFileName\" TEXT, \"sharedFileName\" TEXT, \"encryptionKey\" BLOB, \"encryptionAlgorithm\" TEXT)", - "GenoaValues143": "CREATE TABLE \"GenoaValues143\" (\"GenoaValues_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER NOT NULL, \"trashedValue\" INTEGER, \"trashedActionId\" INTEGER, \"descriptionValue\" TEXT, \"descriptionActionId\" INTEGER, \"lastViewedByMeDateValue\" INTEGER, \"lastViewedByMeDateActionId\" INTEGER, \"mimeTypeValue\" TEXT, \"mimeTypeActionId\" INTEGER, \"starredValue\" INTEGER, \"starredActionId\" INTEGER, \"titleValue\" TEXT, \"titleActionId\" INTEGER, \"viewedValue\" INTEGER, \"viewedActionId\" INTEGER, \"userRoleValue\" TEXT, \"userRoleActionId\" INTEGER, \"inDriveSpaceValue\" INTEGER, \"inDriveSpaceActionId\" INTEGER, \"canEditValue\" INTEGER, \"canEditActionId\" INTEGER, \"sharedValue\" INTEGER, \"sharedActionId\" INTEGER, \"quotaBytesUsedValue\" INTEGER, \"quotaBytesUsedActionId\" INTEGER, \"sharedWithMeTimeValue\" INTEGER, \"sharedWithMeTimeActionId\" INTEGER, \"ownerNamesValue\" TEXT, \"ownerNamesActionId\" INTEGER, \"writersCanShareValue\" INTEGER, \"writersCanShareActionId\" INTEGER, \"lastModifiedTimeValue\" INTEGER, \"lastModifiedTimeActionId\" INTEGER, \"modifiedByMeTimeValue\" INTEGER, \"modifiedByMeTimeActionId\" INTEGER, \"creationTimeValue\" INTEGER, \"creationTimeActionId\" INTEGER, \"folderColorRgbValue\" TEXT, \"folderColorRgbActionId\" INTEGER, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "ParentMapping143": "CREATE TABLE \"ParentMapping143\" (\"ParentMapping_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"parentEntryId\" INTEGER NOT NULL, \"childEntryId\" INTEGER NOT NULL, FOREIGN KEY(\"parentEntryId\") REFERENCES \"DriveIdMapping143\"(\"DriveIdMapping_id\") ON DELETE CASCADE, FOREIGN KEY(\"childEntryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "PartialFeed143": "CREATE TABLE \"PartialFeed143\" (\"PartialFeed_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"feedType\" TEXT NOT NULL DEFAULT 'query', \"feedParameters\" TEXT NOT NULL, \"nextPageToken\" TEXT, \"clipTime\" INTEGER DEFAULT 9223372036854775807, \"numPagesRetrieved\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingAction143": "CREATE TABLE \"PendingAction143\" (\"PendingAction_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"payload\" TEXT NOT NULL, \"attemptCount\" INTEGER NOT NULL, \"requiredEntryId\" INTEGER, \"applyLocallyTimestamp\" INTEGER, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingCleanupAction143": "CREATE TABLE \"PendingCleanupAction143\" (\"PendingCleanupAction_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"actionType\" TEXT NOT NULL, \"actionId\" INTEGER NOT NULL, \"applyOnServerTime\" INTEGER NOT NULL, \"accountId\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "PendingThumbnailUpload143": "CREATE TABLE \"PendingThumbnailUpload143\" (\"PendingThumbnailUpload_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"actionId\" INTEGER NOT NULL, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"actionId\") REFERENCES \"PendingAction143\"(\"PendingAction_id\") ON DELETE CASCADE)", - "PendingUpload143": "CREATE TABLE \"PendingUpload143\" (\"PendingUpload_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"uploadUri\" TEXT, \"baseContentHash\" TEXT, \"actionId\" INTEGER, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"baseContentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"actionId\") REFERENCES \"PendingAction143\"(\"PendingAction_id\") ON DELETE CASCADE)", - "PersistedEvent143": "CREATE TABLE \"PersistedEvent143\" (\"PersistedEvent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"androidAppId\" INTEGER NOT NULL, \"serializedEvent\" TEXT NOT NULL, \"nextNotificationTime\" INTEGER NOT NULL DEFAULT 0, \"attemptCount\" INTEGER NOT NULL, \"snoozeCount\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"androidAppId\") REFERENCES \"AndroidApp143\"(\"AndroidApp_id\") ON DELETE CASCADE)", - "PersistedEventContent143": "CREATE TABLE \"PersistedEventContent143\" (\"PersistedEventContent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"persistedEventId\" INTEGER NOT NULL, \"contentHash\" TEXT NOT NULL, FOREIGN KEY(\"persistedEventId\") REFERENCES \"PersistedEvent143\"(\"PersistedEvent_id\") ON DELETE CASCADE, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE)", - "RealtimeDocumentContent143": "CREATE TABLE \"RealtimeDocumentContent143\" (\"RealtimeDocumentContent_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"resourceId\" TEXT, \"localId\" TEXT, \"driveAppId\" INTEGER, \"lastAccessed\" INTEGER NOT NULL, \"size\" INTEGER, \"databasePath\" TEXT, \"hasPendingChanges\" INTEGER, \"requiresSync\" INTEGER, \"historyLength\" INTEGER NOT NULL DEFAULT 0, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"driveAppId\") REFERENCES \"DriveApp143\"(\"DriveApp_id\") ON DELETE CASCADE)", - "Sessions": "CREATE TABLE Sessions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, start_time INTEGER NOT NULL, end_time INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL, identifier TEXT, description TEXT, activity INTEGER NOT NULL, active_time_millis INTEGER)", - "Subscription143": "CREATE TABLE \"Subscription143\" (\"Subscription_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"entryId\" INTEGER, \"eventType\" INTEGER NOT NULL, \"packageName\" TEXT, \"eventService\" TEXT, \"signingCertificateHash\" TEXT, \"lastUpdateTime\" INTEGER NOT NULL DEFAULT 0, \"androidAppId\" INTEGER NOT NULL DEFAULT -1, \"serializedSubscriptionDetails\" TEXT, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE, FOREIGN KEY(\"androidAppId\") REFERENCES \"AndroidApp143\"(\"AndroidApp_id\") ON DELETE CASCADE)", - "Subscriptions": "CREATE TABLE Subscriptions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, data_source_id INTEGER REFERENCES DataSources (_id), data_type_id INTEGER REFERENCES DataTypes (_id), sampling_delay INTEGER NOT NULL, accuracy_mode INTEGER NOT NULL, timestamp INTEGER NOT NULL, realm INTEGER NOT NULL)", - "SyncFeed143": "CREATE TABLE \"SyncFeed143\" (\"SyncFeed_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"accountId\" INTEGER NOT NULL, \"space\" TEXT NOT NULL, \"query\" TEXT, \"appProjectNumber\" INTEGER, \"nextPageToken\" TEXT, \"clipTime\" INTEGER, \"numPagesRetrieved\" INTEGER NOT NULL, FOREIGN KEY(\"accountId\") REFERENCES \"Account143\"(\"Account_id\") ON DELETE CASCADE)", - "SyncStatus": "CREATE TABLE SyncStatus (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER UNIQUE NOT NULL REFERENCES DataSources(_id), sync_token TEXT, is_remote INTEGER NOT NULL DEFAULT 0, last_synced_time INTEGER, min_local_timestamp INTEGER DEFAULT -1)", - "Thumbnail143": "CREATE TABLE \"Thumbnail143\" (\"Thumbnail_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"contentHash\" TEXT NOT NULL, \"entryId\" INTEGER NOT NULL, \"version\" INTEGER NOT NULL, FOREIGN KEY(\"contentHash\") REFERENCES \"FileContent143\"(\"hash\") ON DELETE CASCADE, FOREIGN KEY(\"entryId\") REFERENCES \"Entry143\"(\"entryId\") ON DELETE CASCADE)", - "UserPermissions143": "CREATE TABLE \"UserPermissions143\" (\"UserPermissions_id\" INTEGER PRIMARY KEY AUTOINCREMENT, \"permissionsId\" TEXT NOT NULL, \"displayName\" TEXT, \"emailAddress\" TEXT, \"pictureUrl\" TEXT, \"isAuthenticatedUser\" INTEGER NOT NULL DEFAULT 0)", - "accounts": "CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT UNIQUE NOT NULL)", - "achievement_definitions": "CREATE TABLE achievement_definitions (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_achievement_id TEXT NOT NULL,type INTEGER NOT NULL,name TEXT NOT NULL,description TEXT,unlocked_icon_image_id INTEGER REFERENCES images (_id),revealed_icon_image_id INTEGER REFERENCES images (_id),total_steps INTEGER,formatted_total_steps TEXT,initial_state INTEGER NOT NULL,sorting_rank INTEGER NOT NULL,definition_xp_value INTEGER NOT NULL DEFAULT 0)", - "achievement_instances": "CREATE TABLE achievement_instances (_id INTEGER PRIMARY KEY AUTOINCREMENT,definition_id INTEGER REFERENCES achievement_definitions (_id) NOT NULL,player_id INTEGER REFERENCES players (_id) NOT NULL,state INTEGER NOT NULL,current_steps INTEGER,formatted_current_steps TEXT,last_updated_timestamp INTEGER NOT NULL DEFAULT -1,instance_xp_value INTEGER)", - "achievement_pending_ops": "CREATE TABLE achievement_pending_ops (_id INTEGER PRIMARY KEY AUTOINCREMENT,client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL,external_achievement_id TEXT NOT NULL,achievement_type INTEGER NOT NULL,new_state INTEGER,steps_to_increment INTEGER,min_steps_to_set INTEGER,external_game_id TEXT,external_player_id TEXT)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "app_info": "CREATE TABLE app_info (_id INTEGER PRIMARY KEY AUTOINCREMENT, pb BLOB, package_name STRING, version_code STRING, digest_sha256 BLOB)", - "app_states": "CREATE TABLE app_states (_id INTEGER PRIMARY KEY AUTOINCREMENT,app_id TEXT NOT NULL,client_context_id INTEGER REFERENCES client_contexts(_id) NOT NULL,key INTEGER NOT NULL,local_version TEXT,local_data BLOB,conflict_version TEXT,conflict_data BLOB,data_dirty INTEGER NOT NULL DEFAULT 0,upsync_required INTEGER NOT NULL DEFAULT 0)", - "application_sessions": "CREATE TABLE application_sessions (_id INTEGER PRIMARY KEY AUTOINCREMENT,session_id TEXT NOT NULL,external_game_id TEXT NOT NULL,start_time INTEGER NOT NULL,end_time INTEGER NOT NULL,client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL)", - "client_contexts": "CREATE TABLE client_contexts (_id INTEGER PRIMARY KEY AUTOINCREMENT,package_name TEXT NOT NULL,package_uid INTEGER NOT NULL,account_name TEXT NOT NULL)", - "connectionConfigurations": "CREATE TABLE connectionConfigurations (_id INTEGER PRIMARY KEY AUTOINCREMENT,androidId STRING,name STRING NOT NULL,pairedBtAddress STRING NOT NULL,connectionType INTEGER NOT NULL,role INTEGER NOT NULL,connectionEnabled INTEGER NOT NULL, UNIQUE(name) ON CONFLICT REPLACE)", - "context": "CREATE TABLE context (_id INTEGER PRIMARY KEY,context_id TEXT UNIQUE NOT NULL,context_name INTEGER,module_id TEXT NOT NULL,time_type INTEGER,start_time INTEGER,end_time INTEGER,context_family INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,version INTEGER NOT NULL,sync_state INTEGER NOT NULL,sync_state_mod_time_millis sync_state_mod_time_millis)", - "credential": "CREATE TABLE credential(id TEXT NOT NULL,account_id TEXT NOT NULL,data BLOB,PRIMARY KEY (account_id, id))", - "credential_affiliation": "CREATE TABLE credential_affiliation(account_id TEXT NOT NULL,credential_id TEXT NOT NULL,domain_url TEXT NOT NULL,PRIMARY KEY (account_id, credential_id, domain_url))", - "credential_app_setting": "CREATE TABLE credential_app_setting(account TEXT NOT NULL,app TEXT NOT NULL,key TEXT NOT NULL,value TEXT,PRIMARY KEY (account, app, key))", - "credential_setting": "CREATE TABLE credential_setting(account TEXT NOT NULL,key TEXT NOT NULL,value TEXT,PRIMARY KEY (account, key))", - "device_features": "CREATE TABLE device_features (_id INTEGER PRIMARY KEY AUTOINCREMENT,last_connection_timestamp INTEGER NOT NULL,feature_name TEXT NOT NULL)", - "downloads": "CREATE TABLE downloads (_id INTEGER PRIMARY KEY AUTOINCREMENT,filename TEXT NOT NULL UNIQUE,url TEXT NOT NULL,sizeBytes INTEGER NOT NULL,sha1 TEXT NOT NULL,destination TEXT,minVersion INTEGER,maxVersion INTEGER,notificationTitle TEXT,notificationDescription TEXT,enabled INTEGER DEFAULT 0,retries INTEGER DEFAULT 0,dm_id INTEGER)", - "encryptionkeys": "CREATE TABLE encryptionkeys ( key_handle INTEGER PRIMARY KEY, account STRING NOT NULL, master_key BLOB NOT NULL, creation_time INTEGER NOT NULL, expiration_time INTEGER NOT NULL )", - "event_definitions": "CREATE TABLE event_definitions (_id INTEGER PRIMARY KEY AUTOINCREMENT,event_definitions_game_id INTEGER REFERENCES games (_id) NOT NULL,external_event_id TEXT NOT NULL,name TEXT NOT NULL,description TEXT,icon_image_id INTEGER REFERENCES images (_id),sorting_rank INTEGER,visibility INTEGER)", - "event_instances": "CREATE TABLE event_instances (_id INTEGER PRIMARY KEY AUTOINCREMENT,definition_id INTEGER REFERENCES event_definitions (_id) NOT NULL,player_id INTEGER REFERENCES players (_id) NOT NULL,value INTEGER,formatted_value TEXT,last_updated_timestamp INTEGER NOT NULL DEFAULT -1)", - "event_pending_ops": "CREATE TABLE event_pending_ops (_id INTEGER PRIMARY KEY AUTOINCREMENT,instance_id INTEGER REFERENCES event_instances (_id),client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL,window_start_time INTEGER NOT NULL,window_end_time INTEGER NOT NULL,increment INTEGER,request_id INTEGER DEFAULT 0)", - "exclude_bucket": "CREATE TABLE exclude_bucket (_id INTEGER PRIMARY KEY, bucket_id TEXT UNIQUE NOT NULL)", - "experience_events": "CREATE TABLE experience_events (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_experience_id TEXT NOT NULL,game_id INTEGER REFERENCES games (_id) NOT NULL,created_timestamp INTEGER NOT NULL DEFAULT -1,display_title TEXT NOT NULL,display_description TEXT NOT NULL,display_string TEXT NOT NULL,icon_id INTEGER REFERENCES images (_id),type INTEGER NOT NULL DEFAULT -1,current_xp INTEGER NOT NULL DEFAULT -1,xp_earned INTEGER NOT NULL DEFAULT 0,newLevel INTEGER NOT NULL DEFAULT -1)", - "experiment": "CREATE TABLE experiment (package TEXT, namespace TEXT , key TEXT, value BLOB, PRIMARY KEY (package, namespace, key))", - "feature": "CREATE TABLE feature (_id INTEGER PRIMARY KEY,type INTEGER NOT NULL,time_type INTEGER,start_time INTEGER,end_time INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,account_id TEXT)", - "fetch_metadata": "CREATE TABLE fetch_metadata (package TEXT, namespace_digest TEXT, recent_success_times TEXT, recent_failure_times TEXT, device_context_digest BLOB, app_context_digest BLOB, PRIMARY KEY (package))", - "game_badges": "CREATE TABLE game_badges (_id INTEGER PRIMARY KEY AUTOINCREMENT,badge_game_id INTEGER REFERENCES games (_id) NOT NULL,badge_type INTEGER NOT NULL,badge_title TEXT NOT NULL,badge_description TEXT,badge_icon_image_id INTEGER REFERENCES images (_id))", - "game_instances": "CREATE TABLE game_instances (_id INTEGER PRIMARY KEY AUTOINCREMENT,instance_game_id INTEGER REFERENCES games (_id) NOT NULL,real_time_support INTEGER NOT NULL DEFAULT 0,turn_based_support INTEGER NOT NULL DEFAULT 0,platform_type INTEGER NOT NULL,instance_display_name TEXT NOT NULL,package_name TEXT,piracy_check INTEGER NOT NULL DEFAULT 0,installed INTEGER NOT NULL DEFAULT 0,preferred INTEGER NOT NULL DEFAULT 0)", - "games": "CREATE TABLE games (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_game_id TEXT NOT NULL,display_name TEXT NOT NULL,primary_category TEXT,secondary_category TEXT,developer_name TEXT,game_description TEXT,game_icon_image_id INTEGER REFERENCES images (_id),game_hi_res_image_id INTEGER REFERENCES images (_id),featured_image_id INTEGER REFERENCES images (_id),play_enabled_game INTEGER NOT NULL DEFAULT 0,last_played_server_time INTEGER,last_connection_local_time INTEGER NOT NULL DEFAULT 0,last_synced_local_time INTEGER NOT NULL DEFAULT 0,metadata_version INTEGER NOT NULL DEFAULT 0,metadata_sync_requested INTEGER NOT NULL DEFAULT 0,target_instance INTEGER REFERENCES game_instances (_id),gameplay_acl_status INTEGER NOT NULL DEFAULT 1,availability INTEGER NOT NULL DEFAULT 1,owned INTEGER NOT NULL DEFAULT 0,achievement_total_count INTEGER NOT NULL DEFAULT 0,leaderboard_count INTEGER NOT NULL DEFAULT 0,price_micros INTEGER,formatted_price TEXT,full_price_micros INTEGER,formatted_full_price TEXT,muted INTEGER NOT NULL DEFAULT 0,identity_sharing_confirmed INTEGER NOT NULL DEFAULT 0,snapshots_enabled INTEGER NOT NULL DEFAULT 1,theme_color TEXT NOT NULL DEFAULT '000000')", - "hits": "CREATE TABLE hits ( 'hit_id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, 'hit_time' INTEGER NOT NULL, 'hit_url' TEXT NOT NULL, 'hit_string' TEXT NOT NULL,'hit_app_id' TEXT)", - "hits2": "CREATE TABLE hits2 ( 'hit_id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, 'hit_time' INTEGER NOT NULL, 'hit_url' TEXT NOT NULL, 'hit_string' TEXT NOT NULL, 'hit_app_id' INTEGER)", - "images": "CREATE TABLE images (_id INTEGER PRIMARY KEY AUTOINCREMENT,url TEXT,local INTEGER NOT NULL,filesize INTEGER,download_timestamp INTEGER)", - "internal_metadata": "CREATE TABLE internal_metadata (key TEXT, value BLOB, PRIMARY KEY (key))", - "invitations": "CREATE TABLE invitations (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_invitation_id TEXT NOT NULL,external_inviter_id TEXT NOT NULL,creation_timestamp INTEGER NOT NULL,last_modified_timestamp INTEGER NOT NULL,description TEXT,type INTEGER NOT NULL,variant INTEGER NOT NULL DEFAULT -1,has_automatch_criteria INTEGER NOT NULL DEFAULT 0,automatch_min_players INTEGER,automatch_max_players INTEGER,inviter_in_circles INTEGER NOT NULL DEFAULT 1)", - "leaderboard_instances": "CREATE TABLE leaderboard_instances (_id INTEGER PRIMARY KEY AUTOINCREMENT,leaderboard_id INTEGER REFERENCES leaderboards (_id) NOT NULL,timespan INTEGER NOT NULL,collection INTEGER NOT NULL,player_raw_score INTEGER,player_display_score TEXT,player_rank INTEGER,player_display_rank TEXT,player_score_tag TEXT,total_scores INTEGER,top_page_token_next TEXT,window_page_token_prev TEXT,window_page_token_next TEXT)", - "leaderboard_pending_scores": "CREATE TABLE leaderboard_pending_scores (_id INTEGER PRIMARY KEY AUTOINCREMENT,client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL,external_game_id TEXT NOT NULL,external_leaderboard_id TEXT NOT NULL,external_player_id TEXT NOT NULL,raw_score INTEGER NOT NULL,achieved_timestamp INTEGER NOT NULL,score_tag TEXT,signature TEXT NOT NULL DEFAULT '')", - "leaderboard_scores": "CREATE TABLE leaderboard_scores (_id INTEGER PRIMARY KEY AUTOINCREMENT,instance_id INTEGER REFERENCES leaderboard_instances (_id) NOT NULL,page_type INTEGER NOT NULL DEFAULT 0,player_id INTEGER REFERENCES players (_id),default_display_name TEXT,default_display_image_id INTEGER REFERENCES images (_id),rank INTEGER NOT NULL,display_rank TEXT NOT NULL,raw_score INTEGER NOT NULL,display_score TEXT NOT NULL,achieved_timestamp INTEGER NOT NULL,score_tag TEXT)", - "leaderboards": "CREATE TABLE leaderboards (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_leaderboard_id TEXT NOT NULL,name TEXT NOT NULL,board_icon_image_id INTEGER REFERENCES images (_id),sorting_rank INTEGER,score_order INTEGER NOT NULL)", - "local_fingerprints": "CREATE TABLE local_fingerprints (content_uri TEXT PRIMARY KEY NOT NULL, fingerprint TEXT NOT NULL)", - "local_folders": "CREATE TABLE local_folders (bucket_id TEXT UNIQUE NOT NULL)", - "local_reports": "CREATE TABLE local_reports (_id integer PRIMARY KEY AUTOINCREMENT, api integer, network_type integer, ssid text, security_type integer,bssid text, cellid text, package text, timestamp_millis integer, latency_micros integer DEFAULT -1, bytes_downloaded integer DEFAULT -1, bytes_uploaded integer DEFAULT -1, duration_millis integer DEFAULT -1, measurement_type integer DEFAULT -1, throughput_bps integer DEFAULT -1, version_code integer)", - "lru_table": "CREATE TABLE lru_table(rowkey TEXT NOT NULL PRIMARY KEY, soft_ttl_millis INTEGER, last_updated_millis INTEGER, last_requested_millis INTEGER NOT NULL, etag TEXT, value BLOB)", - "main": "CREATE TABLE main (a TEXT NOT NULL, b LONG NOT NULL, c LONG NOT NULL, d TEXT NON NULL, e TEXT NON NULL,f BLOB NOT NULL)", - "matches": "CREATE TABLE matches (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_match_id TEXT NOT NULL,creator_external TEXT NOT NULL,creation_timestamp INTEGER NOT NULL,last_updater_external TEXT,last_updated_timestamp INTEGER,pending_participant_external TEXT,data BLOB,status INTEGER NOT NULL,description TEXT,version INTEGER NOT NULL,variant INTEGER NOT NULL DEFAULT -1,notification_text TEXT,user_match_status INTEGER NOT NULL,has_automatch_criteria INTEGER NOT NULL,automatch_min_players INTEGER,automatch_max_players INTEGER,automatch_bit_mask INTEGER,automatch_wait_estimate_sec INTEGER NOT NULL DEFAULT -1,rematch_id TEXT,match_number INTEGER NOT NULL DEFAULT 1,previous_match_data BLOB,upsync_required INTEGER NOT NULL DEFAULT 0,description_participant_id TEXT)", - "matches_pending_ops": "CREATE TABLE matches_pending_ops (_id INTEGER PRIMARY KEY AUTOINCREMENT,client_context_id INTEGER REFERENCES client_contexts (_id) NOT NULL,type INTEGER NOT NULL,external_game_id TEXT NOT NULL,external_match_id TEXT,pending_participant_id TEXT,version INTEGER,is_turn INTEGER,results TEXT)", - "media_record": "CREATE TABLE media_record (_id INTEGER PRIMARY KEY AUTOINCREMENT,album_id TEXT,upload_url TEXT,bucket_id TEXT,upload_error TEXT,resume_token TEXT,event_id TEXT,fingerprint TEXT,component_name TEXT,mime_type TEXT,media_url TEXT NOT NULL,allow_full_res INTEGER NOT NULL DEFAULT 1,media_time INTEGER NOT NULL,media_hash INTEGER NOT NULL,media_id INTEGER NOT NULL,upload_time INTEGER,bytes_uploaded INTEGER,retry_end_time INTEGER NOT NULL DEFAULT 0,upload_id INTEGER,bytes_total INTEGER NOT NULL DEFAULT -1,upload_finish_time INTEGER NOT NULL DEFAULT 0,upload_account_id INTEGER NOT NULL DEFAULT -1,upload_reason INTEGER NOT NULL DEFAULT 0,upload_state INTEGER NOT NULL DEFAULT 500,upload_status INTEGER NOT NULL DEFAULT 0,upload_task_state INTEGER,from_camera INTEGER NOT NULL DEFAULT 0,is_image INTEGER NOT NULL DEFAULT 1)", - "media_tracker": "CREATE TABLE media_tracker (_id INTEGER PRIMARY KEY, volume_name TEXT NOT NULL, media_type TEXT NOT NULL,last_media_id INTEGER NOT NULL DEFAULT(0))", - "milestones": "CREATE TABLE milestones (_id INTEGER PRIMARY KEY AUTOINCREMENT,completion_reward_data BLOB,external_milestone_id TEXT NOT NULL,event_instance_id INTEGER REFERENCES event_instances (_id) NOT NULL,initial_value INTEGER NOT NULL,quest_id INTEGER REFERENCES quests (_id) NOT NULL,milestones_sorting_rank INTEGER NOT NULL,milestone_state INTEGER NOT NULL,target_value INTEGER NOT NULL)", - "notifications": "CREATE TABLE notifications (_id INTEGER PRIMARY KEY AUTOINCREMENT,notification_id TEXT,game_id INTEGER REFERENCES games (_id) NOT NULL,external_sub_id TEXT NOT NULL,type INTEGER NOT NULL,image_id INTEGER REFERENCES images (_id),ticker TEXT,title TEXT,text TEXT,coalesced_text TEXT,timestamp INTEGER NOT NULL DEFAULT -1,acknowledged INTEGER NOT NULL DEFAULT 0,alert_level INTEGER NOT NULL DEFAULT 1)", - "operations": "CREATE TABLE operations (_id INTEGER PRIMARY KEY AUTOINCREMENT,op_code INTEGER NOT NULL,write_time_millis INTEGER NOT NULL,package_id INTEGER REFERENCES packages(_id),account_id INTEGER REFERENCES accounts(_id),client_id TEXT NOT NULL,expiration_time INTEGER,network_status INTEGER NOT NULL,network_last_update_millis INTEGER NOT NULL,deletable INTEGER NOT NULL,proto BLOB)", - "override": "CREATE TABLE override (package TEXT, namespace TEXT, key TEXT, value BLOB, PRIMARY KEY (package, namespace, key))", - "overrides": "CREATE TABLE overrides (package TEXT, key TEXT, value BLOB, PRIMARY KEY (package, key))", - "packages": "CREATE TABLE packages (uid INTEGER,package_name STRING,PRIMARY KEY (uid,package_name))", - "participants": "CREATE TABLE participants (_id INTEGER PRIMARY KEY AUTOINCREMENT,match_id INTEGER REFERENCES matches (_id),invitation_id INTEGER REFERENCES invitations (_id),external_participant_id TEXT NOT NULL,player_id INTEGER REFERENCES players (_id),default_display_image_id INTEGER REFERENCES images (_id),default_display_hi_res_image_id INTEGER REFERENCES images (_id),default_display_name TEXT,player_status INTEGER NOT NULL,client_address TEXT,result_type INTEGER,placing INTEGER,connected INTEGER,capabilities INTEGER)", - "player_levels": "CREATE TABLE player_levels (_id INTEGER PRIMARY KEY AUTOINCREMENT,level_value INTEGER NOT NULL,level_min_xp INTEGER NOT NULL DEFAULT -1,level_max_xp INTEGER NOT NULL DEFAULT -1,version INTEGER NOT NULL)", - "players": "CREATE TABLE players (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_player_id TEXT NOT NULL,profile_name TEXT NOT NULL,profile_icon_image_id INTEGER REFERENCES images (_id),profile_hi_res_image_id INTEGER REFERENCES images (_id),last_updated INTEGER NOT NULL,is_in_circles INTEGER NOT NULL DEFAULT -1,current_xp_total INTEGER NOT NULL DEFAULT -1,current_level INTEGER NOT NULL DEFAULT -1,current_level_min_xp INTEGER NOT NULL DEFAULT -1,current_level_max_xp INTEGER NOT NULL DEFAULT -1,next_level INTEGER NOT NULL DEFAULT -1,next_level_max_xp INTEGER NOT NULL DEFAULT -1,last_level_up_timestamp INTEGER NOT NULL DEFAULT -1,player_title TEXT,has_all_public_acls INTEGER NOT NULL DEFAULT 1,is_profile_visible INTEGER NOT NULL DEFAULT 1,most_recent_activity_timestamp INTEGER NOT NULL DEFAULT -1,most_recent_external_game_id TEXT,most_recent_game_name TEXT,most_recent_game_icon_id INTEGER REFERENCES images (_id),most_recent_game_hi_res_id INTEGER REFERENCES images (_id),most_recent_game_featured_id INTEGER REFERENCES images (_id))", - "properties": "CREATE TABLE properties ( app_uid INTEGER NOT NULL, cid TEXT NOT NULL, tid TEXT NOT NULL, params TEXT NOT NULL, adid INTEGER NOT NULL, hits_count INTEGER NOT NULL, PRIMARY KEY (app_uid, cid, tid))", - "quests": "CREATE TABLE quests (_id INTEGER PRIMARY KEY AUTOINCREMENT,accepted_ts INTEGER NOT NULL DEFAULT -1,quest_banner_image_id INTEGER REFERENCES images (_id),quest_description TEXT NOT NULL,quest_end_ts INTEGER NOT NULL,external_quest_id TEXT NOT NULL,game_id INTEGER REFERENCES games (_id) NOT NULL,quest_icon_image_id INTEGER REFERENCES images (_id),quest_last_updated_ts INTEGER NOT NULL DEFAULT -1,quest_name TEXT NOT NULL,notified INTEGER NOT NULL DEFAULT 0,notification_ts INTEGER NOT NULL,quest_start_ts INTEGER NOT NULL,quest_state INTEGER NOT NULL,quest_type INTEGER NOT NULL)", - "registrations": "CREATE TABLE registrations (uid INTEGER,package_name STRING,subscription STRING,reg_id STRING,expiration INTEGER,PRIMARY KEY (uid,package_name,subscription) ON CONFLICT REPLACE)", - "relation": "CREATE TABLE relation (_id INTEGER PRIMARY KEY,relation_id TEXT UNIQUE NOT NULL,relation_name INTEGER,time_type INTEGER,start_time INTEGER,end_time INTEGER,proto_blob BLOB,string_key1 TEXT,string_key2 TEXT,string_key3 TEXT,version INTEGER NOT NULL,sync_state INTEGER NOT NULL,sync_state_mod_time_millis INTEGER NOT NULL)", - "relation_from": "CREATE TABLE relation_from (relation_row_id INTEGER NOT NULL,context_id TEXT NOT NULL)", - "relation_to": "CREATE TABLE relation_to (relation_row_id INTEGER NOT NULL,context_id TEXT NOT NULL)", - "removed_packages": "CREATE TABLE removed_packages (uid INTEGER,package_name STRING,PRIMARY KEY (uid,package_name))", - "request_pending_ops": "CREATE TABLE request_pending_ops (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_request_id TEXT NOT NULL,external_game_id TEXT NOT NULL,client_context_id INTEGER NOT NULL)", - "request_recipients": "CREATE TABLE request_recipients (_id INTEGER PRIMARY KEY AUTOINCREMENT,request_id INTEGER REFERENCES requests (_id) NOT NULL,player_id INTEGER REFERENCES players (_id) NOT NULL,recipient_status INTEGER NOT NULL DEFAULT 0)", - "requests": "CREATE TABLE requests (_id INTEGER PRIMARY KEY AUTOINCREMENT,external_request_id TEXT NOT NULL,game_id INTEGER REFERENCES games (_id) NOT NULL,sender_id INTEGER REFERENCES players (_id) NOT NULL,data BLOB,type INTEGER NOT NULL DEFAULT -1,creation_timestamp INTEGER NOT NULL DEFAULT 0,expiration_timestamp INTEGER NOT NULL DEFAULT 0,status INTEGER NOT NULL DEFAULT -1)", - "server_fingerprints": "CREATE TABLE server_fingerprints (_id INTEGER PRIMARY KEY, fingerprint TEXT NOT NULL, image_url TEXT, photo_id INT NOT NULL DEFAULT(0), owner_id TEXT NOT NULL, UNIQUE (owner_id, image_url), UNIQUE (owner_id, photo_id))", - "signingkeys": "CREATE TABLE signingkeys ( key_handle STRING PRIMARY KEY, public_key BLOB NOT NULL, private_key BLOB NOT NULL, creation_time INTEGER NOT NULL, expiration_time INTEGER NOT NULL )", - "snapshots": "CREATE TABLE snapshots (_id INTEGER PRIMARY KEY AUTOINCREMENT,game_id INTEGER REFERENCES games (_id) NOT NULL,owner_id INTEGER REFERENCES players (_id) NOT NULL,external_snapshot_id TEXT NOT NULL,drive_resolved_id_string TEXT,drive_resource_id_string TEXT,cover_icon_image_id INTEGER REFERENCES images (_id),title TEXT,description TEXT,last_modified_timestamp INTEGER NOT NULL DEFAULT -1,duration INTEGER NOT NULL DEFAULT -1,cover_icon_image_height INTEGER NOT NULL DEFAULT 0,cover_icon_image_width INTEGER NOT NULL DEFAULT 0,unique_name TEXT NOT NULL,visible INTEGER NOT NULL DEFAULT 1)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" - }, - "db-metadata-hashes": { - "Account143": "1921c8925235e313a92f2591f8d3c8b4", - "AccountHistory": "12e3c42fd55bf4ab2a48340e21524fb2", - "AndroidApp143": "1c1f5b6504fef44d9dc7f7cad3cefc24", - "Applications": "74ba46c998a452bc0eab7b3fc4465ce3", - "BleCharacteristics": "a947ef7298068efc3596f5a168a0f26c", - "BleDevices": "812f8b071a8fff6453491cad51599646", - "ChangeLog": "d367a9797bd366d83e4d48424bf38b48", - "ContentFileDeletionLock143": "b19e0c6048bd4ddb214e79267593331c", - "CustomProperty143": "2f1ac2c1d136185b248aee4f34fbcc48", - "DataPointRows": "b073bd25a51191881a83bd8eef36a6b7", - "DataSourceTypes": "fa031e7a8ae526b0337ca5a75100b2a9", - "DataSources": "3159a7fc6e1abd004a425a2c1f597184", - "DataTypeFields": "859905ffc96b14edb90988bcce2d79bf", - "DataTypes": "bcbcc52ce27332851b24f3d1b546465b", - "Devices": "26530038c1f8b0b66259387147194bcf", - "DriveApp143": "e56bc29f83571910d04df429ee98ec4d", - "DriveIdMapping143": "22383e11e7f9aa2eb9444ac7e12d1d6e", - "Entry143": "0bff7c52f912bc98975c9c044182a90d", - "EntryAuthorizedApp143": "1d6f7f39e83ba8ab479a329460b57dcb", - "EntryPermission143": "c77370f9300a7dac7c4964e2b8beefd3", - "FileContent143": "490d0863631c28ee29890d0b71be43ba", - "GenoaValues143": "edaef3765d79409a89a92b61a7835a04", - "ParentMapping143": "d20b75756a18580e4ecc2529c6924581", - "PartialFeed143": "332ac9127fee3f9f4f725c55f227b5d6", - "PendingAction143": "531be51d5221157c218c527f9c362a25", - "PendingCleanupAction143": "8b75e88a4ff018d54d8bab2e000ed3f4", - "PendingThumbnailUpload143": "28e49540cd9a6e84313f492ce7cbfd49", - "PendingUpload143": "bc9dfb2afc5c881ec2e9fff16b33a709", - "PersistedEvent143": "d226b646557b72e7c8ca1a301ca0d653", - "PersistedEventContent143": "eea4e453369e162f5d0fe38c09ac4d26", - "RealtimeDocumentContent143": "7f9c6014540d03dace85113668d5d5e2", - "Sessions": "ce99b3e7c27e18688309695ff43ed83e", - "Subscription143": "67ab61d745051b85e26ccdaaec93d7d7", - "Subscriptions": "d56cf36625565862ad10d27713828941", - "SyncFeed143": "eaedaf9ddfdca36c8b052be07a447d7c", - "SyncStatus": "a0e0a02b376eac6f50e3d3ba7bc8c1fb", - "Thumbnail143": "6461da595d2cf7558b6c69efe80a18ca", - "UserPermissions143": "facdec49e49be6c9e0666ff4c546e6d5", - "accounts": "628b2bc7af80a840c94ec1d472528edf", - "achievement_definitions": "8ee9ec2cecf4600f2eaccf01290aa376", - "achievement_instances": "2dc97713843110ca1a5c6a0a5ccf76a9", - "achievement_pending_ops": "abb5266642e7625d6739291fff4c793f", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "app_info": "5872aa7ed50d3f90207f39a1e2fe1b36", - "app_states": "a07d17f6016c1904183d33e1181994eb", - "application_sessions": "8791d74f0b2ca4fd4cd8db3cd2583912", - "client_contexts": "214b6222b52b25d5c65a7938d29d5c43", - "connectionConfigurations": "474cca0cbce4bc56cde84486493cb4c4", - "context": "b570b9b7cde71ce3008a6df0c6882205", - "credential": "ff1446387e16d08af6d10e9b7aee1d01", - "credential_affiliation": "383d3b94eb3d4deb28216a0a88cf798c", - "credential_app_setting": "586b3d990301e62d03c3cf0c460fe090", - "credential_setting": "1fa8123b312b54bb0fdaed71fa1db74f", - "device_features": "e87b36b9c24207e9c9f688969f763106", - "downloads": "67b9255bc5ada4b51029f379e897f289", - "encryptionkeys": "a57b94522206fe4b61a264bafa46f002", - "event_definitions": "84f1dc597190f1363f785ff9b38f51ba", - "event_instances": "114f3a7f5c43082620ef942aea3fa998", - "event_pending_ops": "dde888ec136e7b71ad8d5d6bdfdbde0c", - "exclude_bucket": "7fa77ff7871b148846e37ee15a6a905c", - "experience_events": "5a6dc9e6443728f37425da43ff70ad93", - "experiment": "89709f2881041f3f2382663fa00610a3", - "feature": "1829660b11f6712a2957588c1da9d716", - "fetch_metadata": "fa749920613c7e4bd49ebbbfd1720bc6", - "game_badges": "cab66bee9b3097cfbef89296a9b419aa", - "game_instances": "fe0554b9c37e6ff9cc27d10f08a22a7b", - "games": "0ff6f355e71737848a2399bfb2bcd566", - "hits": "3349b8714b8a8033141bf826efb6c7e5", - "hits2": "e923bd71d67ff431a43ecd9429648faf", - "images": "aeaf76f464ee6c3827c50bdce7c8dd9e", - "internal_metadata": "b7b50cd354aac9d826b6a46a4cc1ecdb", - "invitations": "e4cff3f7755ce3dd39534d3e555b8f5c", - "leaderboard_instances": "e5988589bcec0b6cd51f40974e3045f9", - "leaderboard_pending_scores": "373073a2cc0e1aed0d2238f20ace27e5", - "leaderboard_scores": "d050e33be6cfc0f767630d07e2b801ab", - "leaderboards": "f7bdaca6a987a4b59a95ec6601cb6127", - "local_fingerprints": "f87ca1a86a7cf2c498f3cd3ca18bc826", - "local_folders": "a7409ad44e92c890b11850c2799d7479", - "local_reports": "7c724e0d24937cebad00a58dc94fc341", - "lru_table": "047667bb74c68e352e01a08ff9ae0ae4", - "main": "fe108abb5ff17b3d5cf87d8347058999", - "matches": "140ea13f33c37f9c46e824be19e10420", - "matches_pending_ops": "754aa10fce0dac4d4a244f613103de50", - "media_record": "a5a54d2ac93b8aa5a8fba2f6e121633e", - "media_tracker": "ebed9f81f1c6e286d261044b770d5315", - "milestones": "180003e022262478719e93f96dfe6c75", - "notifications": "945b268f684b1a52b42cd802c7bdd660", - "operations": "f2d70c426ac228401bcff6b2e36d824f", - "override": "58ff373730fec5f3b21d6b251f0e8f93", - "overrides": "1c7ce35ab1145781807ff1e79dddd4c1", - "packages": "4578b819acc244f45ccdc7e3357410d9", - "participants": "59af785de875609bd8afd5b0d811dc0f", - "player_levels": "f25bf3356b1700e431598bb8b40bb154", - "players": "587dcef6e3aa3461dd072c1d0ae98e7b", - "properties": "6b0c0db04ef0df4f25a6e937a26ea3d3", - "quests": "0b95bca9bc6a3f5ab7fe374cc756c0b1", - "registrations": "1444d3f7d8e6b5756ea66c6cedd309d7", - "relation": "79623bbd16cc0c97ad4eabd76393b09c", - "relation_from": "eb9f03627aaa22c71bb4a9d95d5f1b39", - "relation_to": "fb572352c0f5aa6b4287aedd62950160", - "removed_packages": "49322e83d357d37324dc1d7dd0361930", - "request_pending_ops": "b197b36464dfd2c06572d248507a6eec", - "request_recipients": "5fcc4be806ed403d93b59ef8c30d0fb9", - "requests": "9227a84922a398288688e539003304af", - "server_fingerprints": "ca73236b2244c4a2762c2fcdb8c4e7d5", - "signingkeys": "dd0ded8ef7433f1bc781ed51b59eab46", - "snapshots": "aae285183766fd74d11bc18a96d3ff27", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" - }, - "db-metadata-md5": "f50245cd01ab584b374935c3b4f58186", - "tables": { - "Account143": { - "Account_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountHolderName": { - "datatype": "TEXT", - "notnull": true - }, - "documentSyncClipTime": { - "datatype": "INTEGER" - }, - "folderSyncClipTime": { - "datatype": "INTEGER" - }, - "forceFullSync": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "forceFullSyncLevel": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncChangeStamp": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastSyncTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "maxUploadSize": { - "datatype": "INTEGER", - "default": "5242880000000", - "notnull": true - }, - "minimumChangeSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "AccountHistory": { - "account_name": { - "datatype": "TEXT", - "notnull": true - }, - "change_data": { - "datatype": "TEXT" - }, - "change_type": { - "datatype": "INTEGER", - "notnull": true - }, - "event_index": { - "datatype": "INTEGER", - "notnull": true - }, - "id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - } - }, - "AndroidApp143": { - "AndroidApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "batteryUsagePreference": { - "datatype": "INTEGER", - "default": "256", - "notnull": true - }, - "certificateHash": { - "datatype": "TEXT", - "notnull": true - }, - "driveAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "networkTypePreference": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "packageName": { - "datatype": "TEXT", - "notnull": true - }, - "roamingAllowed": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - } - }, - "Applications": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "console_ids": { - "datatype": "TEXT" - }, - "details_url": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT" - }, - "package": { - "datatype": "TEXT", - "notnull": true - }, - "version": { - "datatype": "TEXT" - } - }, - "BleCharacteristics": { - "FOREIGN": { - "datatype": "KEY" - }, - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "device_id": { - "datatype": "INTEGER" - }, - "permissions": { - "datatype": "INTEGER" - }, - "properties": { - "datatype": "INTEGER" - }, - "uuid": { - "datatype": "TEXT", - "notnull": true - } - }, - "BleDevices": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "address": { - "datatype": "NOT" - }, - "device_name": { - "datatype": "TEXT" - }, - "firmware_revision": { - "datatype": "TEXT" - }, - "hardware_revision": { - "datatype": "TEXT" - }, - "manufacturer": { - "datatype": "TEXT" - }, - "model_number": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT" - }, - "software_revision": { - "datatype": "TEXT" - }, - "type": { - "datatype": "TEXT" - } - }, - "ChangeLog": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "content": { - "datatype": "BLOB", - "notnull": true - }, - "is_delete": { - "datatype": "INTEGER", - "notnull": true - }, - "last_sync_ms": { - "datatype": "INTEGER", - "default": "0" - }, - "source_table": { - "datatype": "TEXT", - "notnull": true - }, - "sync_tries": { - "datatype": "INTEGER", - "default": "0" - }, - "timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "ContentFileDeletionLock143": { - "filename": { - "datatype": "TEXT", - "primarykey": true - } - }, - "CustomProperty143": { - "CustomProperty_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "actionId": { - "datatype": "INTEGER" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "genoaValue": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "projectNumber": { - "datatype": "INTEGER" - }, - "value": { - "datatype": "TEXT" - } - }, - "DataPointRows": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_point": { - "datatype": "BLOB", - "notnull": true - }, - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources(_id)" - }, - "end_time": { - "datatype": "INTEGER", - "notnull": true - }, - "start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "DataSourceTypes": { - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources(_id)" - }, - "data_type_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataTypes(_id)" - } - }, - "DataSources": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "application_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "Applications(_id)" - }, - "device_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "Devices(_id)" - }, - "identifier": { - "datatype": "TEXT" - }, - "source_name": { - "datatype": "TEXT" - }, - "stream_name": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "TEXT" - } - }, - "DataTypeFields": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_type_id": { - "datatype": "INTEGER", - "notnull": true - }, - "field_name": { - "datatype": "TEXT", - "notnull": true - }, - "format": { - "datatype": "INTEGER", - "notnull": true - } - }, - "DataTypes": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT", - "notnull": true - } - }, - "Devices": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "make": { - "datatype": "TEXT", - "notnull": true - }, - "model": { - "datatype": "TEXT", - "notnull": true - }, - "platform_type": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER" - }, - "uid": { - "datatype": "TEXT" - }, - "version": { - "datatype": "TEXT", - "notnull": true - } - }, - "DriveApp143": { - "DriveApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "appDataRootEntryId": { - "datatype": "INTEGER" - }, - "expiryTimestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "isAppDataRootPlaceholder": { - "datatype": "INTEGER" - }, - "projectNumber": { - "datatype": "INTEGER", - "notnull": true - }, - "scopes": { - "datatype": "TEXT", - "notnull": true - } - }, - "DriveIdMapping143": { - "DriveIdMapping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "resourceId": { - "datatype": "TEXT" - } - }, - "Entry143": { - "FOREIGN": { - "datatype": "KEY" - }, - "alternateLink": { - "datatype": "TEXT" - }, - "canEdit": { - "datatype": "INTEGER", - "notnull": true - }, - "creationDate": { - "datatype": "INTEGER", - "notnull": true - }, - "customPropertiesCount": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "deletedOnServerTime": { - "datatype": "INTEGER" - }, - "description": { - "datatype": "TEXT" - }, - "embedLink": { - "datatype": "TEXT" - }, - "entryId": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "fileExtension": { - "datatype": "TEXT" - }, - "fileSize": { - "datatype": "INTEGER", - "default": "0" - }, - "folderColorRgb": { - "datatype": "TEXT" - }, - "genoaFileSize": { - "datatype": "INTEGER" - }, - "hasGenoaValues": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "hasThumbnail": { - "datatype": "INTEGER" - }, - "headRevisionId": { - "datatype": "TEXT" - }, - "inDriveSpace": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inGooglePhotosSpace": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inSyncContentHash": { - "datatype": "TEXT" - }, - "inSyncRevisionId": { - "datatype": "TEXT" - }, - "isCopyable": { - "datatype": "INTEGER" - }, - "isDeleted": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isDeletedActionId": { - "datatype": "INTEGER" - }, - "isDownloadable": { - "datatype": "INTEGER", - "notnull": true - }, - "isGooglePhotos": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isGooglePhotosRootFolder": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "isRestricted": { - "datatype": "INTEGER" - }, - "isViewed": { - "datatype": "INTEGER" - }, - "lastContentActionId": { - "datatype": "INTEGER" - }, - "lastModifiedDate": { - "datatype": "INTEGER", - "notnull": true - }, - "lastModifyingUser": { - "datatype": "INTEGER" - }, - "lastSyncSequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastViewedByMeDate": { - "datatype": "INTEGER" - }, - "localContentHash": { - "datatype": "TEXT" - }, - "md5Checksum": { - "datatype": "TEXT" - }, - "mimeType": { - "datatype": "TEXT", - "notnull": true - }, - "modifiedByMeDate": { - "datatype": "INTEGER" - }, - "originalFilename": { - "datatype": "TEXT" - }, - "ownerNames": { - "datatype": "TEXT" - }, - "ownerProjectNumber": { - "datatype": "INTEGER" - }, - "permissionVersion": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "pinned": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "quotaBytesUsed": { - "datatype": "INTEGER", - "default": "0" - }, - "recency": { - "datatype": "INTEGER" - }, - "recencyReason": { - "datatype": "TEXT" - }, - "sequenceNumber": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "shared": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "sharedWithMeDate": { - "datatype": "INTEGER" - }, - "sharingUser": { - "datatype": "INTEGER" - }, - "singletonCreatorProjectNumber": { - "datatype": "INTEGER" - }, - "starred": { - "datatype": "INTEGER", - "notnull": true - }, - "subscribed": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "title": { - "datatype": "TEXT", - "notnull": true - }, - "trashed": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "uniqueIdentifier": { - "datatype": "TEXT" - }, - "uniqueIdentifierVersion": { - "datatype": "TEXT" - }, - "unsubscribedOnServerTime": { - "datatype": "INTEGER" - }, - "userRole": { - "datatype": "TEXT" - }, - "version": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "webContentLink": { - "datatype": "TEXT" - }, - "webViewLink": { - "datatype": "TEXT" - }, - "writersCanShare": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "EntryAuthorizedApp143": { - "EntryAuthorizedApp_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "projectNumber": { - "datatype": "INTEGER", - "notnull": true - } - }, - "EntryPermission143": { - "EntryPermission_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "FOREIGN": { - "datatype": "KEY" - }, - "accountIdentifier": { - "datatype": "TEXT" - }, - "accountName": { - "datatype": "TEXT" - }, - "accountType": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "genoaIsLinkRequiredActionId": { - "datatype": "INTEGER" - }, - "genoaIsLinkRequiredValue": { - "datatype": "INTEGER" - }, - "genoaRoleActionId": { - "datatype": "INTEGER" - }, - "genoaRoleValue": { - "datatype": "INTEGER" - }, - "isLinkRequired": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "permissionId": { - "datatype": "TEXT" - }, - "photoLink": { - "datatype": "TEXT" - }, - "role": { - "datatype": "INTEGER", - "notnull": true - } - }, - "FileContent143": { - "encryptionAlgorithm": { - "datatype": "TEXT" - }, - "encryptionKey": { - "datatype": "BLOB" - }, - "hash": { - "datatype": "TEXT", - "primarykey": true - }, - "internalFileName": { - "datatype": "TEXT" - }, - "lastAccessed": { - "datatype": "INTEGER", - "notnull": true - }, - "sharedFileName": { - "datatype": "TEXT" - }, - "size": { - "datatype": "INTEGER" - } - }, - "GenoaValues143": { - "FOREIGN": { - "datatype": "KEY" - }, - "GenoaValues_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "canEditActionId": { - "datatype": "INTEGER" - }, - "canEditValue": { - "datatype": "INTEGER" - }, - "creationTimeActionId": { - "datatype": "INTEGER" - }, - "creationTimeValue": { - "datatype": "INTEGER" - }, - "descriptionActionId": { - "datatype": "INTEGER" - }, - "descriptionValue": { - "datatype": "TEXT" - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "folderColorRgbActionId": { - "datatype": "INTEGER" - }, - "folderColorRgbValue": { - "datatype": "TEXT" - }, - "inDriveSpaceActionId": { - "datatype": "INTEGER" - }, - "inDriveSpaceValue": { - "datatype": "INTEGER" - }, - "lastModifiedTimeActionId": { - "datatype": "INTEGER" - }, - "lastModifiedTimeValue": { - "datatype": "INTEGER" - }, - "lastViewedByMeDateActionId": { - "datatype": "INTEGER" - }, - "lastViewedByMeDateValue": { - "datatype": "INTEGER" - }, - "mimeTypeActionId": { - "datatype": "INTEGER" - }, - "mimeTypeValue": { - "datatype": "TEXT" - }, - "modifiedByMeTimeActionId": { - "datatype": "INTEGER" - }, - "modifiedByMeTimeValue": { - "datatype": "INTEGER" - }, - "ownerNamesActionId": { - "datatype": "INTEGER" - }, - "ownerNamesValue": { - "datatype": "TEXT" - }, - "quotaBytesUsedActionId": { - "datatype": "INTEGER" - }, - "quotaBytesUsedValue": { - "datatype": "INTEGER" - }, - "sharedActionId": { - "datatype": "INTEGER" - }, - "sharedValue": { - "datatype": "INTEGER" - }, - "sharedWithMeTimeActionId": { - "datatype": "INTEGER" - }, - "sharedWithMeTimeValue": { - "datatype": "INTEGER" - }, - "starredActionId": { - "datatype": "INTEGER" - }, - "starredValue": { - "datatype": "INTEGER" - }, - "titleActionId": { - "datatype": "INTEGER" - }, - "titleValue": { - "datatype": "TEXT" - }, - "trashedActionId": { - "datatype": "INTEGER" - }, - "trashedValue": { - "datatype": "INTEGER" - }, - "userRoleActionId": { - "datatype": "INTEGER" - }, - "userRoleValue": { - "datatype": "TEXT" - }, - "viewedActionId": { - "datatype": "INTEGER" - }, - "viewedValue": { - "datatype": "INTEGER" - }, - "writersCanShareActionId": { - "datatype": "INTEGER" - }, - "writersCanShareValue": { - "datatype": "INTEGER" - } - }, - "ParentMapping143": { - "FOREIGN": { - "datatype": "KEY" - }, - "ParentMapping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "childEntryId": { - "datatype": "INTEGER", - "notnull": true - }, - "parentEntryId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PartialFeed143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PartialFeed_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "clipTime": { - "datatype": "INTEGER", - "default": "9223372036854775807" - }, - "feedParameters": { - "datatype": "TEXT", - "notnull": true - }, - "feedType": { - "datatype": "TEXT", - "notnull": true - }, - "nextPageToken": { - "datatype": "TEXT" - }, - "numPagesRetrieved": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "PendingAction143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingAction_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "applyLocallyTimestamp": { - "datatype": "INTEGER" - }, - "attemptCount": { - "datatype": "INTEGER", - "notnull": true - }, - "payload": { - "datatype": "TEXT", - "notnull": true - }, - "requiredEntryId": { - "datatype": "INTEGER" - } - }, - "PendingCleanupAction143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingCleanupAction_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "actionId": { - "datatype": "INTEGER", - "notnull": true - }, - "actionType": { - "datatype": "TEXT", - "notnull": true - }, - "applyOnServerTime": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PendingThumbnailUpload143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingThumbnailUpload_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "actionId": { - "datatype": "INTEGER", - "notnull": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "PendingUpload143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PendingUpload_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "actionId": { - "datatype": "INTEGER" - }, - "baseContentHash": { - "datatype": "TEXT" - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "uploadUri": { - "datatype": "TEXT" - } - }, - "PersistedEvent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PersistedEvent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "attemptCount": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER" - }, - "nextNotificationTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "serializedEvent": { - "datatype": "TEXT", - "notnull": true - }, - "snoozeCount": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "PersistedEventContent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "PersistedEventContent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "persistedEventId": { - "datatype": "INTEGER", - "notnull": true - } - }, - "RealtimeDocumentContent143": { - "FOREIGN": { - "datatype": "KEY" - }, - "RealtimeDocumentContent_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "databasePath": { - "datatype": "TEXT" - }, - "driveAppId": { - "datatype": "INTEGER" - }, - "entryId": { - "datatype": "INTEGER" - }, - "hasPendingChanges": { - "datatype": "INTEGER" - }, - "historyLength": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "lastAccessed": { - "datatype": "INTEGER", - "notnull": true - }, - "localId": { - "datatype": "TEXT" - }, - "requiresSync": { - "datatype": "INTEGER" - }, - "resourceId": { - "datatype": "TEXT" - }, - "size": { - "datatype": "INTEGER" - } - }, - "Sessions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "active_time_millis": { - "datatype": "INTEGER" - }, - "activity": { - "datatype": "INTEGER", - "notnull": true - }, - "app_package": { - "datatype": "TEXT", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "end_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "identifier": { - "datatype": "TEXT" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "Subscription143": { - "FOREIGN": { - "datatype": "KEY" - }, - "Subscription_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidAppId": { - "datatype": "INTEGER", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER" - }, - "eventService": { - "datatype": "TEXT" - }, - "eventType": { - "datatype": "INTEGER", - "notnull": true - }, - "lastUpdateTime": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "packageName": { - "datatype": "TEXT" - }, - "serializedSubscriptionDetails": { - "datatype": "TEXT" - }, - "signingCertificateHash": { - "datatype": "TEXT" - } - }, - "Subscriptions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accuracy_mode": { - "datatype": "INTEGER", - "notnull": true - }, - "app_package": { - "datatype": "TEXT", - "notnull": true - }, - "data_source_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataSources (_id)" - }, - "data_type_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "DataTypes (_id)" - }, - "realm": { - "datatype": "INTEGER", - "notnull": true - }, - "sampling_delay": { - "datatype": "INTEGER", - "notnull": true - }, - "timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "SyncFeed143": { - "FOREIGN": { - "datatype": "KEY" - }, - "SyncFeed_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accountId": { - "datatype": "INTEGER", - "notnull": true - }, - "appProjectNumber": { - "datatype": "INTEGER" - }, - "clipTime": { - "datatype": "INTEGER" - }, - "nextPageToken": { - "datatype": "TEXT" - }, - "numPagesRetrieved": { - "datatype": "INTEGER", - "notnull": true - }, - "query": { - "datatype": "TEXT" - }, - "space": { - "datatype": "TEXT", - "notnull": true - } - }, - "SyncStatus": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "data_source_id": { - "datatype": "INTEGER" - }, - "is_remote": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "last_synced_time": { - "datatype": "INTEGER" - }, - "min_local_timestamp": { - "datatype": "INTEGER" - }, - "sync_token": { - "datatype": "TEXT" - } - }, - "Thumbnail143": { - "FOREIGN": { - "datatype": "KEY" - }, - "Thumbnail_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "contentHash": { - "datatype": "TEXT", - "notnull": true - }, - "entryId": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "UserPermissions143": { - "UserPermissions_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "displayName": { - "datatype": "TEXT" - }, - "emailAddress": { - "datatype": "TEXT" - }, - "isAuthenticatedUser": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "permissionsId": { - "datatype": "TEXT", - "notnull": true - }, - "pictureUrl": { - "datatype": "TEXT" - } - }, - "accounts": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "name": { - "datatype": "TEXT" - } - }, - "achievement_definitions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "definition_xp_value": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "external_achievement_id": { - "datatype": "TEXT", - "notnull": true - }, - "formatted_total_steps": { - "datatype": "TEXT" - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "initial_state": { - "datatype": "INTEGER", - "notnull": true - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "revealed_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "sorting_rank": { - "datatype": "INTEGER", - "notnull": true - }, - "total_steps": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - }, - "unlocked_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - } - }, - "achievement_instances": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "current_steps": { - "datatype": "INTEGER" - }, - "definition_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "achievement_definitions (_id)" - }, - "formatted_current_steps": { - "datatype": "TEXT" - }, - "instance_xp_value": { - "datatype": "INTEGER" - }, - "last_updated_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "player_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "state": { - "datatype": "INTEGER", - "notnull": true - } - }, - "achievement_pending_ops": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "achievement_type": { - "datatype": "INTEGER", - "notnull": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "external_achievement_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_game_id": { - "datatype": "TEXT" - }, - "external_player_id": { - "datatype": "TEXT" - }, - "min_steps_to_set": { - "datatype": "INTEGER" - }, - "new_state": { - "datatype": "INTEGER" - }, - "steps_to_increment": { - "datatype": "INTEGER" - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "app_info": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "digest_sha256": { - "datatype": "BLOB" - }, - "package_name": { - "datatype": "STRING" - }, - "pb": { - "datatype": "BLOB" - }, - "version_code": { - "datatype": "STRING" - } - }, - "app_states": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "app_id": { - "datatype": "TEXT", - "notnull": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts(_id)" - }, - "conflict_data": { - "datatype": "BLOB" - }, - "conflict_version": { - "datatype": "TEXT" - }, - "data_dirty": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "key": { - "datatype": "INTEGER", - "notnull": true - }, - "local_data": { - "datatype": "BLOB" - }, - "local_version": { - "datatype": "TEXT" - }, - "upsync_required": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "application_sessions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "end_time": { - "datatype": "INTEGER", - "notnull": true - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "session_id": { - "datatype": "TEXT", - "notnull": true - }, - "start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "client_contexts": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_name": { - "datatype": "TEXT", - "notnull": true - }, - "package_name": { - "datatype": "TEXT", - "notnull": true - }, - "package_uid": { - "datatype": "INTEGER", - "notnull": true - } - }, - "connectionConfigurations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "androidId": { - "datatype": "STRING" - }, - "connectionEnabled": { - "datatype": "INTEGER", - "notnull": true - }, - "connectionType": { - "datatype": "INTEGER", - "notnull": true - }, - "name": { - "datatype": "STRING", - "notnull": true, - "unique": true - }, - "pairedBtAddress": { - "datatype": "STRING", - "notnull": true - }, - "role": { - "datatype": "INTEGER", - "notnull": true - } - }, - "context": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "context_family": { - "datatype": "INTEGER" - }, - "context_id": { - "datatype": "TEXT" - }, - "context_name": { - "datatype": "INTEGER" - }, - "end_time": { - "datatype": "INTEGER" - }, - "module_id": { - "datatype": "TEXT", - "notnull": true - }, - "proto_blob": { - "datatype": "BLOB" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "sync_state": { - "datatype": "INTEGER", - "notnull": true - }, - "sync_state_mod_time_millis": { - "datatype": "sync_state_mod_time_millis" - }, - "time_type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "credential": { - "account_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "data": { - "datatype": "BLOB" - }, - "id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "credential_affiliation": { - "account_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "credential_id": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "domain_url": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "credential_app_setting": { - "account": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "app": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "key": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "value": { - "datatype": "TEXT" - } - }, - "credential_setting": { - "account": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "key": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "value": { - "datatype": "TEXT" - } - }, - "device_features": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "feature_name": { - "datatype": "TEXT", - "notnull": true - }, - "last_connection_timestamp": { - "datatype": "INTEGER", - "notnull": true - } - }, - "downloads": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "destination": { - "datatype": "TEXT" - }, - "dm_id": { - "datatype": "INTEGER" - }, - "enabled": { - "datatype": "INTEGER", - "default": "0" - }, - "filename": { - "datatype": "TEXT", - "notnull": true - }, - "maxVersion": { - "datatype": "INTEGER" - }, - "minVersion": { - "datatype": "INTEGER" - }, - "notificationDescription": { - "datatype": "TEXT" - }, - "notificationTitle": { - "datatype": "TEXT" - }, - "retries": { - "datatype": "INTEGER", - "default": "0" - }, - "sha1": { - "datatype": "TEXT", - "notnull": true - }, - "sizeBytes": { - "datatype": "INTEGER", - "notnull": true - }, - "url": { - "datatype": "TEXT", - "notnull": true - } - }, - "encryptionkeys": { - "account": { - "datatype": "STRING", - "notnull": true - }, - "creation_time": { - "datatype": "INTEGER", - "notnull": true - }, - "expiration_time": { - "datatype": "INTEGER", - "notnull": true - }, - "key_handle": { - "datatype": "INTEGER", - "primarykey": true - }, - "master_key": { - "datatype": "BLOB", - "notnull": true - } - }, - "event_definitions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "description": { - "datatype": "TEXT" - }, - "event_definitions_game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "external_event_id": { - "datatype": "TEXT", - "notnull": true - }, - "icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "sorting_rank": { - "datatype": "INTEGER" - }, - "visibility": { - "datatype": "INTEGER" - } - }, - "event_instances": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "definition_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "event_definitions (_id)" - }, - "formatted_value": { - "datatype": "TEXT" - }, - "last_updated_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "player_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "value": { - "datatype": "INTEGER" - } - }, - "event_pending_ops": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "increment": { - "datatype": "INTEGER" - }, - "instance_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "event_instances (_id)" - }, - "request_id": { - "datatype": "INTEGER", - "default": "0" - }, - "window_end_time": { - "datatype": "INTEGER", - "notnull": true - }, - "window_start_time": { - "datatype": "INTEGER", - "notnull": true - } - }, - "exclude_bucket": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "bucket_id": { - "datatype": "TEXT" - } - }, - "experience_events": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "created_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "current_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "display_description": { - "datatype": "TEXT", - "notnull": true - }, - "display_string": { - "datatype": "TEXT", - "notnull": true - }, - "display_title": { - "datatype": "TEXT", - "notnull": true - }, - "external_experience_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "icon_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "newLevel": { - "datatype": "INTEGER", - "notnull": true - }, - "type": { - "datatype": "INTEGER", - "notnull": true - }, - "xp_earned": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "experiment": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "namespace": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "feature": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "account_id": { - "datatype": "TEXT" - }, - "end_time": { - "datatype": "INTEGER" - }, - "proto_blob": { - "datatype": "BLOB" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "time_type": { - "datatype": "INTEGER" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "fetch_metadata": { - "app_context_digest": { - "datatype": "BLOB" - }, - "device_context_digest": { - "datatype": "BLOB" - }, - "namespace_digest": { - "datatype": "TEXT" - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "recent_failure_times": { - "datatype": "TEXT" - }, - "recent_success_times": { - "datatype": "TEXT" - } - }, - "game_badges": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "badge_description": { - "datatype": "TEXT" - }, - "badge_game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "badge_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "badge_title": { - "datatype": "TEXT", - "notnull": true - }, - "badge_type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "game_instances": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "installed": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "instance_display_name": { - "datatype": "TEXT", - "notnull": true - }, - "instance_game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "package_name": { - "datatype": "TEXT" - }, - "piracy_check": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "platform_type": { - "datatype": "INTEGER", - "notnull": true - }, - "preferred": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "real_time_support": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "turn_based_support": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - }, - "games": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "achievement_total_count": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "availability": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "developer_name": { - "datatype": "TEXT" - }, - "display_name": { - "datatype": "TEXT", - "notnull": true - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "featured_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "formatted_full_price": { - "datatype": "TEXT" - }, - "formatted_price": { - "datatype": "TEXT" - }, - "full_price_micros": { - "datatype": "INTEGER" - }, - "game_description": { - "datatype": "TEXT" - }, - "game_hi_res_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "game_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "gameplay_acl_status": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "identity_sharing_confirmed": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "last_connection_local_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "last_played_server_time": { - "datatype": "INTEGER" - }, - "last_synced_local_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "leaderboard_count": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "metadata_sync_requested": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "metadata_version": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "muted": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "owned": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "play_enabled_game": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "price_micros": { - "datatype": "INTEGER" - }, - "primary_category": { - "datatype": "TEXT" - }, - "secondary_category": { - "datatype": "TEXT" - }, - "snapshots_enabled": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "target_instance": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "game_instances (_id)" - }, - "theme_color": { - "datatype": "TEXT", - "notnull": true - } - }, - "hits": { - "hit_app_id": { - "datatype": "TEXT" - }, - "hit_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "hit_string": { - "datatype": "TEXT", - "notnull": true - }, - "hit_time": { - "datatype": "INTEGER", - "notnull": true - }, - "hit_url": { - "datatype": "TEXT", - "notnull": true - } - }, - "hits2": { - "hit_app_id": { - "datatype": "INTEGER" - }, - "hit_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "hit_string": { - "datatype": "TEXT", - "notnull": true - }, - "hit_time": { - "datatype": "INTEGER", - "notnull": true - }, - "hit_url": { - "datatype": "TEXT", - "notnull": true - } - }, - "images": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "download_timestamp": { - "datatype": "INTEGER" - }, - "filesize": { - "datatype": "INTEGER" - }, - "local": { - "datatype": "INTEGER", - "notnull": true - }, - "url": { - "datatype": "TEXT" - } - }, - "internal_metadata": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "invitations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "automatch_max_players": { - "datatype": "INTEGER" - }, - "automatch_min_players": { - "datatype": "INTEGER" - }, - "creation_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "external_invitation_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_inviter_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "has_automatch_criteria": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "inviter_in_circles": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "last_modified_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "type": { - "datatype": "INTEGER", - "notnull": true - }, - "variant": { - "datatype": "INTEGER", - "notnull": true - } - }, - "leaderboard_instances": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "collection": { - "datatype": "INTEGER", - "notnull": true - }, - "leaderboard_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "leaderboards (_id)" - }, - "player_display_rank": { - "datatype": "TEXT" - }, - "player_display_score": { - "datatype": "TEXT" - }, - "player_rank": { - "datatype": "INTEGER" - }, - "player_raw_score": { - "datatype": "INTEGER" - }, - "player_score_tag": { - "datatype": "TEXT" - }, - "timespan": { - "datatype": "INTEGER", - "notnull": true - }, - "top_page_token_next": { - "datatype": "TEXT" - }, - "total_scores": { - "datatype": "INTEGER" - }, - "window_page_token_next": { - "datatype": "TEXT" - }, - "window_page_token_prev": { - "datatype": "TEXT" - } - }, - "leaderboard_pending_scores": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "achieved_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_leaderboard_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_player_id": { - "datatype": "TEXT", - "notnull": true - }, - "raw_score": { - "datatype": "INTEGER", - "notnull": true - }, - "score_tag": { - "datatype": "TEXT" - }, - "signature": { - "datatype": "TEXT", - "notnull": true - } - }, - "leaderboard_scores": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "achieved_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "default_display_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "default_display_name": { - "datatype": "TEXT" - }, - "display_rank": { - "datatype": "TEXT", - "notnull": true - }, - "display_score": { - "datatype": "TEXT", - "notnull": true - }, - "instance_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "leaderboard_instances (_id)" - }, - "page_type": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "player_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "players (_id)" - }, - "rank": { - "datatype": "INTEGER", - "notnull": true - }, - "raw_score": { - "datatype": "INTEGER", - "notnull": true - }, - "score_tag": { - "datatype": "TEXT" - } - }, - "leaderboards": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "board_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "external_leaderboard_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "name": { - "datatype": "TEXT", - "notnull": true - }, - "score_order": { - "datatype": "INTEGER", - "notnull": true - }, - "sorting_rank": { - "datatype": "INTEGER" - } - }, - "local_fingerprints": { - "content_uri": { - "datatype": "TEXT", - "primarykey": true - }, - "fingerprint": { - "datatype": "TEXT", - "notnull": true - } - }, - "local_folders": { - "bucket_id": { - "datatype": "TEXT" - } - }, - "local_reports": { - "_id": { - "autoincrement": true, - "datatype": "integer", - "primarykey": true - }, - "api": { - "datatype": "integer" - }, - "bssid": { - "datatype": "text" - }, - "bytes_downloaded": { - "datatype": "integer" - }, - "bytes_uploaded": { - "datatype": "integer" - }, - "cellid": { - "datatype": "text" - }, - "duration_millis": { - "datatype": "integer" - }, - "latency_micros": { - "datatype": "integer" - }, - "measurement_type": { - "datatype": "integer" - }, - "network_type": { - "datatype": "integer" - }, - "package": { - "datatype": "text" - }, - "security_type": { - "datatype": "integer" - }, - "ssid": { - "datatype": "text" - }, - "throughput_bps": { - "datatype": "integer" - }, - "timestamp_millis": { - "datatype": "integer" - }, - "version_code": { - "datatype": "integer" - } - }, - "lru_table": { - "etag": { - "datatype": "TEXT" - }, - "last_requested_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "last_updated_millis": { - "datatype": "INTEGER" - }, - "rowkey": { - "datatype": "TEXT", - "notnull": true - }, - "soft_ttl_millis": { - "datatype": "INTEGER" - }, - "value": { - "datatype": "BLOB" - } - }, - "main": { - "a": { - "datatype": "TEXT", - "notnull": true - }, - "b": { - "datatype": "LONG", - "notnull": true - }, - "c": { - "datatype": "LONG", - "notnull": true - }, - "d": { - "datatype": "TEXT" - }, - "e": { - "datatype": "TEXT" - }, - "f": { - "datatype": "BLOB", - "notnull": true - } - }, - "matches": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "automatch_bit_mask": { - "datatype": "INTEGER" - }, - "automatch_max_players": { - "datatype": "INTEGER" - }, - "automatch_min_players": { - "datatype": "INTEGER" - }, - "automatch_wait_estimate_sec": { - "datatype": "INTEGER", - "notnull": true - }, - "creation_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "creator_external": { - "datatype": "TEXT", - "notnull": true - }, - "data": { - "datatype": "BLOB" - }, - "description": { - "datatype": "TEXT" - }, - "description_participant_id": { - "datatype": "TEXT" - }, - "external_match_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "has_automatch_criteria": { - "datatype": "INTEGER", - "notnull": true - }, - "last_updated_timestamp": { - "datatype": "INTEGER" - }, - "last_updater_external": { - "datatype": "TEXT" - }, - "match_number": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "notification_text": { - "datatype": "TEXT" - }, - "pending_participant_external": { - "datatype": "TEXT" - }, - "previous_match_data": { - "datatype": "BLOB" - }, - "rematch_id": { - "datatype": "TEXT" - }, - "status": { - "datatype": "INTEGER", - "notnull": true - }, - "upsync_required": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "user_match_status": { - "datatype": "INTEGER", - "notnull": true - }, - "variant": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "matches_pending_ops": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "client_contexts (_id)" - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_match_id": { - "datatype": "TEXT" - }, - "is_turn": { - "datatype": "INTEGER" - }, - "pending_participant_id": { - "datatype": "TEXT" - }, - "results": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER" - } - }, - "media_record": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "album_id": { - "datatype": "TEXT" - }, - "allow_full_res": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "bucket_id": { - "datatype": "TEXT" - }, - "bytes_total": { - "datatype": "INTEGER", - "notnull": true - }, - "bytes_uploaded": { - "datatype": "INTEGER" - }, - "component_name": { - "datatype": "TEXT" - }, - "event_id": { - "datatype": "TEXT" - }, - "fingerprint": { - "datatype": "TEXT" - }, - "from_camera": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "is_image": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "media_hash": { - "datatype": "INTEGER", - "notnull": true - }, - "media_id": { - "datatype": "INTEGER", - "notnull": true - }, - "media_time": { - "datatype": "INTEGER", - "notnull": true - }, - "media_url": { - "datatype": "TEXT", - "notnull": true - }, - "mime_type": { - "datatype": "TEXT" - }, - "resume_token": { - "datatype": "TEXT" - }, - "retry_end_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "upload_account_id": { - "datatype": "INTEGER", - "notnull": true - }, - "upload_error": { - "datatype": "TEXT" - }, - "upload_finish_time": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "upload_id": { - "datatype": "INTEGER" - }, - "upload_reason": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "upload_state": { - "datatype": "INTEGER", - "default": "500", - "notnull": true - }, - "upload_status": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "upload_task_state": { - "datatype": "INTEGER" - }, - "upload_time": { - "datatype": "INTEGER" - }, - "upload_url": { - "datatype": "TEXT" - } - }, - "media_tracker": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "last_media_id": { - "datatype": "INTEGER", - "notnull": true - }, - "media_type": { - "datatype": "TEXT", - "notnull": true - }, - "volume_name": { - "datatype": "TEXT", - "notnull": true - } - }, - "milestones": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "completion_reward_data": { - "datatype": "BLOB" - }, - "event_instance_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "event_instances (_id)" - }, - "external_milestone_id": { - "datatype": "TEXT", - "notnull": true - }, - "initial_value": { - "datatype": "INTEGER", - "notnull": true - }, - "milestone_state": { - "datatype": "INTEGER", - "notnull": true - }, - "milestones_sorting_rank": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "quests (_id)" - }, - "target_value": { - "datatype": "INTEGER", - "notnull": true - } - }, - "notifications": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "acknowledged": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "alert_level": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "coalesced_text": { - "datatype": "TEXT" - }, - "external_sub_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "notification_id": { - "datatype": "TEXT" - }, - "text": { - "datatype": "TEXT" - }, - "ticker": { - "datatype": "TEXT" - }, - "timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "title": { - "datatype": "TEXT" - }, - "type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "operations": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "account_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "accounts(_id)" - }, - "client_id": { - "datatype": "TEXT", - "notnull": true - }, - "deletable": { - "datatype": "INTEGER", - "notnull": true - }, - "expiration_time": { - "datatype": "INTEGER" - }, - "network_last_update_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "network_status": { - "datatype": "INTEGER", - "notnull": true - }, - "op_code": { - "datatype": "INTEGER", - "notnull": true - }, - "package_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "packages(_id)" - }, - "proto": { - "datatype": "BLOB" - }, - "write_time_millis": { - "datatype": "INTEGER", - "notnull": true - } - }, - "override": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "namespace": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "overrides": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "package": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "BLOB" - } - }, - "packages": { - "package_name": { - "datatype": "STRING", - "primarykey": true - }, - "uid": { - "datatype": "INTEGER", - "primarykey": true - } - }, - "participants": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "capabilities": { - "datatype": "INTEGER" - }, - "client_address": { - "datatype": "TEXT" - }, - "connected": { - "datatype": "INTEGER" - }, - "default_display_hi_res_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "default_display_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "default_display_name": { - "datatype": "TEXT" - }, - "external_participant_id": { - "datatype": "TEXT", - "notnull": true - }, - "invitation_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "invitations (_id)" - }, - "match_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "matches (_id)" - }, - "placing": { - "datatype": "INTEGER" - }, - "player_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "players (_id)" - }, - "player_status": { - "datatype": "INTEGER", - "notnull": true - }, - "result_type": { - "datatype": "INTEGER" - } - }, - "player_levels": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "level_max_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "level_min_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "level_value": { - "datatype": "INTEGER", - "notnull": true - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "players": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "current_level": { - "datatype": "INTEGER", - "notnull": true - }, - "current_level_max_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "current_level_min_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "current_xp_total": { - "datatype": "INTEGER", - "notnull": true - }, - "external_player_id": { - "datatype": "TEXT", - "notnull": true - }, - "has_all_public_acls": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "is_in_circles": { - "datatype": "INTEGER", - "notnull": true - }, - "is_profile_visible": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - }, - "last_level_up_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "last_updated": { - "datatype": "INTEGER", - "notnull": true - }, - "most_recent_activity_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "most_recent_external_game_id": { - "datatype": "TEXT" - }, - "most_recent_game_featured_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "most_recent_game_hi_res_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "most_recent_game_icon_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "most_recent_game_name": { - "datatype": "TEXT" - }, - "next_level": { - "datatype": "INTEGER", - "notnull": true - }, - "next_level_max_xp": { - "datatype": "INTEGER", - "notnull": true - }, - "player_title": { - "datatype": "TEXT" - }, - "profile_hi_res_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "profile_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "profile_name": { - "datatype": "TEXT", - "notnull": true - } - }, - "properties": { - "adid": { - "datatype": "INTEGER", - "notnull": true - }, - "app_uid": { - "datatype": "INTEGER", - "notnull": true, - "primarykey": true - }, - "cid": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - }, - "hits_count": { - "datatype": "INTEGER", - "notnull": true - }, - "params": { - "datatype": "TEXT", - "notnull": true - }, - "tid": { - "datatype": "TEXT", - "notnull": true, - "primarykey": true - } - }, - "quests": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "accepted_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "external_quest_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "notification_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "notified": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "quest_banner_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "quest_description": { - "datatype": "TEXT", - "notnull": true - }, - "quest_end_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "quest_last_updated_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_name": { - "datatype": "TEXT", - "notnull": true - }, - "quest_start_ts": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_state": { - "datatype": "INTEGER", - "notnull": true - }, - "quest_type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "registrations": { - "expiration": { - "datatype": "INTEGER" - }, - "package_name": { - "datatype": "STRING", - "primarykey": true - }, - "reg_id": { - "datatype": "STRING" - }, - "subscription": { - "datatype": "STRING", - "primarykey": true - }, - "uid": { - "datatype": "INTEGER", - "primarykey": true - } - }, - "relation": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "end_time": { - "datatype": "INTEGER" - }, - "proto_blob": { - "datatype": "BLOB" - }, - "relation_id": { - "datatype": "TEXT" - }, - "relation_name": { - "datatype": "INTEGER" - }, - "start_time": { - "datatype": "INTEGER" - }, - "string_key1": { - "datatype": "TEXT" - }, - "string_key2": { - "datatype": "TEXT" - }, - "string_key3": { - "datatype": "TEXT" - }, - "sync_state": { - "datatype": "INTEGER", - "notnull": true - }, - "sync_state_mod_time_millis": { - "datatype": "INTEGER", - "notnull": true - }, - "time_type": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "INTEGER", - "notnull": true - } - }, - "relation_from": { - "context_id": { - "datatype": "TEXT", - "notnull": true - }, - "relation_row_id": { - "datatype": "INTEGER", - "notnull": true - } - }, - "relation_to": { - "context_id": { - "datatype": "TEXT", - "notnull": true - }, - "relation_row_id": { - "datatype": "INTEGER", - "notnull": true - } - }, - "removed_packages": { - "package_name": { - "datatype": "STRING", - "primarykey": true - }, - "uid": { - "datatype": "INTEGER", - "primarykey": true - } - }, - "request_pending_ops": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "client_context_id": { - "datatype": "INTEGER", - "notnull": true - }, - "external_game_id": { - "datatype": "TEXT", - "notnull": true - }, - "external_request_id": { - "datatype": "TEXT", - "notnull": true - } - }, - "request_recipients": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "player_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "recipient_status": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "request_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "requests (_id)" - } - }, - "requests": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "creation_timestamp": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "data": { - "datatype": "BLOB" - }, - "expiration_timestamp": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "external_request_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "sender_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "status": { - "datatype": "INTEGER", - "notnull": true - }, - "type": { - "datatype": "INTEGER", - "notnull": true - } - }, - "server_fingerprints": { - "_id": { - "datatype": "INTEGER", - "primarykey": true - }, - "fingerprint": { - "datatype": "TEXT", - "notnull": true - }, - "image_url": { - "datatype": "TEXT", - "unique": true - }, - "owner_id": { - "datatype": "TEXT", - "notnull": true, - "unique": true - }, - "photo_id": { - "datatype": "INT", - "notnull": true, - "unique": true - } - }, - "signingkeys": { - "creation_time": { - "datatype": "INTEGER", - "notnull": true - }, - "expiration_time": { - "datatype": "INTEGER", - "notnull": true - }, - "key_handle": { - "datatype": "STRING", - "primarykey": true - }, - "private_key": { - "datatype": "BLOB", - "notnull": true - }, - "public_key": { - "datatype": "BLOB", - "notnull": true - } - }, - "snapshots": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "cover_icon_image_height": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "cover_icon_image_id": { - "datatype": "INTEGER", - "references": true, - "referencesdata": "images (_id)" - }, - "cover_icon_image_width": { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "description": { - "datatype": "TEXT" - }, - "drive_resolved_id_string": { - "datatype": "TEXT" - }, - "drive_resource_id_string": { - "datatype": "TEXT" - }, - "duration": { - "datatype": "INTEGER", - "notnull": true - }, - "external_snapshot_id": { - "datatype": "TEXT", - "notnull": true - }, - "game_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "games (_id)" - }, - "last_modified_timestamp": { - "datatype": "INTEGER", - "notnull": true - }, - "owner_id": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "players (_id)" - }, - "title": { - "datatype": "TEXT" - }, - "unique_name": { - "datatype": "TEXT", - "notnull": true - }, - "visible": { - "datatype": "INTEGER", - "default": "1", - "notnull": true - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data_mod/com.google.android.youtube__youtube_upload_service__dbfp.json b/tests/fp_data_mod/com.google.android.youtube__youtube_upload_service__dbfp.json deleted file mode 100644 index 2fcf28c..0000000 --- a/tests/fp_data_mod/com.google.android.youtube__youtube_upload_service__dbfp.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "_file-metadata": { - "app-name": "com.google.android.youtube", - "app-ver": "", - "dn-name": "com.google.android.youtube/databases/youtube_upload_service", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192852", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "OfflineHttpRequestProto": "CREATE TABLE OfflineHttpRequestProto (insertionOrder INTEGER PRIMARY KEY AUTOINCREMENT,key TEXT KEY,value BLOB NOT NULL,sortingValue INTEGER NOT NULL)", - "ScheduledTaskProto": "CREATE TABLE ScheduledTaskProto (insertionOrder INTEGER PRIMARY KEY AUTOINCREMENT,key TEXT KEY,value BLOB NOT NULL,sortingValue INTEGER NOT NULL)", - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "conversiontracking": "CREATE TABLE conversiontracking ( conversion_ping_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, string_url TEXT NOT NULL, preference_key TEXT, is_repeatable INTEGER, parameter_is_null INTEGER, preference_name TEXT, record_time INTEGER, retry_count INTEGER,last_retry_time INTEGER)", - "identity": "CREATE TABLE identity (account TEXT,gaia_id TEXT,profile_display_name TEXT,profile_display_email TEXT,profile_thumbnail_uri TEXT, id TEXT, profile_account_name_proto BLOB, profile_account_photo_thumbnails_proto BLOB, profile_mobile_banner_thumbnails_proto BLOB, PRIMARY KEY (account,gaia_id) ON CONFLICT REPLACE)", - "job_storage_jobs": "CREATE TABLE job_storage_jobs (id TEXT PRIMARY KEY,version INTEGER,data BLOB)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)", - "transfers": "CREATE TABLE transfers (file_path TEXT PRIMARY KEY,network_uri TEXT,status INTEGER,status_reason INTEGER,bytes_transferred BIGINT,bytes_total BIGINT,extras BLOB,output_extras BLOB, accountname TEXT,priority INTEGER DEFAULT 0)" - }, - "db-metadata-hashes": { - "OfflineHttpRequestProto": "0000915fb22c0efd19d6988215982a1a", - "ScheduledTaskProto": "a7ab77c5a21f710f0c09cb21b94af96d", - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "conversiontracking": "2d5e7b14fcfc7d6becaedd80a5724950", - "identity": "edbf13b39a21f0dbf03efc18075a448c", - "job_storage_jobs": "f93029d627e2eb12f8154054a339042e", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2", - "transfers": "0000f0b7868db82186d659eb188d92e8" - }, - "db-metadata-md5": "f98759e0299e5e9283a0f6997b79faa8", - "tables": { - "OfflineHttpRequestProto": { - "insertionOrder": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "key": { - "datatype": "TEXT" - }, - "sortingValue": { - "datatype": "INTEGER", - "notnull": true - }, - "value": { - "datatype": "BLOB", - "notnull": true - } - }, - "ScheduledTaskProto": { - "key": { - "datatype": "TEXT" - }, - "sortingValue": { - "datatype": "INTEGER", - "notnull": true - }, - "value": { - "datatype": "BLOB", - "notnull": true - } - }, - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "conversiontracking": { - "conversion_ping_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "is_repeatable": { - "datatype": "INTEGER" - }, - "last_retry_time": { - "datatype": "INTEGER" - }, - "parameter_is_null": { - "datatype": "INTEGER" - }, - "preference_key": { - "datatype": "TEXT" - }, - "preference_name": { - "datatype": "TEXT" - }, - "record_time": { - "datatype": "INTEGER" - }, - "retry_count": { - "datatype": "INTEGER" - }, - "string_url": { - "datatype": "TEXT", - "notnull": true - } - }, - "identity": { - "account": { - "datatype": "TEXT", - "primarykey": true - }, - "gaia_id": { - "datatype": "TEXT", - "primarykey": true - }, - "id": { - "datatype": "TEXT" - }, - "profile_account_name_proto": { - "datatype": "BLOB" - }, - "profile_account_photo_thumbnails_proto": { - "datatype": "BLOB" - }, - "profile_display_email": { - "datatype": "TEXT" - }, - "profile_display_name": { - "datatype": "TEXT" - }, - "profile_mobile_banner_thumbnails_proto": { - "datatype": "BLOB" - }, - "profile_thumbnail_uri": { - "datatype": "TEXT" - } - }, - "job_storage_jobs": { - "data": { - "datatype": "BLOB" - }, - "id": { - "datatype": "TEXT", - "primarykey": true - }, - "version": { - "datatype": "INTEGER" - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - }, - "transfers": { - "accountname": { - "datatype": "TEXT" - }, - "bytes_total": { - "datatype": "BIGINT" - }, - "bytes_transferred": { - "datatype": "BIGINT" - }, - "extras": { - "datatype": "BLOB" - }, - "file_path": { - "datatype": "TEXT", - "primarykey": true - }, - "addedField1" : { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "addedField2" : { - "datatype": "INTEGER", - "default": "0", - "notnull": true - }, - "addedField3" : { - "datatype": "INTEGER", - "default": "0", - "notnull": true - } - } - } -} \ No newline at end of file diff --git a/tests/fp_data_mod/tv.periscope.android__com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite__dbfp.json b/tests/fp_data_mod/tv.periscope.android__com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite__dbfp.json deleted file mode 100644 index 8684678..0000000 --- a/tests/fp_data_mod/tv.periscope.android__com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite__dbfp.json +++ /dev/null @@ -1,328 +0,0 @@ -{ - "_file-metadata": { - "app-name": "tv.periscope.android", - "app-ver": "", - "dn-name": "com.localytics.android.c685a165210ff465709ae8d359bef6c90f17a12f344206db16d6f2f7f129e34f.profile.sqlite", - "format-ver": "0.91", - "notes": "", - "scan-date": "2015-12-10_192853", - "scanner-name": "dbfp", - "scanner-ver": "0.90" - }, - "db-metadata": { - "android_metadata": "CREATE TABLE android_metadata (locale TEXT)", - "changes": "CREATE TABLE changes (_id INTEGER PRIMARY KEY AUTOINCREMENT, scope TEXT NOT NULL, change TEXT NOT NULL, customer_id TEXT NOT NULL)", - "custom_dimensions": "CREATE TABLE custom_dimensions (custom_dimension_key TEXT PRIMARY KEY, custom_dimension_value TEXT NOT NULL)", - "events": "CREATE TABLE events (_id INTEGER PRIMARY KEY AUTOINCREMENT, blob TEXT NOT NULL, upload_format INTEGER NOT NULL)", - "identifiers": "CREATE TABLE identifiers (key TEXT PRIMARY KEY, value TEXT NOT NULL)", - "info": "CREATE TABLE info (_id INTEGER PRIMARY KEY AUTOINCREMENT, api_key TEXT UNIQUE NOT NULL, uuid TEXT UNIQUE NOT NULL, created_time INTEGER NOT NULL CHECK (created_time >= 0), opt_out INTEGER NOT NULL CHECK(opt_out IN (0, 1)), push_disabled INTEGER NOT NULL CHECK(push_disabled IN (0, 1)), sender_id TEXT, registration_id TEXT, registration_version TEXT, customer_id TEXT, user_type TEXT, fb_attribution TEXT, play_attribution TEXT, first_android_id TEXT, first_advertising_id TEXT, package_name TEXT, app_version TEXT, current_session_uuid TEXT, last_session_open_time INTEGER CHECK (last_session_open_time >= 0), last_session_close_time INTEGER CHECK (last_session_close_time >= 0), next_session_number INTEGER NOT NULL CHECK (next_session_number >= 0), next_header_number INTEGER NOT NULL CHECK (next_header_number >= 0), queued_close_session_blob TEXT, queued_close_session_blob_upload_format INTEGER, first_open_event_blob TEXT)", - "marketing_condition_values": "CREATE TABLE marketing_condition_values (_id INTEGER PRIMARY KEY AUTOINCREMENT, value TEXT NOT NULL, condition_id_ref INTEGER REFERENCES marketing_conditions(_id) NOT NULL)", - "marketing_conditions": "CREATE TABLE marketing_conditions (_id INTEGER PRIMARY KEY AUTOINCREMENT, attribute_name TEXT NOT NULL, operator TEXT NOT NULL, rule_id_ref INTEGER REFERENCES marketing_rules(_id) NOT NULL)", - "marketing_displayed": "CREATE TABLE marketing_displayed (campaign_id INTEGER PRIMARY KEY)", - "marketing_ruleevent": "CREATE TABLE marketing_ruleevent (_id INTEGER PRIMARY KEY AUTOINCREMENT, event_name TEXT NOT NULL, rule_id_ref INTEGER REFERENCES marketing_rules(_id) NOT NULL)", - "marketing_rules": "CREATE TABLE marketing_rules (_id INTEGER PRIMARY KEY AUTOINCREMENT, campaign_id INTEGER NOT NULL, expiration INTEGER NOT NULL, display_seconds INTEGER, display_session INTEGER, version TEXT NOT NULL, phone_location TEXT NOT NULL, phone_size_width INTEGER NOT NULL, phone_size_height INTEGER NOT NULL, tablet_location TEXT NOT NULL, tablet_size_width INTEGER NOT NULL, tablet_size_height INTEGER NOT NULL, time_to_display INTEGER, internet_required INTEGER NOT NULL, ab_test TEXT, rule_name TEXT UNIQUE NOT NULL, location TEXT NOT NULL, devices TEXT NOT NULL, rule_name_non_unique TEXT)", - "sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)" - }, - "db-metadata-hashes": { - "android_metadata": "ba739eb03730e563915f2f76b26ced51", - "changes": "622d589d10fb633aeba8bc2a1411dfe5", - "custom_dimensions": "d661f16cd6b94695eb06190c12e6f070", - "events": "fe7f6ea84bf8ea1cb59f60528fcc71bf", - "identifiers": "2f1cd3ec169f81f477aed964866cb033", - "info": "f06a8e20243c3517e732e1996d81cbee", - "marketing_condition_values": "2aa49e6195c3d4f0a3346cac9dae6cd8", - "marketing_conditions": "433b737da03ddb1dbc5900729e9848b5", - "marketing_displayed": "bb588a3e91d8a6d8b7a602289723d403", - "marketing_ruleevent": "8d27531bc1968246f6a0cf822c3bd980", - "marketing_rules": "0f0965f5677afc5c31bff7e71dcab317", - "sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2" - }, - "db-metadata-md5": "b6afb87fe25b289135b5a858a379bc99", - "tables": { - "android_metadata": { - "locale": { - "datatype": "TEXT" - } - }, - "changes": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "change": { - "datatype": "TEXT", - "notnull": true - }, - "customer_id": { - "datatype": "TEXT", - "notnull": true - }, - "scope": { - "datatype": "TEXT", - "notnull": true - } - }, - "custom_dimensions": { - "custom_dimension_key": { - "datatype": "TEXT", - "primarykey": true - }, - "custom_dimension_value": { - "datatype": "TEXT", - "notnull": true - } - }, - "events": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "blob": { - "datatype": "TEXT", - "notnull": true - }, - "upload_format": { - "datatype": "INTEGER", - "notnull": true - } - }, - "identifiers": { - "key": { - "datatype": "TEXT", - "primarykey": true - }, - "value": { - "datatype": "TEXT", - "notnull": true - } - }, - "info": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "api_key": { - "datatype": "TEXT" - }, - "app_version": { - "datatype": "TEXT" - }, - "created_time": { - "datatype": "INTEGER", - "notnull": true - }, - "current_session_uuid": { - "datatype": "TEXT" - }, - "customer_id": { - "datatype": "TEXT" - }, - "fb_attribution": { - "datatype": "TEXT" - }, - "first_advertising_id": { - "datatype": "TEXT" - }, - "first_android_id": { - "datatype": "TEXT" - }, - "first_open_event_blob": { - "datatype": "TEXT" - }, - "last_session_close_time": { - "datatype": "INTEGER" - }, - "last_session_open_time": { - "datatype": "INTEGER" - }, - "next_header_number": { - "datatype": "INTEGER", - "notnull": true - }, - "next_session_number": { - "datatype": "INTEGER", - "notnull": true - }, - "opt_out": { - "datatype": "INTEGER", - "notnull": true - }, - "package_name": { - "datatype": "TEXT" - }, - "play_attribution": { - "datatype": "TEXT" - }, - "push_disabled": { - "datatype": "INTEGER", - "notnull": true - }, - "queued_close_session_blob": { - "datatype": "TEXT" - }, - "queued_close_session_blob_upload_format": { - "datatype": "INTEGER" - }, - "registration_id": { - "datatype": "TEXT" - }, - "registration_version": { - "datatype": "TEXT" - }, - "sender_id": { - "datatype": "TEXT" - }, - "user_type": { - "datatype": "TEXT" - }, - "uuid": { - "datatype": "TEXT" - } - }, - "marketing_condition_values": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "condition_id_ref": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "marketing_conditions(_id)" - }, - "value": { - "datatype": "TEXT", - "notnull": true - } - }, - "marketing_conditions": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "attribute_name": { - "datatype": "TEXT", - "notnull": true - }, - "operator": { - "datatype": "TEXT", - "notnull": true - }, - "rule_id_ref": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "marketing_rules(_id)" - } - }, - "marketing_displayed": { - "campaign_id": { - "datatype": "INTEGER", - "primarykey": true - } - }, - "marketing_ruleevent": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "event_name": { - "datatype": "TEXT", - "notnull": true - }, - "rule_id_ref": { - "datatype": "INTEGER", - "notnull": true, - "references": true, - "referencesdata": "marketing_rules(_id)" - } - }, - "marketing_rules": { - "_id": { - "autoincrement": true, - "datatype": "INTEGER", - "primarykey": true - }, - "ab_test": { - "datatype": "TEXT" - }, - "campaign_id": { - "datatype": "INTEGER", - "notnull": true - }, - "devices": { - "datatype": "TEXT", - "notnull": true - }, - "display_seconds": { - "datatype": "INTEGER" - }, - "display_session": { - "datatype": "INTEGER" - }, - "expiration": { - "datatype": "INTEGER", - "notnull": true - }, - "internet_required": { - "datatype": "INTEGER", - "notnull": true - }, - "location": { - "datatype": "TEXT", - "notnull": true - }, - "phone_location": { - "datatype": "TEXT", - "notnull": true - }, - "phone_size_height": { - "datatype": "INTEGER", - "notnull": true - }, - "phone_size_width": { - "datatype": "INTEGER", - "notnull": true - }, - "rule_name": { - "datatype": "TEXT" - }, - "rule_name_non_unique": { - "datatype": "TEXT" - }, - "tablet_location": { - "datatype": "TEXT", - "notnull": true - }, - "tablet_size_height": { - "datatype": "INTEGER", - "notnull": true - }, - "tablet_size_width": { - "datatype": "INTEGER", - "notnull": true - }, - "time_to_display": { - "datatype": "INTEGER" - }, - "version": { - "datatype": "TEXT", - "notnull": true - } - }, - "sqlite_sequence": { - "name": { - "datatype": "INTEGER" - }, - "seq": { - "datatype": "INTEGER" - } - } - } -} \ No newline at end of file