We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e40494a commit 863282fCopy full SHA for 863282f
prisma/migrations/20250118192921_normalized_wallet_logs/migration.sql
@@ -4,3 +4,5 @@ ALTER TABLE "WalletLog"
4
5
ALTER TABLE "WalletLog" ADD CONSTRAINT "WalletLog_invoiceId_fkey" FOREIGN KEY ("invoiceId") REFERENCES "Invoice"("id") ON DELETE SET NULL ON UPDATE CASCADE;
6
ALTER TABLE "WalletLog" ADD CONSTRAINT "WalletLog_withdrawalId_fkey" FOREIGN KEY ("withdrawalId") REFERENCES "Withdrawl"("id") ON DELETE SET NULL ON UPDATE CASCADE;
7
+
8
+TRUNCATE "WalletLog" RESTRICT;
0 commit comments