Sometimes (like when I want to add movie from TMDB) we need to get some genres for movie, so would be cool to know which genres on TMDB saved in our database, like:
genres: id | tmdb_id | name and then you can find needed genres by tmdb ids: Genres->findBy(['tmdb_id' => [1,2,3...]]); and new created movies will be already with genres instead of empty collection
Sometimes (like when I want to add movie from TMDB) we need to get some genres for movie, so would be cool to know which genres on TMDB saved in our database, like: genres: id | tmdb_id | name and then you can find needed genres by tmdb ids: Genres->findBy(['tmdb_id' => [1,2,3...]]); and new created movies will be already with genres instead of empty collection