mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
12 lines
415 B
SQL
12 lines
415 B
SQL
/*
|
|
Warnings:
|
|
|
|
- Added the required column `envelopeId` to the `Document` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "Document" ADD COLUMN "envelopeId" TEXT NOT NULL;
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "Document" ADD CONSTRAINT "Document_envelopeId_fkey" FOREIGN KEY ("envelopeId") REFERENCES "Envelope"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|