[PR #45] [MERGED] Fix-#41: Change referential action for Signature_recipientId_fkey #726

Closed
opened 2026-02-26 18:48:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/45
Author: @sauravgurhale
Created: 4/7/2023
Status: Merged
Merged: 4/11/2023
Merged by: @ElTimuro

Base: mainHead: fix-#41-db-migration-Signature_recipientId_fkey


📝 Commits (2)

  • 5db54d3 Cange referential action for Signature_recipientId_fkey
  • c79592c Merge branch 'main' into fix-#41-db-migration-Signature_recipientId_fkey

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/prisma/schema.prisma (+1 -1)

📄 Description

An easy way to allow for PDF document deletion after being signed is changing the Signature_recipientId_fkey's onDelete referential action to Cascade, such that signatures of the recipients are deleted along with the PDF document.

Draft for issue documenso/documenso#41


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/45 **Author:** [@sauravgurhale](https://github.com/sauravgurhale) **Created:** 4/7/2023 **Status:** ✅ Merged **Merged:** 4/11/2023 **Merged by:** [@ElTimuro](https://github.com/ElTimuro) **Base:** `main` ← **Head:** `fix-#41-db-migration-Signature_recipientId_fkey` --- ### 📝 Commits (2) - [`5db54d3`](https://github.com/documenso/documenso/commit/5db54d3b8cf01057fbf700182902288f292ca56f) Cange referential action for Signature_recipientId_fkey - [`c79592c`](https://github.com/documenso/documenso/commit/c79592cd0a02a316a985c209915a63ab5a8086fc) Merge branch 'main' into fix-#41-db-migration-Signature_recipientId_fkey ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/prisma/schema.prisma` (+1 -1) </details> ### 📄 Description An easy way to allow for PDF document deletion after being signed is changing the Signature_recipientId_fkey's onDelete referential action to Cascade, such that signatures of the recipients are deleted along with the PDF document. Draft for issue documenso/documenso#41 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#726
No description provided.