{ "formatVersion": 1, "database": { "version": 10, "identityHash": "3673db774ee7f10031b6460a5ac18647", "entities": [ { "tableName": "download", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageName` TEXT NOT NULL, `versionCode` INTEGER NOT NULL, `offerType` INTEGER NOT NULL, `isInstalled` INTEGER NOT NULL, `displayName` TEXT NOT NULL, `iconURL` TEXT NOT NULL, `size` INTEGER NOT NULL, `id` INTEGER NOT NULL, `downloadStatus` TEXT NOT NULL, `progress` INTEGER NOT NULL, `speed` INTEGER NOT NULL, `timeRemaining` INTEGER NOT NULL, `totalFiles` INTEGER NOT NULL, `downloadedFiles` INTEGER NOT NULL, `fileList` TEXT NOT NULL, `sharedLibs` TEXT NOT NULL, `targetSdk` INTEGER NOT NULL, `downloadedAt` INTEGER NOT NULL, `requiresGMS` INTEGER NOT NULL, PRIMARY KEY(`packageName`))", "fields": [ { "fieldPath": "packageName", "columnName": "packageName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "versionCode", "columnName": "versionCode", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "offerType", "columnName": "offerType", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isInstalled", "columnName": "isInstalled", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "displayName", "columnName": "displayName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "iconURL", "columnName": "iconURL", "affinity": "TEXT", "notNull": true }, { "fieldPath": "size", "columnName": "size", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "status", "columnName": "downloadStatus", "affinity": "TEXT", "notNull": true }, { "fieldPath": "progress", "columnName": "progress", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "speed", "columnName": "speed", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timeRemaining", "columnName": "timeRemaining", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "totalFiles", "columnName": "totalFiles", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "downloadedFiles", "columnName": "downloadedFiles", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "fileList", "columnName": "fileList", "affinity": "TEXT", "notNull": true }, { "fieldPath": "sharedLibs", "columnName": "sharedLibs", "affinity": "TEXT", "notNull": true }, { "fieldPath": "targetSdk", "columnName": "targetSdk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "downloadedAt", "columnName": "downloadedAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "requiresGMS", "columnName": "requiresGMS", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "packageName" ] } }, { "tableName": "favourite", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageName` TEXT NOT NULL, `displayName` TEXT NOT NULL, `iconURL` TEXT NOT NULL, `added` INTEGER NOT NULL, `mode` TEXT NOT NULL, PRIMARY KEY(`packageName`))", "fields": [ { "fieldPath": "packageName", "columnName": "packageName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "displayName", "columnName": "displayName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "iconURL", "columnName": "iconURL", "affinity": "TEXT", "notNull": true }, { "fieldPath": "added", "columnName": "added", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "mode", "columnName": "mode", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "packageName" ] } }, { "tableName": "update", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageName` TEXT NOT NULL, `versionCode` INTEGER NOT NULL, `versionName` TEXT NOT NULL, `displayName` TEXT NOT NULL, `iconURL` TEXT NOT NULL, `changelog` TEXT NOT NULL, `id` INTEGER NOT NULL, `developerName` TEXT NOT NULL, `size` INTEGER NOT NULL, `updatedOn` TEXT NOT NULL, `hasValidCert` INTEGER NOT NULL, `offerType` INTEGER NOT NULL, `fileList` TEXT NOT NULL, `sharedLibs` TEXT NOT NULL, `targetSdk` INTEGER NOT NULL, `isIncompatible` INTEGER NOT NULL, PRIMARY KEY(`packageName`))", "fields": [ { "fieldPath": "packageName", "columnName": "packageName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "versionCode", "columnName": "versionCode", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "versionName", "columnName": "versionName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "displayName", "columnName": "displayName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "iconURL", "columnName": "iconURL", "affinity": "TEXT", "notNull": true }, { "fieldPath": "changelog", "columnName": "changelog", "affinity": "TEXT", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "developerName", "columnName": "developerName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "size", "columnName": "size", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "updatedOn", "columnName": "updatedOn", "affinity": "TEXT", "notNull": true }, { "fieldPath": "hasValidCert", "columnName": "hasValidCert", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "offerType", "columnName": "offerType", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "fileList", "columnName": "fileList", "affinity": "TEXT", "notNull": true }, { "fieldPath": "sharedLibs", "columnName": "sharedLibs", "affinity": "TEXT", "notNull": true }, { "fieldPath": "targetSdk", "columnName": "targetSdk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isIncompatible", "columnName": "isIncompatible", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "packageName" ] } }, { "tableName": "ignored_update", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageName` TEXT NOT NULL, `ignoredVersionCode` INTEGER, PRIMARY KEY(`packageName`))", "fields": [ { "fieldPath": "packageName", "columnName": "packageName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "ignoredVersionCode", "columnName": "ignoredVersionCode", "affinity": "INTEGER" } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "packageName" ] } }, { "tableName": "review", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageName` TEXT NOT NULL, `accountEmail` TEXT NOT NULL, `title` TEXT NOT NULL, `comment` TEXT NOT NULL, `rating` INTEGER NOT NULL, `commentId` TEXT NOT NULL, `userName` TEXT NOT NULL, `userPhotoUrl` TEXT NOT NULL, `appVersion` TEXT NOT NULL, `timeStamp` INTEGER NOT NULL, `synced` INTEGER NOT NULL, PRIMARY KEY(`packageName`, `accountEmail`))", "fields": [ { "fieldPath": "packageName", "columnName": "packageName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "accountEmail", "columnName": "accountEmail", "affinity": "TEXT", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": true }, { "fieldPath": "comment", "columnName": "comment", "affinity": "TEXT", "notNull": true }, { "fieldPath": "rating", "columnName": "rating", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "commentId", "columnName": "commentId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "userName", "columnName": "userName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "userPhotoUrl", "columnName": "userPhotoUrl", "affinity": "TEXT", "notNull": true }, { "fieldPath": "appVersion", "columnName": "appVersion", "affinity": "TEXT", "notNull": true }, { "fieldPath": "timeStamp", "columnName": "timeStamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "synced", "columnName": "synced", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "packageName", "accountEmail" ] } }, { "tableName": "account", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `type` TEXT NOT NULL, `email` TEXT NOT NULL, `displayName` TEXT, `profilePicUrl` TEXT, `aasToken` TEXT, `authToken` TEXT, `tokenType` TEXT NOT NULL, `authViaMicroG` INTEGER NOT NULL, `authDataJson` TEXT, `isDefault` INTEGER NOT NULL, `addedAt` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "type", "columnName": "type", "affinity": "TEXT", "notNull": true }, { "fieldPath": "email", "columnName": "email", "affinity": "TEXT", "notNull": true }, { "fieldPath": "displayName", "columnName": "displayName", "affinity": "TEXT" }, { "fieldPath": "profilePicUrl", "columnName": "profilePicUrl", "affinity": "TEXT" }, { "fieldPath": "aasToken", "columnName": "aasToken", "affinity": "TEXT" }, { "fieldPath": "authToken", "columnName": "authToken", "affinity": "TEXT" }, { "fieldPath": "tokenType", "columnName": "tokenType", "affinity": "TEXT", "notNull": true }, { "fieldPath": "authViaMicroG", "columnName": "authViaMicroG", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "authDataJson", "columnName": "authDataJson", "affinity": "TEXT" }, { "fieldPath": "isDefault", "columnName": "isDefault", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "addedAt", "columnName": "addedAt", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "id" ] } }, { "tableName": "app_account_binding", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageName` TEXT NOT NULL, `accountId` TEXT NOT NULL, PRIMARY KEY(`packageName`), FOREIGN KEY(`accountId`) REFERENCES `account`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )", "fields": [ { "fieldPath": "packageName", "columnName": "packageName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "accountId", "columnName": "accountId", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "packageName" ] }, "indices": [ { "name": "index_app_account_binding_accountId", "unique": false, "columnNames": [ "accountId" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_app_account_binding_accountId` ON `${TABLE_NAME}` (`accountId`)" } ], "foreignKeys": [ { "table": "account", "onDelete": "CASCADE", "onUpdate": "NO ACTION", "columns": [ "accountId" ], "referencedColumns": [ "id" ] } ] } ], "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, '3673db774ee7f10031b6460a5ac18647')" ] } }