You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`walletIndex` INTEGER NOT NULL, PRIMARY KEY(`walletIndex`))",
10
+
"fields": [
11
+
{
12
+
"fieldPath": "walletIndex",
13
+
"columnName": "walletIndex",
14
+
"affinity": "INTEGER",
15
+
"notNull": true
16
+
}
17
+
],
18
+
"primaryKey": {
19
+
"autoGenerate": false,
20
+
"columnNames": [
21
+
"walletIndex"
22
+
]
23
+
}
24
+
},
25
+
{
26
+
"tableName": "transfers",
27
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `type` TEXT NOT NULL, `amountSats` INTEGER NOT NULL, `channelId` TEXT, `fundingTxId` TEXT, `lspOrderId` TEXT, `isSettled` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, `settledAt` INTEGER, `claimableAtHeight` INTEGER, `txTotalSats` INTEGER, `preTransferOnchainSats` INTEGER, PRIMARY KEY(`id`))",
28
+
"fields": [
29
+
{
30
+
"fieldPath": "id",
31
+
"columnName": "id",
32
+
"affinity": "TEXT",
33
+
"notNull": true
34
+
},
35
+
{
36
+
"fieldPath": "type",
37
+
"columnName": "type",
38
+
"affinity": "TEXT",
39
+
"notNull": true
40
+
},
41
+
{
42
+
"fieldPath": "amountSats",
43
+
"columnName": "amountSats",
44
+
"affinity": "INTEGER",
45
+
"notNull": true
46
+
},
47
+
{
48
+
"fieldPath": "channelId",
49
+
"columnName": "channelId",
50
+
"affinity": "TEXT"
51
+
},
52
+
{
53
+
"fieldPath": "fundingTxId",
54
+
"columnName": "fundingTxId",
55
+
"affinity": "TEXT"
56
+
},
57
+
{
58
+
"fieldPath": "lspOrderId",
59
+
"columnName": "lspOrderId",
60
+
"affinity": "TEXT"
61
+
},
62
+
{
63
+
"fieldPath": "isSettled",
64
+
"columnName": "isSettled",
65
+
"affinity": "INTEGER",
66
+
"notNull": true
67
+
},
68
+
{
69
+
"fieldPath": "createdAt",
70
+
"columnName": "createdAt",
71
+
"affinity": "INTEGER",
72
+
"notNull": true
73
+
},
74
+
{
75
+
"fieldPath": "settledAt",
76
+
"columnName": "settledAt",
77
+
"affinity": "INTEGER"
78
+
},
79
+
{
80
+
"fieldPath": "claimableAtHeight",
81
+
"columnName": "claimableAtHeight",
82
+
"affinity": "INTEGER"
83
+
},
84
+
{
85
+
"fieldPath": "txTotalSats",
86
+
"columnName": "txTotalSats",
87
+
"affinity": "INTEGER"
88
+
},
89
+
{
90
+
"fieldPath": "preTransferOnchainSats",
91
+
"columnName": "preTransferOnchainSats",
92
+
"affinity": "INTEGER"
93
+
}
94
+
],
95
+
"primaryKey": {
96
+
"autoGenerate": false,
97
+
"columnNames": [
98
+
"id"
99
+
]
100
+
}
101
+
}
102
+
],
103
+
"setupQueries": [
104
+
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
105
+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '2b1cda225c170b5f1bbfbf76e5fa4cf5')"
0 commit comments