Skip to content

Commit

Permalink
Merge pull request #103 from redacademy/af-feature-addsgtreviewsschema
Browse files Browse the repository at this point in the history
Add reviews to schema table of self guided tours
  • Loading branch information
siddharthparmar7 authored Dec 16, 2019
2 parents 35443a3 + 725ae12 commit 40b9008
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/prisma/datamodel.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ type SelfGuidedTour{
petFriendly: Boolean! @default(value: false)
description: String!
audio: Audio @relation(link: TABLE, onDelete: CASCADE)
reviews: [Review] @relation(link: TABLE, onDelete: CASCADE)
}


Expand Down

0 comments on commit 40b9008

Please sign in to comment.