mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
6 lines
271 B
SQL
6 lines
271 B
SQL
-- AlterTable
|
|
ALTER TABLE "DocumentComment" ADD COLUMN "parentId" INTEGER;
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "DocumentComment" ADD CONSTRAINT "DocumentComment_parentId_fkey" FOREIGN KEY ("parentId") REFERENCES "DocumentComment"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|