Skip to content

Commit

Permalink
refactor: Update Plan model to include status field
Browse files Browse the repository at this point in the history
  • Loading branch information
suk-6 committed Jul 13, 2024
1 parent f23bcc6 commit 4d39aa0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,20 @@ model UserProfileImage {
createdAt DateTime @default(now())
}

enum PlanStatus {
WAITING
ALARMED
}

model Plan {
id String @id @default(uuid())
id String @id @default(uuid())
name String
date String
place Place?
status PlanStatus @default(WAITING)
users User[]
Invite Invite[]
createdAt DateTime @default(now())
createdAt DateTime @default(now())
}

model Place {
Expand Down

0 comments on commit 4d39aa0

Please sign in to comment.