I have this tables: movie, session (a movie displayed at a datetime) and User.
Users can make reservations for a movie at a concrete session. Drawing it i have it like:
movie **1** ----- **n** sesion
|
**n**
User
I was thinking creating the tables like this:
Movie(id, title, minutes) Sesion(id, idMovie, datetime) User(id, name) Reservation(idSesion, idUser, numTickets)
Would it be ok? or should i include also idMovie at my reservation table?
Thanks.