First of all i have a conceptual doubt, I have 2 tables, post and user and both have many to many relation. Ok i do put in both models
after this i’ved create posts_users model with id_user and id_post and a table for that, is this right???
Then another cuestion I want that when a post is created, generate a row in the posts_users table with the id_user and the id_post.
If anyone can help please thank you very much.