{ "formatVersion": 1, "database": { "version": 1, "identityHash": "48ec5055c5a39c6bd15884e9405898da", "entities": [ { "tableName": "attempts", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `runId` TEXT NOT NULL, `questionId` TEXT NOT NULL, `countryIdsJson` TEXT NOT NULL, `skill` TEXT NOT NULL, `correct` INTEGER NOT NULL, `hinted` INTEGER NOT NULL, `overtime` INTEGER NOT NULL, `submittedAnswer` TEXT NOT NULL, `correctAnswer` TEXT NOT NULL, `responseMillis` INTEGER NOT NULL, `pointsAwarded` INTEGER NOT NULL, `answeredAtEpochMillis` INTEGER NOT NULL, `localEpochDay` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "runId", "columnName": "runId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "questionId", "columnName": "questionId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "countryIdsJson", "columnName": "countryIdsJson", "affinity": "TEXT", "notNull": true }, { "fieldPath": "skill", "columnName": "skill", "affinity": "TEXT", "notNull": true }, { "fieldPath": "correct", "columnName": "correct", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "hinted", "columnName": "hinted", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "overtime", "columnName": "overtime", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "submittedAnswer", "columnName": "submittedAnswer", "affinity": "TEXT", "notNull": true }, { "fieldPath": "correctAnswer", "columnName": "correctAnswer", "affinity": "TEXT", "notNull": true }, { "fieldPath": "responseMillis", "columnName": "responseMillis", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "pointsAwarded", "columnName": "pointsAwarded", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "answeredAtEpochMillis", "columnName": "answeredAtEpochMillis", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "localEpochDay", "columnName": "localEpochDay", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "id" ] } }, { "tableName": "mastery", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`countryId` TEXT NOT NULL, `skill` TEXT NOT NULL, `level` TEXT NOT NULL, `attempts` INTEGER NOT NULL, `correctAnswers` INTEGER NOT NULL, `unhintedCorrectAnswers` INTEGER NOT NULL, `unhintedCorrectRunIdsJson` TEXT NOT NULL, `unhintedCorrectEpochDaysJson` TEXT NOT NULL, `recentOutcomesJson` TEXT NOT NULL, `nextReviewEpochDay` INTEGER, PRIMARY KEY(`countryId`, `skill`))", "fields": [ { "fieldPath": "countryId", "columnName": "countryId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "skill", "columnName": "skill", "affinity": "TEXT", "notNull": true }, { "fieldPath": "level", "columnName": "level", "affinity": "TEXT", "notNull": true }, { "fieldPath": "attempts", "columnName": "attempts", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "correctAnswers", "columnName": "correctAnswers", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "unhintedCorrectAnswers", "columnName": "unhintedCorrectAnswers", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "unhintedCorrectRunIdsJson", "columnName": "unhintedCorrectRunIdsJson", "affinity": "TEXT", "notNull": true }, { "fieldPath": "unhintedCorrectEpochDaysJson", "columnName": "unhintedCorrectEpochDaysJson", "affinity": "TEXT", "notNull": true }, { "fieldPath": "recentOutcomesJson", "columnName": "recentOutcomesJson", "affinity": "TEXT", "notNull": true }, { "fieldPath": "nextReviewEpochDay", "columnName": "nextReviewEpochDay", "affinity": "INTEGER" } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "countryId", "skill" ] } }, { "tableName": "runs", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `duration` TEXT, `topic` TEXT, `status` TEXT NOT NULL, `score` INTEGER NOT NULL, `correctAnswers` INTEGER NOT NULL, `answeredQuestions` INTEGER NOT NULL, `averageResponseMillis` INTEGER NOT NULL, `bestCorrectStreak` INTEGER NOT NULL, `improvedMasteryItems` INTEGER NOT NULL, `revisitCountryIdsJson` TEXT NOT NULL, `completedAtEpochMillis` INTEGER, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "duration", "columnName": "duration", "affinity": "TEXT" }, { "fieldPath": "topic", "columnName": "topic", "affinity": "TEXT" }, { "fieldPath": "status", "columnName": "status", "affinity": "TEXT", "notNull": true }, { "fieldPath": "score", "columnName": "score", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "correctAnswers", "columnName": "correctAnswers", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "answeredQuestions", "columnName": "answeredQuestions", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "averageResponseMillis", "columnName": "averageResponseMillis", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "bestCorrectStreak", "columnName": "bestCorrectStreak", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "improvedMasteryItems", "columnName": "improvedMasteryItems", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "revisitCountryIdsJson", "columnName": "revisitCountryIdsJson", "affinity": "TEXT", "notNull": true }, { "fieldPath": "completedAtEpochMillis", "columnName": "completedAtEpochMillis", "affinity": "INTEGER" } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "id" ] } }, { "tableName": "personal_bests", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`duration` TEXT NOT NULL, `topic` TEXT NOT NULL, `score` INTEGER NOT NULL, `runId` TEXT NOT NULL, PRIMARY KEY(`duration`, `topic`))", "fields": [ { "fieldPath": "duration", "columnName": "duration", "affinity": "TEXT", "notNull": true }, { "fieldPath": "topic", "columnName": "topic", "affinity": "TEXT", "notNull": true }, { "fieldPath": "score", "columnName": "score", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "runId", "columnName": "runId", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "duration", "topic" ] } }, { "tableName": "streak", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`singletonId` INTEGER NOT NULL, `currentDays` INTEGER NOT NULL, `bestDays` INTEGER NOT NULL, `lastCompletedEpochDay` INTEGER, PRIMARY KEY(`singletonId`))", "fields": [ { "fieldPath": "singletonId", "columnName": "singletonId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "currentDays", "columnName": "currentDays", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "bestDays", "columnName": "bestDays", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "lastCompletedEpochDay", "columnName": "lastCompletedEpochDay", "affinity": "INTEGER" } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "singletonId" ] } }, { "tableName": "stamps", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `earnedAtEpochMillis` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "earnedAtEpochMillis", "columnName": "earnedAtEpochMillis", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "id" ] } }, { "tableName": "active_run", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`singletonId` INTEGER NOT NULL, `runId` TEXT NOT NULL, `schemaVersion` INTEGER NOT NULL, `catalogVersion` TEXT NOT NULL, `snapshotJson` TEXT NOT NULL, PRIMARY KEY(`singletonId`))", "fields": [ { "fieldPath": "singletonId", "columnName": "singletonId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "runId", "columnName": "runId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "schemaVersion", "columnName": "schemaVersion", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "catalogVersion", "columnName": "catalogVersion", "affinity": "TEXT", "notNull": true }, { "fieldPath": "snapshotJson", "columnName": "snapshotJson", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "singletonId" ] } } ], "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, '2eec9fa8f28884d9cb12c2c0ab1e03f5')" ] } }