{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/6286","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/6286/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/6286/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/6286/events","html_url":"https://github.com/sequelize/sequelize/pull/6286","id":165914518,"number":6286,"title":"Fix #4780, defaults to individualHooks:true for belongsToMany","user":{"login":"sushantdhiman","id":9989487,"avatar_url":"https://avatars.githubusercontent.com/u/9989487?v=3","gravatar_id":"","url":"https://api.github.com/users/sushantdhiman","html_url":"https://github.com/sushantdhiman","followers_url":"https://api.github.com/users/sushantdhiman/followers","following_url":"https://api.github.com/users/sushantdhiman/following{/other_user}","gists_url":"https://api.github.com/users/sushantdhiman/gists{/gist_id}","starred_url":"https://api.github.com/users/sushantdhiman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushantdhiman/subscriptions","organizations_url":"https://api.github.com/users/sushantdhiman/orgs","repos_url":"https://api.github.com/users/sushantdhiman/repos","events_url":"https://api.github.com/users/sushantdhiman/events{/privacy}","received_events_url":"https://api.github.com/users/sushantdhiman/received_events","type":"User","site_admin":false},"labels":[{"id":157954047,"url":"https://api.github.com/repos/sequelize/sequelize/labels/pr:needs%20work","name":"pr:needs work","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-16T06:51:38Z","updated_at":"2016-10-31T19:00:58Z","closed_at":"2016-10-31T19:00:58Z","pull_request":{"url":"https://api.github.com/repos/sequelize/sequelize/pulls/6286","html_url":"https://github.com/sequelize/sequelize/pull/6286","diff_url":"https://github.com/sequelize/sequelize/pull/6286.diff","patch_url":"https://github.com/sequelize/sequelize/pull/6286.patch"},"body":"### Pull Request check-list\n- [x] Does `npm run test` or `npm run test-DIALECT` pass with this change (including linting)?\n- [x] Does your issue contain a link to existing issue (Closes #[issue]) or a description of the issue you are solving?\n- [x] Have you added new tests to prevent regressions?\n- [x] Have you added an entry under `Future` in the changelog?\n### Description of change\n\nCloses #4780 , Full discussion in #4777 \n\n`BelongsToMany` will now default to `individualHooks: true` when removing the associations. This will only happen if `through` model have any `beforeDestroy` or `afterDestroy` hooks\n"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/257387953","html_url":"https://github.com/sequelize/sequelize/pull/6286#issuecomment-257387953","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/6286","id":257387953,"user":{"login":"sushantdhiman","id":9989487,"avatar_url":"https://avatars.githubusercontent.com/u/9989487?v=3","gravatar_id":"","url":"https://api.github.com/users/sushantdhiman","html_url":"https://github.com/sushantdhiman","followers_url":"https://api.github.com/users/sushantdhiman/followers","following_url":"https://api.github.com/users/sushantdhiman/following{/other_user}","gists_url":"https://api.github.com/users/sushantdhiman/gists{/gist_id}","starred_url":"https://api.github.com/users/sushantdhiman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sushantdhiman/subscriptions","organizations_url":"https://api.github.com/users/sushantdhiman/orgs","repos_url":"https://api.github.com/users/sushantdhiman/repos","events_url":"https://api.github.com/users/sushantdhiman/events{/privacy}","received_events_url":"https://api.github.com/users/sushantdhiman/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T19:00:58Z","updated_at":"2016-10-31T19:00:58Z","body":"May be after other v4 issues i'll have a look on this"}}
{"actor":{"display_login":"sushantdhiman"}}