{ "formatVersion": 1, "database": { "version": 11, "identityHash": "15580f6f241acc8a2f82e4975dcb031c", "entities": [ { "tableName": "exchange_rates", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`currencyCode` TEXT NOT NULL, `rate` TEXT, PRIMARY KEY(`currencyCode`))", "fields": [ { "fieldPath": "currencyCode", "columnName": "currencyCode", "affinity": "TEXT", "notNull": true }, { "fieldPath": "rate", "columnName": "rate", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "currencyCode" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "blockchain_state", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`bestChainDate` INTEGER, `bestChainHeight` INTEGER NOT NULL, `replaying` INTEGER NOT NULL, `impediments` TEXT NOT NULL, `chainlockHeight` INTEGER NOT NULL, `mnlistHeight` INTEGER NOT NULL, `percentageSync` INTEGER NOT NULL, `id` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "bestChainDate", "columnName": "bestChainDate", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "bestChainHeight", "columnName": "bestChainHeight", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "replaying", "columnName": "replaying", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "impediments", "columnName": "impediments", "affinity": "TEXT", "notNull": true }, { "fieldPath": "chainlockHeight", "columnName": "chainlockHeight", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "mnlistHeight", "columnName": "mnlistHeight", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "percentageSync", "columnName": "percentageSync", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "transaction_metadata", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`txId` BLOB NOT NULL, `timestamp` INTEGER NOT NULL, `value` INTEGER NOT NULL, `type` TEXT NOT NULL, `taxCategory` TEXT, `currencyCode` TEXT, `rate` TEXT, `memo` TEXT NOT NULL, `service` TEXT, PRIMARY KEY(`txId`))", "fields": [ { "fieldPath": "txId", "columnName": "txId", "affinity": "BLOB", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "value", "columnName": "value", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "type", "columnName": "type", "affinity": "TEXT", "notNull": true }, { "fieldPath": "taxCategory", "columnName": "taxCategory", "affinity": "TEXT", "notNull": false }, { "fieldPath": "currencyCode", "columnName": "currencyCode", "affinity": "TEXT", "notNull": false }, { "fieldPath": "rate", "columnName": "rate", "affinity": "TEXT", "notNull": false }, { "fieldPath": "memo", "columnName": "memo", "affinity": "TEXT", "notNull": true }, { "fieldPath": "service", "columnName": "service", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "txId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "address_metadata", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`address` TEXT NOT NULL, `isInput` INTEGER NOT NULL, `taxCategory` TEXT NOT NULL, `service` TEXT NOT NULL, PRIMARY KEY(`address`, `isInput`))", "fields": [ { "fieldPath": "address", "columnName": "address", "affinity": "TEXT", "notNull": true }, { "fieldPath": "isInput", "columnName": "isInput", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "taxCategory", "columnName": "taxCategory", "affinity": "TEXT", "notNull": true }, { "fieldPath": "service", "columnName": "service", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "address", "isInput" ], "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, '15580f6f241acc8a2f82e4975dcb031c')" ] } }