trying to get a figure out if my relationships are...
# orm-help
t
trying to get a figure out if my relationships are correct here, and trying to think of a name for the one currently named "Song??":
Copy code
type Song @model {
  id: ID! @isUnique
  name: String!
  performances: [SongPerformance!]! @relation(name: "Song??")
}

type SongPerformance @model {
  id: ID! @isUnique
  song: Song! @relation(name: "Song??")
  concerts: [SongPerformance!]! @relation(name: "SongPerformances")
}

type Concert @model {
  id: ID! @isUnique
  setlist: [SongPerformance!]! @relation(name: "SongPerformances")
}
basically the models are a song, a concert, and songPerformance which is an instance of the song being played at a concert. Anyone have a good name for that? And do the relationships look correct?