-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Fix 9515: sync() with "alter:true" doesn't use field name in model definition #9529
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
Conversation
…add integration test
…mn name, enhance the existing integration tests for add/remove column to verify that the custom column name is used
…vironment" This reverts commit 3782763. Remove unrelated documentation commit from current PR branch
lib/model.js
Outdated
| }); | ||
| _.each(columns, (columnDesc, columnName) => { | ||
| const currentAttributes = attributes[columnName]; | ||
| const currentAttributes = rawAttributes[columnName]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename currentAttributes to currentAttribute
sushantdhiman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one minor change
|
Why is this problem not fixed in version 4.41.2? |
|
@sushantdhiman I upgraded the version to the version 5.0.0-beta.14 and still have this problem. |
Closes #9515