{"action":"opened","number":105,"pull_request":{"url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls/105","id":29368555,"html_url":"https://github.com/doctrine/DoctrineMigrationsBundle/pull/105","diff_url":"https://github.com/doctrine/DoctrineMigrationsBundle/pull/105.diff","patch_url":"https://github.com/doctrine/DoctrineMigrationsBundle/pull/105.patch","issue_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues/105","number":105,"state":"open","locked":false,"title":"Removing the erroneous example","user":{"login":"mikeSimonson","id":907613,"avatar_url":"https://avatars.githubusercontent.com/u/907613?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeSimonson","html_url":"https://github.com/mikeSimonson","followers_url":"https://api.github.com/users/mikeSimonson/followers","following_url":"https://api.github.com/users/mikeSimonson/following{/other_user}","gists_url":"https://api.github.com/users/mikeSimonson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeSimonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeSimonson/subscriptions","organizations_url":"https://api.github.com/users/mikeSimonson/orgs","repos_url":"https://api.github.com/users/mikeSimonson/repos","events_url":"https://api.github.com/users/mikeSimonson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeSimonson/received_events","type":"User","site_admin":false},"body":"Getting the EntityManager in the postUp method is flawed: if you have several unexecuted migrations in the project, the EntityManager will explode when using it in the postUp method of the first migration, because it will not run with entities matching this schema but with the latest version of entities.\r\n\r\nhttps://github.com/doctrine/migrations/issues/124","created_at":"2015-02-16T12:11:16Z","updated_at":"2015-02-16T12:11:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls/105/commits","review_comments_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls/105/comments","review_comment_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues/105/comments","statuses_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/statuses/a24d97ce17e9822bf1d1fdaa0e08679c23067857","head":{"label":"doctrine:mikeSimonson-patch-1","ref":"mikeSimonson-patch-1","sha":"a24d97ce17e9822bf1d1fdaa0e08679c23067857","user":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":1649191,"name":"DoctrineMigrationsBundle","full_name":"doctrine/DoctrineMigrationsBundle","owner":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doctrine/DoctrineMigrationsBundle","description":"","fork":false,"url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle","forks_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/forks","keys_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/teams","hooks_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/hooks","issue_events_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/events","assignees_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/tags","blobs_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/languages","stargazers_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/stargazers","contributors_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/contributors","subscribers_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/subscribers","subscription_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/subscription","commits_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/merges","archive_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/downloads","issues_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/releases{/id}","created_at":"2011-04-22T10:08:13Z","updated_at":"2015-02-06T18:31:37Z","pushed_at":"2015-02-16T12:11:06Z","git_url":"git://github.com/doctrine/DoctrineMigrationsBundle.git","ssh_url":"git@github.com:doctrine/DoctrineMigrationsBundle.git","clone_url":"https://github.com/doctrine/DoctrineMigrationsBundle.git","svn_url":"https://github.com/doctrine/DoctrineMigrationsBundle","homepage":"","size":485,"stargazers_count":122,"watchers_count":122,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":17,"forks":97,"open_issues":17,"watchers":122,"default_branch":"master"}},"base":{"label":"doctrine:master","ref":"master","sha":"81575a4316951125ce408c70f30547c77d98f78a","user":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":1649191,"name":"DoctrineMigrationsBundle","full_name":"doctrine/DoctrineMigrationsBundle","owner":{"login":"doctrine","id":209254,"avatar_url":"https://avatars.githubusercontent.com/u/209254?v=3","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doctrine/DoctrineMigrationsBundle","description":"","fork":false,"url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle","forks_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/forks","keys_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/teams","hooks_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/hooks","issue_events_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/events","assignees_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/tags","blobs_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/languages","stargazers_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/stargazers","contributors_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/contributors","subscribers_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/subscribers","subscription_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/subscription","commits_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/merges","archive_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/downloads","issues_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/releases{/id}","created_at":"2011-04-22T10:08:13Z","updated_at":"2015-02-06T18:31:37Z","pushed_at":"2015-02-16T12:11:06Z","git_url":"git://github.com/doctrine/DoctrineMigrationsBundle.git","ssh_url":"git@github.com:doctrine/DoctrineMigrationsBundle.git","clone_url":"https://github.com/doctrine/DoctrineMigrationsBundle.git","svn_url":"https://github.com/doctrine/DoctrineMigrationsBundle","homepage":"","size":485,"stargazers_count":122,"watchers_count":122,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":17,"forks":97,"open_issues":17,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls/105"},"html":{"href":"https://github.com/doctrine/DoctrineMigrationsBundle/pull/105"},"issue":{"href":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues/105"},"comments":{"href":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/statuses/a24d97ce17e9822bf1d1fdaa0e08679c23067857"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}