Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#313 Migration fails due to Many to Many relation ship tables. Table … #314

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mailmemani
Copy link

As described the issue before, the lightweight migration fails due to Many to Many relation tables.

While migration, Source and Destination table names are different. It might be happening because of sorting the table names array in the tableNameForPreviousRelationship()

Else we have interchange the inverse and relationship names at the tableNameForRelationship()

Both options are resolving the migration crash. I decided to remove the sorting option instead of interchange the inverse and relationship table names.

Thanks

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