Closed sahmed7 closed 3 years ago
pgAdmin still shows the join table to be empty. We're expecting the table to be populated by (song_id, user_id) association that was created in the main by the user1 and song1, song2, song3.
Should it not show up in that join table in pgAdmin or should it? I think it should much like the example suresh showed earlier
Did you make sure your models join your other models to link columns together? Would love to see that will check later
Thanks for the comment bortiznine.
We had figured out the solution. The @JoinTable annotation was reversed in the models.
We tried manually creating the songs and users within the main and it appears to take as we were able to retrieve the user's songlist. I expected the song_user join table to be populated with the id of song and id of user. The song_user join table is still appears to be empty. My repo link is https://github.com/sahmed7/MusicApp and my question is about