I there possibly a way to have Laravel genrating automatically the table containing pivot indexes on a ManytoMany Relationship. Or maybe via artisan?
Until now I'm creating my Entity models (e.g. User and Role: a user has many roles and a roles is assumed by many user) I define the belongsToMany method in each model.
Then I create migrations for create_users_table, create_roles_table, and create_role_user_table)
It would be great if there's a command that after creating the two Entities creates the third with n:n relationships table.
(Maybe the answer is goin to be : no it does not exists...)