As this article shows, when
Once defined, the user_id foreign key is automatically added to the node table. how do I define the name of this foreign key?
It is not possible.
It has been resolved. See for the specific code.
There are a few smaller ones.
1. Carefully read the official documents. For my question, read carefullyhttp://docs.sequelizejs.com/en/latest/api/associations/Can be solved, mainly is
asQuestions about options.
2. Streamline the code step by step and locate and eliminate problems step by step.