"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `public_address` TEXT NOT NULL, `filename` TEXT NOT NULL, `name` TEXT NOT NULL)",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `net_type` INTEGER NOT NULL, `uri` TEXT NOT NULL, `user` TEXT NOT NULL, `pwd` TEXT NOT NULL)",
"fields":[
{
"fieldPath":"id",
"columnName":"id",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"networkId",
"columnName":"net_type",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"uri",
"columnName":"uri",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"username",
"columnName":"user",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"password",
"columnName":"pwd",
"affinity":"TEXT",
"notNull":true
}
],
"primaryKey":{
"autoGenerate":true,
"columnNames":[
"id"
]
},
"indices":[
{
"name":"index_remote_nodes_net_type",
"unique":false,
"columnNames":[
"net_type"
],
"orders":[],
"createSql":"CREATE INDEX IF NOT EXISTS `index_remote_nodes_net_type` ON `${TABLE_NAME}` (`net_type`)"
}
],
"foreignKeys":[]
},
{
"tableName":"wallet_remote_nodes",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`wallet_id` INTEGER NOT NULL, `remote_node_id` INTEGER NOT NULL, PRIMARY KEY(`wallet_id`, `remote_node_id`), FOREIGN KEY(`wallet_id`) REFERENCES `wallets`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`remote_node_id`) REFERENCES `remote_nodes`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields":[
{
"fieldPath":"walletId",
"columnName":"wallet_id",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"remoteNodeId",
"columnName":"remote_node_id",
"affinity":"INTEGER",
"notNull":true
}
],
"primaryKey":{
"autoGenerate":false,
"columnNames":[
"wallet_id",
"remote_node_id"
]
},
"indices":[
{
"name":"index_wallet_remote_nodes_wallet_id",
"unique":false,
"columnNames":[
"wallet_id"
],
"orders":[],
"createSql":"CREATE INDEX IF NOT EXISTS `index_wallet_remote_nodes_wallet_id` ON `${TABLE_NAME}` (`wallet_id`)"