You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am copying and pasting the following from here to set up a one to many relationship, it says .addProfile is not a function, after copying and pasting the code with the table definitions already set up in the readme. This also goes if I switch the name "Profile" to the child element, such as addCart or addTag, etc.
When you compile the code, it says ".addProfile" is not a function.
I'm assuming sequelize dynamically creates this method but that doesn't seem to happen
What do you expect to happen?
For it to not give an error
What is actually happening?
Gives an error
The text was updated successfully, but these errors were encountered:
ephys
transferred this issue from sequelize/sequelize
Feb 2, 2024
Bug Description
I am copying and pasting the following from here to set up a one to many relationship, it says .addProfile is not a function, after copying and pasting the code with the table definitions already set up in the readme. This also goes if I switch the name "Profile" to the child element, such as addCart or addTag, etc.
When you compile the code, it says ".addProfile" is not a function.
I'm assuming sequelize dynamically creates this method but that doesn't seem to happen
What do you expect to happen?
For it to not give an error
What is actually happening?
Gives an error
The text was updated successfully, but these errors were encountered: