118 lines
3.6 KiB
JSON
118 lines
3.6 KiB
JSON
|
{
|
||
|
"formatVersion": 1,
|
||
|
"database": {
|
||
|
"version": 1,
|
||
|
"identityHash": "ea8cbb874a6d62d7b17d7fd5ea82dc8d",
|
||
|
"entities": [
|
||
|
{
|
||
|
"tableName": "pending_transactions",
|
||
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `toAddress` TEXT NOT NULL, `value` INTEGER NOT NULL, `memo` BLOB, `accountIndex` INTEGER NOT NULL, `minedHeight` INTEGER NOT NULL, `expiryHeight` INTEGER NOT NULL, `cancelled` INTEGER NOT NULL, `encodeAttempts` INTEGER NOT NULL, `submitAttempts` INTEGER NOT NULL, `errorMessage` TEXT, `errorCode` INTEGER, `createTime` INTEGER NOT NULL, `raw` BLOB NOT NULL, `rawTransactionId` BLOB)",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "id",
|
||
|
"columnName": "id",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "toAddress",
|
||
|
"columnName": "toAddress",
|
||
|
"affinity": "TEXT",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "value",
|
||
|
"columnName": "value",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "memo",
|
||
|
"columnName": "memo",
|
||
|
"affinity": "BLOB",
|
||
|
"notNull": false
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "accountIndex",
|
||
|
"columnName": "accountIndex",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "minedHeight",
|
||
|
"columnName": "minedHeight",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "expiryHeight",
|
||
|
"columnName": "expiryHeight",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "cancelled",
|
||
|
"columnName": "cancelled",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "encodeAttempts",
|
||
|
"columnName": "encodeAttempts",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "submitAttempts",
|
||
|
"columnName": "submitAttempts",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "errorMessage",
|
||
|
"columnName": "errorMessage",
|
||
|
"affinity": "TEXT",
|
||
|
"notNull": false
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "errorCode",
|
||
|
"columnName": "errorCode",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": false
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "createTime",
|
||
|
"columnName": "createTime",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "raw",
|
||
|
"columnName": "raw",
|
||
|
"affinity": "BLOB",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "rawTransactionId",
|
||
|
"columnName": "rawTransactionId",
|
||
|
"affinity": "BLOB",
|
||
|
"notNull": false
|
||
|
}
|
||
|
],
|
||
|
"primaryKey": {
|
||
|
"columnNames": [
|
||
|
"id"
|
||
|
],
|
||
|
"autoGenerate": true
|
||
|
},
|
||
|
"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, 'ea8cbb874a6d62d7b17d7fd5ea82dc8d')"
|
||
|
]
|
||
|
}
|
||
|
}
|