@@ -221,6 +221,7 @@ model Vault {
221
221
walletSendLNCRemoteKey WalletSendLNC ? @relation (" lncRemoteKey " )
222
222
walletSendLNCServerHost WalletSendLNC ? @relation (" lncServerHost " )
223
223
walletSendCLNRestRune WalletSendCLNRest ? @relation (" clnRune " )
224
+ walletSendSparkMnemonic WalletSendSpark ? @relation (" sparkMnemonic " )
224
225
}
225
226
226
227
model WalletLog {
@@ -1214,6 +1215,7 @@ enum WalletProtocolName {
1214
1215
CLN_REST
1215
1216
LND_GRPC
1216
1217
CLINK
1218
+ SPARK
1217
1219
}
1218
1220
1219
1221
enum WalletSendProtocolName {
@@ -1224,6 +1226,7 @@ enum WalletSendProtocolName {
1224
1226
WEBLN
1225
1227
LNC
1226
1228
CLN_REST
1229
+ SPARK
1227
1230
}
1228
1231
1229
1232
enum WalletRecvProtocolName {
@@ -1235,6 +1238,7 @@ enum WalletRecvProtocolName {
1235
1238
CLN_REST
1236
1239
LND_GRPC
1237
1240
CLINK
1241
+ SPARK
1238
1242
}
1239
1243
1240
1244
enum WalletProtocolStatus {
@@ -1270,6 +1274,7 @@ enum WalletName {
1270
1274
LN_ADDR
1271
1275
CASH_APP
1272
1276
BLITZ
1277
+ SPARK
1273
1278
}
1274
1279
1275
1280
model WalletTemplate {
@@ -1327,6 +1332,7 @@ model WalletProtocol {
1327
1332
walletSendWebLN WalletSendWebLN ?
1328
1333
walletSendLNC WalletSendLNC ?
1329
1334
walletSendCLNRest WalletSendCLNRest ?
1335
+ walletSendSpark WalletSendSpark ?
1330
1336
1331
1337
walletRecvNWC WalletRecvNWC ?
1332
1338
walletRecvLNbits WalletRecvLNbits ?
@@ -1336,6 +1342,7 @@ model WalletProtocol {
1336
1342
walletRecvCLNRest WalletRecvCLNRest ?
1337
1343
walletRecvLNDGRPC WalletRecvLNDGRPC ?
1338
1344
walletRecvClink WalletRecvClink ?
1345
+ walletRecvSpark WalletRecvSpark ?
1339
1346
1340
1347
@@unique (name : " WalletProtocol_walletId_send_name_key " , [walletId , send , name ] )
1341
1348
@@index ([walletId ] )
@@ -1420,6 +1427,16 @@ model WalletSendCLNRest {
1420
1427
rune Vault ? @relation (" clnRune " , fields : [runeVaultId ] , references : [id ] )
1421
1428
}
1422
1429
1430
+ model WalletSendSpark {
1431
+ id Int @id @default (autoincrement () )
1432
+ createdAt DateTime @default (now () ) @map (" created_at " )
1433
+ updatedAt DateTime @default (now () ) @updatedAt @map (" updated_at " )
1434
+ protocolId Int @unique
1435
+ protocol WalletProtocol @relation (fields : [protocolId ] , references : [id ] , onDelete : Cascade )
1436
+ mnemonicVaultId Int @unique
1437
+ mnemonic Vault ? @relation (" sparkMnemonic " , fields : [mnemonicVaultId ] , references : [id ] )
1438
+ }
1439
+
1423
1440
model WalletRecvNWC {
1424
1441
id Int @id @default (autoincrement () )
1425
1442
createdAt DateTime @default (now () ) @map (" created_at " )
@@ -1498,3 +1515,12 @@ model WalletRecvClink {
1498
1515
protocol WalletProtocol @relation (fields : [protocolId ] , references : [id ] , onDelete : Cascade )
1499
1516
noffer String
1500
1517
}
1518
+
1519
+ model WalletRecvSpark {
1520
+ id Int @id @default (autoincrement () )
1521
+ createdAt DateTime @default (now () ) @map (" created_at " )
1522
+ updatedAt DateTime @default (now () ) @updatedAt @map (" updated_at " )
1523
+ protocolId Int @unique
1524
+ protocol WalletProtocol @relation (fields : [protocolId ] , references : [id ] , onDelete : Cascade )
1525
+ address String
1526
+ }
0 commit comments