Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

migration file

Ashish Viradiya057e7add0b00
diff --git a/prisma/migrations/20250405173206_update_link_preset_option/migration.sql b/prisma/migrations/20250405173206_update_link_preset_option/migration.sql
new file mode 100644
index 00000000..f3feed1f
--- /dev/null
+++ b/prisma/migrations/20250405173206_update_link_preset_option/migration.sql
@@ -0,0 +1,13 @@
+-- AlterTable
+ALTER TABLE "Agreement" ADD COLUMN "deletedAt" TIMESTAMP(3),
+ADD COLUMN "deletedBy" TEXT;
+
+-- AlterTable
+ALTER TABLE "LinkPreset" ADD COLUMN "allowList" TEXT[],
+ADD COLUMN "customFields" JSONB,
+ADD COLUMN "denyList" TEXT[],
+ADD COLUMN "enableAllowList" BOOLEAN DEFAULT false,
+ADD COLUMN "enableCustomFields" BOOLEAN DEFAULT false,
+ADD COLUMN "enableDenyList" BOOLEAN DEFAULT false,
+ADD COLUMN "enableWatermark" BOOLEAN DEFAULT false,
+ADD COLUMN "watermarkConfig" JSONB;