feat(prisma): highlight views

This commit is contained in:
Will Ruggiano 2023-06-03 22:05:57 -06:00 committed by GitHub
parent bee003b880
commit 79aedc9675
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -6,6 +6,7 @@
"generator"
"model"
"type"
"view"
] @keyword
(comment) @comment @spell

View file

@ -54,3 +54,10 @@ enum ReactionType {
ANGRY
// ^ constant
}
view ReactionView {
// ^ keyword
id Int @unique
postId Int
userId String
}