Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat(link): change link defaults for feedback
Marc Seitz918cc18efefa
diff --git a/prisma/migrations/20240730000000_update_link_defaults/migration.sql b/prisma/migrations/20240730000000_update_link_defaults/migration.sqlnew file mode 100644index 00000000..418ae2cb--- /dev/null+++ b/prisma/migrations/20240730000000_update_link_defaults/migration.sql@@ -0,0 +1,3 @@+-- AlterTable+ALTER TABLE "Link" ALTER COLUMN "enableFeedback" SET DEFAULT false;+diff --git a/prisma/schema.prisma b/prisma/schema.prismaindex 70cf3bd3..30b7663b 100644--- a/prisma/schema.prisma+++ b/prisma/schema.prisma@@ -223,7 +223,7 @@ model Link {createdAt DateTime @default(now())updatedAt DateTime @updatedAtenableNotification Boolean? @default(true) // Optional give user a option to pause/resume the notifications- enableFeedback Boolean? @default(true) // Optional give user a option to enable the reactions toolbar+ enableFeedback Boolean? @default(false) // Optional give user a option to enable the reactions toolbarenableQuestion Boolean? @default(false) // Optional give user a option to enable the question feedbackenableScreenshotProtection Boolean? @default(false) // Optional give user a option to enable the screenshot protectionfeedback Feedback?