Join Slack
Powered by
<@U4ZHWC9P1> commented on <@U8029UGEB>’s file <htt...
# prisma-whats-new
u
user
11/21/2017, 12:26 AM
@kaihuang724
commented on
@MoonTahoe
’s file
https://prisma.slack.com/files/U8029UGEB/F839SED2P/Question_about_Relationships_between_multiple_types.txt
: Yeah, you can definitely do that. You need an accompanying relationship under the user model for
Location
such as:
Location: Location! @relation(name:"UsersAtLocation")
Question_about_Relationships_between_multiple_types.txt
Open in Slack
Previous
Next