Skip to content

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

chore: update migration

Marc Seitz987a94675f25
diff --git a/prisma/migrations/20250716215823_add_welcome_message_to_dataroom_brand/migration.sql b/prisma/migrations/20250725000000_add_welcome_message_to_dataroom/migration.sql
similarity index 98%
rename from prisma/migrations/20250716215823_add_welcome_message_to_dataroom_brand/migration.sql
rename to prisma/migrations/20250725000000_add_welcome_message_to_dataroom/migration.sql
index 2740e37e..8fea14f8 100644
--- a/prisma/migrations/20250716215823_add_welcome_message_to_dataroom_brand/migration.sql
+++ b/prisma/migrations/20250725000000_add_welcome_message_to_dataroom/migration.sql
@@ -1,2 +1,3 @@
-- AlterTable
ALTER TABLE "DataroomBrand" ADD COLUMN "welcomeMessage" TEXT;
+
diff --git a/prisma/schema/link.prisma b/prisma/schema/link.prisma
index b4138588..74458bb1 100644
--- a/prisma/schema/link.prisma
+++ b/prisma/schema/link.prisma
@@ -52,7 +52,7 @@ model Link {
// granular permissions
permissionGroupId String?
- permissionGroup PermissionGroup? @relation(fields: [permissionGroupId], references: [id], onDelete: SetNull)
+ permissionGroup PermissionGroup? @relation(fields: [permissionGroupId], references: [id], onDelete: SetNull)
// custom metatags
metaTitle String? // This will be the meta title of the link
diff --git a/prisma/schema/schema.prisma b/prisma/schema/schema.prisma
index ee594ee7..c27ca7d3 100644
--- a/prisma/schema/schema.prisma
+++ b/prisma/schema/schema.prisma
@@ -109,11 +109,10 @@ model Team {
updatedAt DateTime @updatedAt
Tag Tag[]
- ignoredDomains String[] // Domains that are ignored for the team
+ ignoredDomains String[] // Domains that are ignored for the team
globalBlockList String[]
}
-
model Brand {
id String @id @default(cuid())
logo String? // This should be a reference to where the file is stored (S3, Google Cloud Storage, etc.)