Skip to content

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.sql
new file mode 100644
index 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.prisma
index 70cf3bd3..30b7663b 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -223,7 +223,7 @@ model Link {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
enableNotification 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 toolbar
enableQuestion Boolean? @default(false) // Optional give user a option to enable the question feedback
enableScreenshotProtection Boolean? @default(false) // Optional give user a option to enable the screenshot protection
feedback Feedback?