How to specify the name of the foreign key in sequlize one-to-many relationship?

  node.js, question

https://segmentfault.com/a/1190000003987871#articleHeader20

As this article shows, when

User.hasMany(Note);
 Note.belongsTo(User);

Once defined, the user_id foreign key is automatically added to the node table. how do I define the name of this foreign key?
I tried

Note.belongsTo(User,{foreignKey:'aaabbbb'});

It is not possible.

It has been resolved. See for the specific code.

https://github.com/p2227/sequelizejs-multi-table-query-example

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 isasQuestions about options.
2. Streamline the code step by step and locate and eliminate problems step by step.