"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `symbol` TEXT NOT NULL, `precision` INTEGER NOT NULL, `description` TEXT NOT NULL, `issuer` TEXT NOT NULL, PRIMARY KEY(`id`))",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `user_id` TEXT NOT NULL, `authority_type` INTEGER NOT NULL, `encrypted_wif` TEXT NOT NULL, `encrypted_brain_key` TEXT NOT NULL, `encrypted_sequence_number` TEXT NOT NULL)",
"fields":[
{
"fieldPath":"id",
"columnName":"id",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"userId",
"columnName":"user_id",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"authorityType",
"columnName":"authority_type",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"encryptedWIF",
"columnName":"encrypted_wif",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"encryptedBrainKey",
"columnName":"encrypted_brain_key",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"encryptedSequenceNumber",
"columnName":"encrypted_sequence_number",
"affinity":"TEXT",
"notNull":true
}
],
"primaryKey":{
"columnNames":[
"id"
],
"autoGenerate":true
},
"indices":[],
"foreignKeys":[]
},
{
"tableName":"balances",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`asset_id` TEXT NOT NULL, `asset_amount` INTEGER NOT NULL, `last_update` INTEGER NOT NULL, PRIMARY KEY(`asset_id`))",
"fields":[
{
"fieldPath":"assetId",
"columnName":"asset_id",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"assetAmount",
"columnName":"asset_amount",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"lastUpdate",
"columnName":"last_update",
"affinity":"INTEGER",
"notNull":true
}
],
"primaryKey":{
"columnNames":[
"asset_id"
],
"autoGenerate":false
},
"indices":[],
"foreignKeys":[]
},
{
"tableName":"equivalent_values",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`transfer_id` TEXT NOT NULL, `value` INTEGER NOT NULL, `symbol` TEXT NOT NULL, PRIMARY KEY(`transfer_id`, `symbol`), FOREIGN KEY(`transfer_id`) REFERENCES `transfers`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION )",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `block_number` INTEGER NOT NULL, `timestamp` INTEGER NOT NULL, `fee_amount` INTEGER NOT NULL, `fee_asset_id` TEXT NOT NULL, `source` TEXT NOT NULL, `destination` TEXT NOT NULL, `transfer_amount` INTEGER NOT NULL, `transfer_asset_id` TEXT NOT NULL, `memo` TEXT NOT NULL, `bts_value` INTEGER, PRIMARY KEY(`id`))",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `name` TEXT NOT NULL, `is_ltm` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"fields":[
{
"fieldPath":"id",
"columnName":"id",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"name",
"columnName":"name",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"isLtm",
"columnName":"is_ltm",
"affinity":"INTEGER",
"notNull":true
}
],
"primaryKey":{
"columnNames":[
"id"
],
"autoGenerate":false
},
"indices":[],
"foreignKeys":[]
},
{
"tableName":"merchants",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `name` TEXT NOT NULL, `address` TEXT, `lat` REAL NOT NULL, `lon` REAL NOT NULL, `phone` TEXT, `telegram` TEXT, `website` TEXT, PRIMARY KEY(`id`))",
"fields":[
{
"fieldPath":"_id",
"columnName":"id",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"name",
"columnName":"name",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"address",
"columnName":"address",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"lat",
"columnName":"lat",
"affinity":"REAL",
"notNull":true
},
{
"fieldPath":"lon",
"columnName":"lon",
"affinity":"REAL",
"notNull":true
},
{
"fieldPath":"phone",
"columnName":"phone",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"telegram",
"columnName":"telegram",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"website",
"columnName":"website",
"affinity":"TEXT",
"notNull":false
}
],
"primaryKey":{
"columnNames":[
"id"
],
"autoGenerate":false
},
"indices":[],
"foreignKeys":[]
},
{
"tableName":"tellers",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `name` TEXT NOT NULL, `address` TEXT, `lat` REAL NOT NULL, `lon` REAL NOT NULL, `phone` TEXT, `telegram` TEXT, `website` TEXT, PRIMARY KEY(`id`))",
"fields":[
{
"fieldPath":"_id",
"columnName":"id",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"gt_name",
"columnName":"name",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"address",
"columnName":"address",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"lat",
"columnName":"lat",
"affinity":"REAL",
"notNull":true
},
{
"fieldPath":"lon",
"columnName":"lon",
"affinity":"REAL",
"notNull":true
},
{
"fieldPath":"phone",
"columnName":"phone",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"telegram",
"columnName":"telegram",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"url",
"columnName":"website",
"affinity":"TEXT",
"notNull":false
}
],
"primaryKey":{
"columnNames":[
"id"
],
"autoGenerate":false
},
"indices":[],
"foreignKeys":[]
}
],
"views":[],
"setupQueries":[
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",