Skip to content

Use my own tables to generate join tables? #276

Closed
@SamuelBolduc

Description

I would like to know if it's possible to specify the join table name to use for a hasMany association? I would like to keep my SQL structure and test data from the application, but in some instances it's not possible in hasMany relations. My table names use underscores as well as my properties.

If for example I want to have a table role and a table app_module, linked by role_app_module, it doesn't work with hasMany. Is this possible to have a solution for this?

Thanks

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions