Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
-- CreateEnum
CREATE TYPE "RootItemAccess" AS ENUM ('VIEW_ONLY', 'VIEW_AND_DOWNLOAD', 'HIDDEN');
-- AlterTable
ALTER TABLE "Dataroom" ADD COLUMN "defaultRootItemAccess" "RootItemAccess" NOT NULL DEFAULT 'VIEW_ONLY',
ADD COLUMN "defaultGroupRootItemAccess" "RootItemAccess" NOT NULL DEFAULT 'VIEW_ONLY';