mirror of
https://github.com/documenso/documenso.git
synced 2025-11-24 21:51:40 +10:00
Merge branch "main"
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "TeamGlobalSettings" (
|
||||
"teamId" INTEGER NOT NULL,
|
||||
"documentVisibility" "DocumentVisibility" NOT NULL DEFAULT 'EVERYONE',
|
||||
"includeSenderDetails" BOOLEAN NOT NULL DEFAULT true
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "TeamGlobalSettings_teamId_key" ON "TeamGlobalSettings"("teamId");
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "TeamGlobalSettings" ADD CONSTRAINT "TeamGlobalSettings_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
Reference in New Issue
Block a user