{"action":"closed","number":1541,"pull_request":{"url":"https://api.github.com/repos/octobercms/october/pulls/1541","id":48287691,"html_url":"https://github.com/octobercms/october/pull/1541","diff_url":"https://github.com/octobercms/october/pull/1541.diff","patch_url":"https://github.com/octobercms/october/pull/1541.patch","issue_url":"https://api.github.com/repos/octobercms/october/issues/1541","number":1541,"state":"closed","locked":false,"title":"Revert 'hasMany/belongToMany' onRelationManageCreate ","user":{"login":"a2thek26","id":938302,"avatar_url":"https://avatars.githubusercontent.com/u/938302?v=3","gravatar_id":"","url":"https://api.github.com/users/a2thek26","html_url":"https://github.com/a2thek26","followers_url":"https://api.github.com/users/a2thek26/followers","following_url":"https://api.github.com/users/a2thek26/following{/other_user}","gists_url":"https://api.github.com/users/a2thek26/gists{/gist_id}","starred_url":"https://api.github.com/users/a2thek26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a2thek26/subscriptions","organizations_url":"https://api.github.com/users/a2thek26/orgs","repos_url":"https://api.github.com/users/a2thek26/repos","events_url":"https://api.github.com/users/a2thek26/events{/privacy}","received_events_url":"https://api.github.com/users/a2thek26/received_events","type":"User","site_admin":false},"body":"...so that children models save with the parent's id. Deals with af657e9 where child models where not saving with parent id and throwing constraint errors.\r\n\r\n","created_at":"2015-10-21T04:40:36Z","updated_at":"2015-10-31T05:40:58Z","closed_at":"2015-10-31T05:40:58Z","merged_at":null,"merge_commit_sha":"94d074d225037376ebc681bf99c53b9f6fe58ac2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/octobercms/october/pulls/1541/commits","review_comments_url":"https://api.github.com/repos/octobercms/october/pulls/1541/comments","review_comment_url":"https://api.github.com/repos/octobercms/october/pulls/comments{/number}","comments_url":"https://api.github.com/repos/octobercms/october/issues/1541/comments","statuses_url":"https://api.github.com/repos/octobercms/october/statuses/3def9bccedb4008e5e0a248a38633f0cda3e401a","head":{"label":"a2thek26:feature/relation-revert","ref":"feature/relation-revert","sha":"3def9bccedb4008e5e0a248a38633f0cda3e401a","user":{"login":"a2thek26","id":938302,"avatar_url":"https://avatars.githubusercontent.com/u/938302?v=3","gravatar_id":"","url":"https://api.github.com/users/a2thek26","html_url":"https://github.com/a2thek26","followers_url":"https://api.github.com/users/a2thek26/followers","following_url":"https://api.github.com/users/a2thek26/following{/other_user}","gists_url":"https://api.github.com/users/a2thek26/gists{/gist_id}","starred_url":"https://api.github.com/users/a2thek26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a2thek26/subscriptions","organizations_url":"https://api.github.com/users/a2thek26/orgs","repos_url":"https://api.github.com/users/a2thek26/repos","events_url":"https://api.github.com/users/a2thek26/events{/privacy}","received_events_url":"https://api.github.com/users/a2thek26/received_events","type":"User","site_admin":false},"repo":{"id":19893949,"name":"october","full_name":"a2thek26/october","owner":{"login":"a2thek26","id":938302,"avatar_url":"https://avatars.githubusercontent.com/u/938302?v=3","gravatar_id":"","url":"https://api.github.com/users/a2thek26","html_url":"https://github.com/a2thek26","followers_url":"https://api.github.com/users/a2thek26/followers","following_url":"https://api.github.com/users/a2thek26/following{/other_user}","gists_url":"https://api.github.com/users/a2thek26/gists{/gist_id}","starred_url":"https://api.github.com/users/a2thek26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a2thek26/subscriptions","organizations_url":"https://api.github.com/users/a2thek26/orgs","repos_url":"https://api.github.com/users/a2thek26/repos","events_url":"https://api.github.com/users/a2thek26/events{/privacy}","received_events_url":"https://api.github.com/users/a2thek26/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/a2thek26/october","description":"A minimalistic platform that gets back to basics.","fork":true,"url":"https://api.github.com/repos/a2thek26/october","forks_url":"https://api.github.com/repos/a2thek26/october/forks","keys_url":"https://api.github.com/repos/a2thek26/october/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a2thek26/october/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a2thek26/october/teams","hooks_url":"https://api.github.com/repos/a2thek26/october/hooks","issue_events_url":"https://api.github.com/repos/a2thek26/october/issues/events{/number}","events_url":"https://api.github.com/repos/a2thek26/october/events","assignees_url":"https://api.github.com/repos/a2thek26/october/assignees{/user}","branches_url":"https://api.github.com/repos/a2thek26/october/branches{/branch}","tags_url":"https://api.github.com/repos/a2thek26/october/tags","blobs_url":"https://api.github.com/repos/a2thek26/october/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a2thek26/october/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a2thek26/october/git/refs{/sha}","trees_url":"https://api.github.com/repos/a2thek26/october/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a2thek26/october/statuses/{sha}","languages_url":"https://api.github.com/repos/a2thek26/october/languages","stargazers_url":"https://api.github.com/repos/a2thek26/october/stargazers","contributors_url":"https://api.github.com/repos/a2thek26/october/contributors","subscribers_url":"https://api.github.com/repos/a2thek26/october/subscribers","subscription_url":"https://api.github.com/repos/a2thek26/october/subscription","commits_url":"https://api.github.com/repos/a2thek26/october/commits{/sha}","git_commits_url":"https://api.github.com/repos/a2thek26/october/git/commits{/sha}","comments_url":"https://api.github.com/repos/a2thek26/october/comments{/number}","issue_comment_url":"https://api.github.com/repos/a2thek26/october/issues/comments{/number}","contents_url":"https://api.github.com/repos/a2thek26/october/contents/{+path}","compare_url":"https://api.github.com/repos/a2thek26/october/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a2thek26/october/merges","archive_url":"https://api.github.com/repos/a2thek26/october/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a2thek26/october/downloads","issues_url":"https://api.github.com/repos/a2thek26/october/issues{/number}","pulls_url":"https://api.github.com/repos/a2thek26/october/pulls{/number}","milestones_url":"https://api.github.com/repos/a2thek26/october/milestones{/number}","notifications_url":"https://api.github.com/repos/a2thek26/october/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a2thek26/october/labels{/name}","releases_url":"https://api.github.com/repos/a2thek26/october/releases{/id}","created_at":"2014-05-17T19:02:59Z","updated_at":"2015-10-21T04:06:03Z","pushed_at":"2015-10-21T04:35:13Z","git_url":"git://github.com/a2thek26/october.git","ssh_url":"git@github.com:a2thek26/october.git","clone_url":"https://github.com/a2thek26/october.git","svn_url":"https://github.com/a2thek26/october","homepage":null,"size":19885,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"octobercms:master","ref":"master","sha":"db5fde4749cfc60adc8de0020f8791a73c8e63a1","user":{"login":"octobercms","id":5554805,"avatar_url":"https://avatars.githubusercontent.com/u/5554805?v=3","gravatar_id":"","url":"https://api.github.com/users/octobercms","html_url":"https://github.com/octobercms","followers_url":"https://api.github.com/users/octobercms/followers","following_url":"https://api.github.com/users/octobercms/following{/other_user}","gists_url":"https://api.github.com/users/octobercms/gists{/gist_id}","starred_url":"https://api.github.com/users/octobercms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobercms/subscriptions","organizations_url":"https://api.github.com/users/octobercms/orgs","repos_url":"https://api.github.com/users/octobercms/repos","events_url":"https://api.github.com/users/octobercms/events{/privacy}","received_events_url":"https://api.github.com/users/octobercms/received_events","type":"Organization","site_admin":false},"repo":{"id":14732311,"name":"october","full_name":"octobercms/october","owner":{"login":"octobercms","id":5554805,"avatar_url":"https://avatars.githubusercontent.com/u/5554805?v=3","gravatar_id":"","url":"https://api.github.com/users/octobercms","html_url":"https://github.com/octobercms","followers_url":"https://api.github.com/users/octobercms/followers","following_url":"https://api.github.com/users/octobercms/following{/other_user}","gists_url":"https://api.github.com/users/octobercms/gists{/gist_id}","starred_url":"https://api.github.com/users/octobercms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobercms/subscriptions","organizations_url":"https://api.github.com/users/octobercms/orgs","repos_url":"https://api.github.com/users/octobercms/repos","events_url":"https://api.github.com/users/octobercms/events{/privacy}","received_events_url":"https://api.github.com/users/octobercms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/octobercms/october","description":"Free, open-source, self-hosted CMS platform based on the Laravel PHP Framework.","fork":false,"url":"https://api.github.com/repos/octobercms/october","forks_url":"https://api.github.com/repos/octobercms/october/forks","keys_url":"https://api.github.com/repos/octobercms/october/keys{/key_id}","collaborators_url":"https://api.github.com/repos/octobercms/october/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/octobercms/october/teams","hooks_url":"https://api.github.com/repos/octobercms/october/hooks","issue_events_url":"https://api.github.com/repos/octobercms/october/issues/events{/number}","events_url":"https://api.github.com/repos/octobercms/october/events","assignees_url":"https://api.github.com/repos/octobercms/october/assignees{/user}","branches_url":"https://api.github.com/repos/octobercms/october/branches{/branch}","tags_url":"https://api.github.com/repos/octobercms/october/tags","blobs_url":"https://api.github.com/repos/octobercms/october/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/octobercms/october/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/octobercms/october/git/refs{/sha}","trees_url":"https://api.github.com/repos/octobercms/october/git/trees{/sha}","statuses_url":"https://api.github.com/repos/octobercms/october/statuses/{sha}","languages_url":"https://api.github.com/repos/octobercms/october/languages","stargazers_url":"https://api.github.com/repos/octobercms/october/stargazers","contributors_url":"https://api.github.com/repos/octobercms/october/contributors","subscribers_url":"https://api.github.com/repos/octobercms/october/subscribers","subscription_url":"https://api.github.com/repos/octobercms/october/subscription","commits_url":"https://api.github.com/repos/octobercms/october/commits{/sha}","git_commits_url":"https://api.github.com/repos/octobercms/october/git/commits{/sha}","comments_url":"https://api.github.com/repos/octobercms/october/comments{/number}","issue_comment_url":"https://api.github.com/repos/octobercms/october/issues/comments{/number}","contents_url":"https://api.github.com/repos/octobercms/october/contents/{+path}","compare_url":"https://api.github.com/repos/octobercms/october/compare/{base}...{head}","merges_url":"https://api.github.com/repos/octobercms/october/merges","archive_url":"https://api.github.com/repos/octobercms/october/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/octobercms/october/downloads","issues_url":"https://api.github.com/repos/octobercms/october/issues{/number}","pulls_url":"https://api.github.com/repos/octobercms/october/pulls{/number}","milestones_url":"https://api.github.com/repos/octobercms/october/milestones{/number}","notifications_url":"https://api.github.com/repos/octobercms/october/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/octobercms/october/labels{/name}","releases_url":"https://api.github.com/repos/octobercms/october/releases{/id}","created_at":"2013-11-26T23:30:43Z","updated_at":"2015-10-30T20:14:14Z","pushed_at":"2015-10-31T05:40:26Z","git_url":"git://github.com/octobercms/october.git","ssh_url":"git@github.com:octobercms/october.git","clone_url":"https://github.com/octobercms/october.git","svn_url":"https://github.com/octobercms/october","homepage":"http://octobercms.com/","size":28031,"stargazers_count":3619,"watchers_count":3619,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":817,"mirror_url":null,"open_issues_count":158,"forks":817,"open_issues":158,"watchers":3619,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/octobercms/october/pulls/1541"},"html":{"href":"https://github.com/octobercms/october/pull/1541"},"issue":{"href":"https://api.github.com/repos/octobercms/october/issues/1541"},"comments":{"href":"https://api.github.com/repos/octobercms/october/issues/1541/comments"},"review_comments":{"href":"https://api.github.com/repos/octobercms/october/pulls/1541/comments"},"review_comment":{"href":"https://api.github.com/repos/octobercms/october/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/octobercms/october/pulls/1541/commits"},"statuses":{"href":"https://api.github.com/repos/octobercms/october/statuses/3def9bccedb4008e5e0a248a38633f0cda3e401a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":5,"review_comments":0,"commits":1,"additions":13,"deletions":5,"changed_files":1}}