foreign key where clause sequelize code example Example: sequelize create record with foreign key constraint Project.belongsTo(User, {foreignKey: 'user_id'})