Skip to content

Commit

Permalink
Update schema.prisma
Browse files Browse the repository at this point in the history
  • Loading branch information
arctixdev authored Apr 5, 2024
1 parent 9cdc0d3 commit c900285
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ model file_permission {
document_id String
document document @relation(fields: [document_id], references: [id], onDelete: Cascade)
user user @relation(fields: [user_id], references: [id], onDelete: Cascade)
@@unique([document_id, user_id], name: "document_user_id")
}

model school {
Expand Down

0 comments on commit c900285

Please sign in to comment.