mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
6 lines
268 B
SQL
6 lines
268 B
SQL
-- DropForeignKey
|
|
ALTER TABLE "Signature" DROP CONSTRAINT "Signature_recipientId_fkey";
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "Signature" ADD CONSTRAINT "Signature_recipientId_fkey" FOREIGN KEY ("recipientId") REFERENCES "Recipient"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|