There are multiple relations between "places" and "medias". Please specify relation name

Hello guys, could someone help me?

I'm getting the following error:

Error: There are multiple relations between "places" and "medias". Please specify relation name

I have the following tables: https://gist.github.com/andrevandal/ad8494d375cb2277a6c2b0ee4a07ae60

As I don't have much experience with SQL, I'm not sure what I'm doing wrong.
Gist
GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?