{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/14008","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/14008/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/14008/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/14008/events","html_url":"https://github.com/laravel/framework/issues/14008","id":160453457,"number":14008,"title":"Soft deleting pivot table","user":{"login":"Spharian","id":2619388,"avatar_url":"https://avatars0.githubusercontent.com/u/2619388?v=4","gravatar_id":"","url":"https://api.github.com/users/Spharian","html_url":"https://github.com/Spharian","followers_url":"https://api.github.com/users/Spharian/followers","following_url":"https://api.github.com/users/Spharian/following{/other_user}","gists_url":"https://api.github.com/users/Spharian/gists{/gist_id}","starred_url":"https://api.github.com/users/Spharian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spharian/subscriptions","organizations_url":"https://api.github.com/users/Spharian/orgs","repos_url":"https://api.github.com/users/Spharian/repos","events_url":"https://api.github.com/users/Spharian/events{/privacy}","received_events_url":"https://api.github.com/users/Spharian/received_events","type":"User","site_admin":false},"labels":[{"id":24480042,"url":"https://api.github.com/repos/laravel/framework/labels/Action%20needed","name":"Action needed","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-06-15T15:34:56Z","updated_at":"2018-02-26T01:02:39Z","closed_at":"2016-06-21T07:30:09Z","author_association":"NONE","body":"I have a pivot table, it's model is using the `SoftDeletes` trait and it's migration contains `$table->softDeletes()`.\n\nWhen using `$thing->whatever()->detach($whateverId)`, the pivot's row is removed. Shouldn't the `deleted_at` value be updated on the concerned row instead?\n"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/368362852","html_url":"https://github.com/laravel/framework/issues/14008#issuecomment-368362852","issue_url":"https://api.github.com/repos/laravel/framework/issues/14008","id":368362852,"user":{"login":"bkuhl","id":524933,"avatar_url":"https://avatars2.githubusercontent.com/u/524933?v=4","gravatar_id":"","url":"https://api.github.com/users/bkuhl","html_url":"https://github.com/bkuhl","followers_url":"https://api.github.com/users/bkuhl/followers","following_url":"https://api.github.com/users/bkuhl/following{/other_user}","gists_url":"https://api.github.com/users/bkuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/bkuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkuhl/subscriptions","organizations_url":"https://api.github.com/users/bkuhl/orgs","repos_url":"https://api.github.com/users/bkuhl/repos","events_url":"https://api.github.com/users/bkuhl/events{/privacy}","received_events_url":"https://api.github.com/users/bkuhl/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T01:02:39Z","updated_at":"2018-02-26T01:02:39Z","author_association":"NONE","body":"Soft deletes aren't currently intended for relational data.  This thread is about a feature request, not a bug.  If you'd like to track relations, you may look for a package that tracks historical record of those things."}}
{"actor":{"display_login":"bkuhl"}}