make recv optional
This commit is contained in:
parent
aa4c448999
commit
f3cc0f9e1d
11
prisma/migrations/20241119210957_optional_recv/migration.sql
Normal file
11
prisma/migrations/20241119210957_optional_recv/migration.sql
Normal file
@ -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")
|
createdAt DateTime @default(now()) @map("created_at")
|
||||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||||
url String
|
url String
|
||||||
invoiceKey String
|
invoiceKey String?
|
||||||
}
|
}
|
||||||
|
|
||||||
model WalletNWC {
|
model WalletNWC {
|
||||||
@ -298,7 +298,7 @@ model WalletNWC {
|
|||||||
wallet Wallet @relation(fields: [walletId], references: [id], onDelete: Cascade)
|
wallet Wallet @relation(fields: [walletId], references: [id], onDelete: Cascade)
|
||||||
createdAt DateTime @default(now()) @map("created_at")
|
createdAt DateTime @default(now()) @map("created_at")
|
||||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||||
nwcUrlRecv String
|
nwcUrlRecv String?
|
||||||
}
|
}
|
||||||
|
|
||||||
model WalletBlink {
|
model WalletBlink {
|
||||||
@ -307,7 +307,7 @@ model WalletBlink {
|
|||||||
wallet Wallet @relation(fields: [walletId], references: [id], onDelete: Cascade)
|
wallet Wallet @relation(fields: [walletId], references: [id], onDelete: Cascade)
|
||||||
createdAt DateTime @default(now()) @map("created_at")
|
createdAt DateTime @default(now()) @map("created_at")
|
||||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||||
apiKeyRecv String
|
apiKeyRecv String?
|
||||||
currencyRecv String?
|
currencyRecv String?
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -318,7 +318,7 @@ model WalletPhoenixd {
|
|||||||
createdAt DateTime @default(now()) @map("created_at")
|
createdAt DateTime @default(now()) @map("created_at")
|
||||||
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
|
||||||
url String
|
url String
|
||||||
secondaryPassword String
|
secondaryPassword String?
|
||||||
}
|
}
|
||||||
|
|
||||||
model Mute {
|
model Mute {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user