Skip to content

Commit

Permalink
rename collections
Browse files Browse the repository at this point in the history
  • Loading branch information
minhd-vu committed Feb 10, 2024
1 parent a21be3f commit 96dc020
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nextjs/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ model User {
party Party? @relation("PartyPlayers", fields: [partyId], references: [id])
partyId String? @map("party_id") @db.ObjectId
targetId String? @map("target_id") @db.ObjectId
@@map("users")
}

model Party {
Expand All @@ -29,6 +31,8 @@ model Party {
players User[] @relation("PartyPlayers")
winnerId String? @map("winner_id") @db.ObjectId
@@map("parties")
}

enum Mode {
Expand Down

0 comments on commit 96dc020

Please sign in to comment.