{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/311","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/311/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/311/events","html_url":"https://github.com/sequelize/sequelize/issues/311","id":8090241,"number":311,"title":"Composite foreign keys","user":{"login":"Zerzio","id":85861,"avatar_url":"https://avatars.githubusercontent.com/u/85861?v=3","gravatar_id":"","url":"https://api.github.com/users/Zerzio","html_url":"https://github.com/Zerzio","followers_url":"https://api.github.com/users/Zerzio/followers","following_url":"https://api.github.com/users/Zerzio/following{/other_user}","gists_url":"https://api.github.com/users/Zerzio/gists{/gist_id}","starred_url":"https://api.github.com/users/Zerzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zerzio/subscriptions","organizations_url":"https://api.github.com/users/Zerzio/orgs","repos_url":"https://api.github.com/users/Zerzio/repos","events_url":"https://api.github.com/users/Zerzio/events{/privacy}","received_events_url":"https://api.github.com/users/Zerzio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sequelize/sequelize/labels/feature","name":"feature","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2012-11-04T17:33:45Z","updated_at":"2015-12-12T07:53:16Z","closed_at":null,"body":"Hi,\r\n\r\nI found some posts about composite keys and relations but nothing is in the documentation and it doesn't seem to be supported (no relevant test cases)\r\nIs this supported: Entity.hasMany(Other , {foreignKey: ['key1', ' key2', ' key3']});\r\n\r\nThanks,\r\n\r\nSerge"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/164123446","html_url":"https://github.com/sequelize/sequelize/issues/311#issuecomment-164123446","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/311","id":164123446,"user":{"login":"ozum","id":1497060,"avatar_url":"https://avatars.githubusercontent.com/u/1497060?v=3","gravatar_id":"","url":"https://api.github.com/users/ozum","html_url":"https://github.com/ozum","followers_url":"https://api.github.com/users/ozum/followers","following_url":"https://api.github.com/users/ozum/following{/other_user}","gists_url":"https://api.github.com/users/ozum/gists{/gist_id}","starred_url":"https://api.github.com/users/ozum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozum/subscriptions","organizations_url":"https://api.github.com/users/ozum/orgs","repos_url":"https://api.github.com/users/ozum/repos","events_url":"https://api.github.com/users/ozum/events{/privacy}","received_events_url":"https://api.github.com/users/ozum/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T07:53:16Z","updated_at":"2015-12-12T07:53:16Z","body":":+1: "}}