I have three table user , profile and posts.user and profile has one to one relation.user and posts has one to many relations.Now how can i set relation from posts to profile directly??.
I was thinking about has many through relation but not success according to definition of has-many-through relation.
Thanks in advance!!!