make recv optional
This commit is contained in:
parent
aa4c448999
commit
f3cc0f9e1d
|
@ -0,0 +1,11 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "WalletBlink" ALTER COLUMN "apiKeyRecv" DROP NOT NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "WalletLNbits" ALTER COLUMN "invoiceKey" DROP NOT NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "WalletNWC" ALTER COLUMN "nwcUrlRecv" DROP NOT NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "WalletPhoenixd" ALTER COLUMN "secondaryPassword" DROP NOT NULL;
|
|
@ -289,7 +289,7 @@ model WalletLNbits {
|
|||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
url String
|
||||
invoiceKey String
|
||||
invoiceKey String?
|
||||
}
|
||||
|
||||
model WalletNWC {
|
||||
|
@ -298,7 +298,7 @@ model WalletNWC {
|
|||
wallet Wallet @relation(fields: [walletId], references: [id], onDelete: Cascade)
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
nwcUrlRecv String
|
||||
nwcUrlRecv String?
|
||||
}
|
||||
|
||||
model WalletBlink {
|
||||
|
@ -307,7 +307,7 @@ model WalletBlink {
|
|||
wallet Wallet @relation(fields: [walletId], references: [id], onDelete: Cascade)
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
apiKeyRecv String
|
||||
apiKeyRecv String?
|
||||
currencyRecv String?
|
||||
}
|
||||
|
||||
|
@ -318,7 +318,7 @@ model WalletPhoenixd {
|
|||
createdAt DateTime @default(now()) @map("created_at")
|
||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
url String
|
||||
secondaryPassword String
|
||||
secondaryPassword String?
|
||||
}
|
||||
|
||||
model Mute {
|
||||
|
|
Loading…
Reference in New Issue