0

I want to make a simple project to understand better the Laravel database relationships. So I decided to make a movie storage project which is holding some movie names and some informations about that movie, it should be look like this:

capture

So I wrote the relationships between these fields like this:

Movie AND Actor : Many To Many

Movie AND Director : Many To One

Movie AND IMDB : Many To One

Movie AND Genre : Many To Many

So now my question is, are these relationships correct or wrong ?

2
  • you are right, but movie and indm is 1:1
    – nbk
    Commented Apr 10, 2021 at 21:59
  • Is "the Coen Brothers" one director or two? Commented Apr 12, 2021 at 2:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.