I currently have three tables in my db. I have a User, Medicine, and Medicine details table. They are related like so, med details belong to medicine and medicine belongs to use