Okay…so…i am trying to figure out how GII handles the many to many relations.
I noticed it generates the has_many for the tables in the relations, but how does it know about the join table?
Does it go ahead and generate
->viaTable('tbl_user_market', ['market_id' => 'id']);
part of the relation? like in this post
If yes, how do i make it do it? Or do i have to add that part myself.
I also think I need to generate the models and controller files for the join table…or can i leave those out?