Skip to content

Commit 42a5672

Browse files
Postgresql modifications.
1 parent 5ea4ccf commit 42a5672

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

prisma/schema.prisma

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,9 @@ model ErrorReport {
161161
@@index([createdAt])
162162
@@index([platform])
163163
@@index([isFatal])
164-
@@index([message(length: 191)]) // Index the start of messages for fast lookups.
165-
@@index([stack(length: 191)])
164+
// THE FIX: Removed the MySQL-specific '(length: 191)' from these two lines.
165+
@@index([message])
166+
@@index([stack])
166167
// Indexes & Mapping
167168
@@map("error_reports")
168169
}

0 commit comments

Comments
 (0)