{ "formatVersion": 1, "database": { "version": 22, "identityHash": "7b061eba6970e601ade4e1ed6e3cc982", "entities": [ { "tableName": "vpn_state", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `uuid` TEXT NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "uuid", "columnName": "uuid", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_tracker", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`trackerId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `trackerCompanyId` INTEGER NOT NULL, `domain` TEXT NOT NULL, `company` TEXT NOT NULL, `companyDisplayName` TEXT NOT NULL, `timestamp` TEXT NOT NULL, `packageId` TEXT NOT NULL, `appDisplayName` TEXT NOT NULL)", "fields": [ { "fieldPath": "trackerId", "columnName": "trackerId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "trackerCompanyId", "columnName": "trackerCompanyId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "domain", "columnName": "domain", "affinity": "TEXT", "notNull": true }, { "fieldPath": "company", "columnName": "company", "affinity": "TEXT", "notNull": true }, { "fieldPath": "companyDisplayName", "columnName": "companyDisplayName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "TEXT", "notNull": true }, { "fieldPath": "trackingApp.packageId", "columnName": "packageId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "trackingApp.appDisplayName", "columnName": "appDisplayName", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "trackerId" ], "autoGenerate": true }, "indices": [ { "name": "index_vpn_tracker_timestamp", "unique": false, "columnNames": [ "timestamp" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_vpn_tracker_timestamp` ON `${TABLE_NAME}` (`timestamp`)" } ], "foreignKeys": [] }, { "tableName": "vpn_running_stats", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `timeRunningMillis` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "timeRunningMillis", "columnName": "timeRunningMillis", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_service_state_stats", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `timestamp` TEXT NOT NULL, `state` TEXT NOT NULL, `stopReason` TEXT NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "TEXT", "notNull": true }, { "fieldPath": "state", "columnName": "state", "affinity": "TEXT", "notNull": true }, { "fieldPath": "stopReason", "columnName": "stopReason", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_data_stats", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `dataSent` INTEGER NOT NULL, `dataReceived` INTEGER NOT NULL, `packetsSent` INTEGER NOT NULL, `packetsReceived` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "dataSent", "columnName": "dataSent", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "dataReceived", "columnName": "dataReceived", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "packetsSent", "columnName": "packetsSent", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "packetsReceived", "columnName": "packetsReceived", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_preferences", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`preference` TEXT NOT NULL, `value` INTEGER NOT NULL, PRIMARY KEY(`preference`))", "fields": [ { "fieldPath": "preference", "columnName": "preference", "affinity": "TEXT", "notNull": true }, { "fieldPath": "value", "columnName": "value", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "preference" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_heartbeat", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`type` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, PRIMARY KEY(`type`))", "fields": [ { "fieldPath": "type", "columnName": "type", "affinity": "TEXT", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "type" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_phoenix", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `reason` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `formattedTimestamp` TEXT NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reason", "columnName": "reason", "affinity": "TEXT", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "formattedTimestamp", "columnName": "formattedTimestamp", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_notification", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `timesRun` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timesRun", "columnName": "timesRun", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_blocking_list", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`hostname` TEXT NOT NULL, `trackerCompanyId` INTEGER NOT NULL, `isCdn` INTEGER NOT NULL, `name` TEXT NOT NULL, `displayName` TEXT NOT NULL, `score` INTEGER NOT NULL, `prevalence` REAL NOT NULL, PRIMARY KEY(`hostname`))", "fields": [ { "fieldPath": "hostname", "columnName": "hostname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "trackerCompanyId", "columnName": "trackerCompanyId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isCdn", "columnName": "isCdn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "owner.name", "columnName": "name", "affinity": "TEXT", "notNull": true }, { "fieldPath": "owner.displayName", "columnName": "displayName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "app.score", "columnName": "score", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "app.prevalence", "columnName": "prevalence", "affinity": "REAL", "notNull": true } ], "primaryKey": { "columnNames": [ "hostname" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_blocking_list_metadata", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `eTag` TEXT)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "eTag", "columnName": "eTag", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_exclusion_list", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageId` TEXT NOT NULL, PRIMARY KEY(`packageId`))", "fields": [ { "fieldPath": "packageId", "columnName": "packageId", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "packageId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_exclusion_list_metadata", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `eTag` TEXT)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "eTag", "columnName": "eTag", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_exception_rules", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`rule` TEXT NOT NULL, `packageNames` TEXT NOT NULL, PRIMARY KEY(`rule`))", "fields": [ { "fieldPath": "rule", "columnName": "rule", "affinity": "TEXT", "notNull": true }, { "fieldPath": "packageNames", "columnName": "packageNames", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "rule" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_exception_rules_metadata", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `eTag` TEXT)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "eTag", "columnName": "eTag", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_blocking_app_packages", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageName` TEXT NOT NULL, `entityName` TEXT NOT NULL, PRIMARY KEY(`packageName`))", "fields": [ { "fieldPath": "packageName", "columnName": "packageName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "entityName", "columnName": "entityName", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "packageName" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_manual_exclusion_list", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageId` TEXT NOT NULL, `isProtected` INTEGER NOT NULL, PRIMARY KEY(`packageId`))", "fields": [ { "fieldPath": "packageId", "columnName": "packageId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "isProtected", "columnName": "isProtected", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "packageId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_system_app_override_list", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageId` TEXT NOT NULL, PRIMARY KEY(`packageId`))", "fields": [ { "fieldPath": "packageId", "columnName": "packageId", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "packageId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_system_app_override_list_metadata", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `eTag` TEXT)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "eTag", "columnName": "eTag", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_app_tracker_entities", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`trackerCompanyId` INTEGER NOT NULL, `entityName` TEXT NOT NULL, `score` INTEGER NOT NULL, `signals` TEXT NOT NULL, PRIMARY KEY(`trackerCompanyId`))", "fields": [ { "fieldPath": "trackerCompanyId", "columnName": "trackerCompanyId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "entityName", "columnName": "entityName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "score", "columnName": "score", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "signals", "columnName": "signals", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "trackerCompanyId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "vpn_feature_remover", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `isFeatureRemoved` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isFeatureRemoved", "columnName": "isFeatureRemoved", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] } ], "views": [], "setupQueries": [ "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '7b061eba6970e601ade4e1ed6e3cc982')" ] } }