Skip to content

Commit ffc73f6

Browse files
Modified body columns in redditMessages to text column type.
1 parent 07cdc3a commit ffc73f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prisma/schema.prisma

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ model RedditMessage {
9090
redditId String @unique @map("reddit_id")
9191
type String // "comment", "post", "dm"
9292
author String @map("author")
93-
content String @map("content")
94-
bodyHtml String? @map("body_html")
93+
content String @map("content") @db.Text
94+
bodyHtml String? @map("body_html") @db.Text
9595
subreddit String? @map("subreddit")
9696
contextUrl String? @map("context_url")
9797
isRead Boolean @default(false) @map("is_read")

0 commit comments

Comments
 (0)