Skip to content

Conversation

MuathIbnHassan
Copy link

the bug happens when using path prefix on models name

like this one :

  Lookup\Region:
    name_en: string:255 nullable
    softDeletes
    relationships:
      hasMany: Lookup\City

when there is a belongsToMany relationship, the path will be added to the pivot migration name which is not right

@jasonmccreary
Copy link
Collaborator

While I appreciate this is the fix, I'd like to see a test for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants