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

Fix "through" associations #84

Merged
merged 2 commits into from
Nov 28, 2017
Merged

Fix "through" associations #84

merged 2 commits into from
Nov 28, 2017

Conversation

pcsanwald
Copy link
Contributor

@pcsanwald pcsanwald commented Nov 28, 2017

In sequelize 4.x, attributes on join tables need to be specified inside a through attribute of the options object, instead of being included directly in our base.

This fixes the problem highlighted in #83

@domasx2 domasx2 merged commit 50c0b86 into domasx2:master Nov 28, 2017
@domasx2
Copy link
Owner

domasx2 commented Nov 28, 2017

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.

None yet

2 participants