for every many to many relation table make the dedicated table, it will be the best solution, the most understandable and easy to use
Because I do not want to create a new table for each model, ex. post_files, comment_file ... . Comments, Posts have the ability to attach several files. Then there will be more models that should also have this feature.