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}` (`idBase58` TEXT NOT NULL, `text` TEXT NOT NULL, `amountUsdc` INTEGER, `amountNative` INTEGER, `nativeCurrency` TEXT, `rate` REAL, `state` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `metadata` TEXT, `mintBase58` TEXT DEFAULT 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', PRIMARY KEY(`idBase58`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`address` TEXT NOT NULL, `decimals` INTEGER NOT NULL, `name` TEXT NOT NULL, `symbol` TEXT NOT NULL, `created_at` INTEGER, `description` TEXT NOT NULL, `image_url` TEXT NOT NULL, `social_links` TEXT, `bill_customizations` TEXT, `vm_vm` TEXT NOT NULL, `vm_authority` TEXT NOT NULL, `vm_lock_duration_days` INTEGER NOT NULL, `lp_currency_config` TEXT, `lp_liquidity_pool` TEXT, `lp_seed` TEXT, `lp_authority` TEXT, `lp_mint_vault` TEXT, `lp_core_mint_vault` TEXT, `lp_circulating_supply_quarks` INTEGER, `lp_sell_fee_bps` INTEGER, `lp_price_amount_usd` REAL, `lp_market_cap_amount_usd` REAL, PRIMARY KEY(`address`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `token_address` TEXT NOT NULL, `type` TEXT NOT NULL, `value` TEXT NOT NULL, FOREIGN KEY(`token_address`) REFERENCES `tokens`(`address`) ON UPDATE NO ACTION ON DELETE CASCADE )",
208
+
"fields": [
209
+
{
210
+
"fieldPath": "id",
211
+
"columnName": "id",
212
+
"affinity": "INTEGER",
213
+
"notNull": true
214
+
},
215
+
{
216
+
"fieldPath": "tokenAddress",
217
+
"columnName": "token_address",
218
+
"affinity": "TEXT",
219
+
"notNull": true
220
+
},
221
+
{
222
+
"fieldPath": "type",
223
+
"columnName": "type",
224
+
"affinity": "TEXT",
225
+
"notNull": true
226
+
},
227
+
{
228
+
"fieldPath": "value",
229
+
"columnName": "value",
230
+
"affinity": "TEXT",
231
+
"notNull": true
232
+
}
233
+
],
234
+
"primaryKey": {
235
+
"autoGenerate": true,
236
+
"columnNames": [
237
+
"id"
238
+
]
239
+
},
240
+
"indices": [
241
+
{
242
+
"name": "index_token_social_links_token_address",
243
+
"unique": false,
244
+
"columnNames": [
245
+
"token_address"
246
+
],
247
+
"orders": [],
248
+
"createSql": "CREATE INDEX IF NOT EXISTS `index_token_social_links_token_address` ON `${TABLE_NAME}` (`token_address`)"
249
+
}
250
+
],
251
+
"foreignKeys": [
252
+
{
253
+
"table": "tokens",
254
+
"onDelete": "CASCADE",
255
+
"onUpdate": "NO ACTION",
256
+
"columns": [
257
+
"token_address"
258
+
],
259
+
"referencedColumns": [
260
+
"address"
261
+
]
262
+
}
263
+
]
264
+
},
265
+
{
266
+
"tableName": "token_valuation",
267
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`token_address` TEXT NOT NULL, `balance_quarks` INTEGER NOT NULL, `cost_basis` REAL NOT NULL, PRIMARY KEY(`token_address`), FOREIGN KEY(`token_address`) REFERENCES `tokens`(`address`) ON UPDATE NO ACTION ON DELETE CASCADE )",
268
+
"fields": [
269
+
{
270
+
"fieldPath": "tokenAddress",
271
+
"columnName": "token_address",
272
+
"affinity": "TEXT",
273
+
"notNull": true
274
+
},
275
+
{
276
+
"fieldPath": "balanceQuarks",
277
+
"columnName": "balance_quarks",
278
+
"affinity": "INTEGER",
279
+
"notNull": true
280
+
},
281
+
{
282
+
"fieldPath": "costBasis",
283
+
"columnName": "cost_basis",
284
+
"affinity": "REAL",
285
+
"notNull": true
286
+
}
287
+
],
288
+
"primaryKey": {
289
+
"autoGenerate": false,
290
+
"columnNames": [
291
+
"token_address"
292
+
]
293
+
},
294
+
"indices": [
295
+
{
296
+
"name": "index_token_valuation_token_address",
297
+
"unique": false,
298
+
"columnNames": [
299
+
"token_address"
300
+
],
301
+
"orders": [],
302
+
"createSql": "CREATE INDEX IF NOT EXISTS `index_token_valuation_token_address` ON `${TABLE_NAME}` (`token_address`)"
303
+
}
304
+
],
305
+
"foreignKeys": [
306
+
{
307
+
"table": "tokens",
308
+
"onDelete": "CASCADE",
309
+
"onUpdate": "NO ACTION",
310
+
"columns": [
311
+
"token_address"
312
+
],
313
+
"referencedColumns": [
314
+
"address"
315
+
]
316
+
}
317
+
]
318
+
}
319
+
],
320
+
"setupQueries": [
321
+
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
322
+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '04a962ce0415479decb938be6f7ef584')"
0 commit comments