@@ -221,6 +221,7 @@ model Vault {
221221 walletSendLNCRemoteKey WalletSendLNC ? @relation (" lncRemoteKey " )
222222 walletSendLNCServerHost WalletSendLNC ? @relation (" lncServerHost " )
223223 walletSendCLNRestRune WalletSendCLNRest ? @relation (" clnRune " )
224+ walletSendSparkMnemonic WalletSendSpark ? @relation (" sparkMnemonic " )
224225}
225226
226227model WalletLog {
@@ -1214,6 +1215,7 @@ enum WalletProtocolName {
12141215 CLN_REST
12151216 LND_GRPC
12161217 CLINK
1218+ SPARK
12171219}
12181220
12191221enum WalletSendProtocolName {
@@ -1224,6 +1226,7 @@ enum WalletSendProtocolName {
12241226 WEBLN
12251227 LNC
12261228 CLN_REST
1229+ SPARK
12271230}
12281231
12291232enum WalletRecvProtocolName {
@@ -1235,6 +1238,7 @@ enum WalletRecvProtocolName {
12351238 CLN_REST
12361239 LND_GRPC
12371240 CLINK
1241+ SPARK
12381242}
12391243
12401244enum WalletProtocolStatus {
@@ -1270,6 +1274,7 @@ enum WalletName {
12701274 LN_ADDR
12711275 CASH_APP
12721276 BLITZ
1277+ SPARK
12731278}
12741279
12751280model WalletTemplate {
@@ -1327,6 +1332,7 @@ model WalletProtocol {
13271332 walletSendWebLN WalletSendWebLN ?
13281333 walletSendLNC WalletSendLNC ?
13291334 walletSendCLNRest WalletSendCLNRest ?
1335+ walletSendSpark WalletSendSpark ?
13301336
13311337 walletRecvNWC WalletRecvNWC ?
13321338 walletRecvLNbits WalletRecvLNbits ?
@@ -1336,6 +1342,7 @@ model WalletProtocol {
13361342 walletRecvCLNRest WalletRecvCLNRest ?
13371343 walletRecvLNDGRPC WalletRecvLNDGRPC ?
13381344 walletRecvClink WalletRecvClink ?
1345+ walletRecvSpark WalletRecvSpark ?
13391346
13401347 @@unique (name : " WalletProtocol_walletId_send_name_key " , [walletId , send , name ] )
13411348 @@index ([walletId ] )
@@ -1420,6 +1427,16 @@ model WalletSendCLNRest {
14201427 rune Vault ? @relation (" clnRune " , fields : [runeVaultId ] , references : [id ] )
14211428}
14221429
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+
14231440model WalletRecvNWC {
14241441 id Int @id @default (autoincrement () )
14251442 createdAt DateTime @default (now () ) @map (" created_at " )
@@ -1498,3 +1515,12 @@ model WalletRecvClink {
14981515 protocol WalletProtocol @relation (fields : [protocolId ] , references : [id ] , onDelete : Cascade )
14991516 noffer String
15001517}
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