{"action":"closed","number":29,"pull_request":{"url":"https://api.github.com/repos/sumocoders/Framework/pulls/29","id":30375688,"html_url":"https://github.com/sumocoders/Framework/pull/29","diff_url":"https://github.com/sumocoders/Framework/pull/29.diff","patch_url":"https://github.com/sumocoders/Framework/pull/29.patch","issue_url":"https://api.github.com/repos/sumocoders/Framework/issues/29","number":29,"state":"closed","locked":false,"title":"Integrate doctrine migrations bundle","user":{"login":"tijsverkoyen","id":250042,"avatar_url":"https://avatars.githubusercontent.com/u/250042?v=3","gravatar_id":"","url":"https://api.github.com/users/tijsverkoyen","html_url":"https://github.com/tijsverkoyen","followers_url":"https://api.github.com/users/tijsverkoyen/followers","following_url":"https://api.github.com/users/tijsverkoyen/following{/other_user}","gists_url":"https://api.github.com/users/tijsverkoyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tijsverkoyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijsverkoyen/subscriptions","organizations_url":"https://api.github.com/users/tijsverkoyen/orgs","repos_url":"https://api.github.com/users/tijsverkoyen/repos","events_url":"https://api.github.com/users/tijsverkoyen/events{/privacy}","received_events_url":"https://api.github.com/users/tijsverkoyen/received_events","type":"User","site_admin":false},"body":"While developing you sometimes need to change the database. But to be able to \r\nchange the database on the server while deploying instead of doing these \r\nchanges manually we will use migrations.\r\n\r\nMigrations in the framework are handled by the [DoctrineMigrationsBundle](http://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html).\r\n\r\n## Usage\r\n\r\nBasically it is simple. The only thing you have to do when you need to change \r\nthe database structure is to change the annotation/configuration/... and run:\r\n \r\n    app/console doctrine:migrations:diff\r\n    \r\nThis will generate a migration-class which you can commit along your changes.\r\nOf course you will need to run the migration to update your own database:\r\n\r\n    app/console doctrine:migration:migrate\r\n\r\nThis Pull Request will fix https://github.com/sumocoders/Framework/issues/24\r\n","created_at":"2015-03-03T14:05:12Z","updated_at":"2015-03-03T14:58:30Z","closed_at":"2015-03-03T14:58:30Z","merged_at":"2015-03-03T14:58:30Z","merge_commit_sha":"83cdd62c76677abcb189344ae7f9b5d55343c7c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sumocoders/Framework/pulls/29/commits","review_comments_url":"https://api.github.com/repos/sumocoders/Framework/pulls/29/comments","review_comment_url":"https://api.github.com/repos/sumocoders/Framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sumocoders/Framework/issues/29/comments","statuses_url":"https://api.github.com/repos/sumocoders/Framework/statuses/34dddf61b84d9c623bd6fe9b89efdac9fd80d582","head":{"label":"sumocoders:integrate-doctrine-migrations-bundle","ref":"integrate-doctrine-migrations-bundle","sha":"34dddf61b84d9c623bd6fe9b89efdac9fd80d582","user":{"login":"sumocoders","id":359178,"avatar_url":"https://avatars.githubusercontent.com/u/359178?v=3","gravatar_id":"","url":"https://api.github.com/users/sumocoders","html_url":"https://github.com/sumocoders","followers_url":"https://api.github.com/users/sumocoders/followers","following_url":"https://api.github.com/users/sumocoders/following{/other_user}","gists_url":"https://api.github.com/users/sumocoders/gists{/gist_id}","starred_url":"https://api.github.com/users/sumocoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumocoders/subscriptions","organizations_url":"https://api.github.com/users/sumocoders/orgs","repos_url":"https://api.github.com/users/sumocoders/repos","events_url":"https://api.github.com/users/sumocoders/events{/privacy}","received_events_url":"https://api.github.com/users/sumocoders/received_events","type":"Organization","site_admin":false},"repo":{"id":29462085,"name":"Framework","full_name":"sumocoders/Framework","owner":{"login":"sumocoders","id":359178,"avatar_url":"https://avatars.githubusercontent.com/u/359178?v=3","gravatar_id":"","url":"https://api.github.com/users/sumocoders","html_url":"https://github.com/sumocoders","followers_url":"https://api.github.com/users/sumocoders/followers","following_url":"https://api.github.com/users/sumocoders/following{/other_user}","gists_url":"https://api.github.com/users/sumocoders/gists{/gist_id}","starred_url":"https://api.github.com/users/sumocoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumocoders/subscriptions","organizations_url":"https://api.github.com/users/sumocoders/orgs","repos_url":"https://api.github.com/users/sumocoders/repos","events_url":"https://api.github.com/users/sumocoders/events{/privacy}","received_events_url":"https://api.github.com/users/sumocoders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumocoders/Framework","description":"The Symfony version of the SumoCoders framework.","fork":false,"url":"https://api.github.com/repos/sumocoders/Framework","forks_url":"https://api.github.com/repos/sumocoders/Framework/forks","keys_url":"https://api.github.com/repos/sumocoders/Framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumocoders/Framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumocoders/Framework/teams","hooks_url":"https://api.github.com/repos/sumocoders/Framework/hooks","issue_events_url":"https://api.github.com/repos/sumocoders/Framework/issues/events{/number}","events_url":"https://api.github.com/repos/sumocoders/Framework/events","assignees_url":"https://api.github.com/repos/sumocoders/Framework/assignees{/user}","branches_url":"https://api.github.com/repos/sumocoders/Framework/branches{/branch}","tags_url":"https://api.github.com/repos/sumocoders/Framework/tags","blobs_url":"https://api.github.com/repos/sumocoders/Framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumocoders/Framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumocoders/Framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumocoders/Framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumocoders/Framework/statuses/{sha}","languages_url":"https://api.github.com/repos/sumocoders/Framework/languages","stargazers_url":"https://api.github.com/repos/sumocoders/Framework/stargazers","contributors_url":"https://api.github.com/repos/sumocoders/Framework/contributors","subscribers_url":"https://api.github.com/repos/sumocoders/Framework/subscribers","subscription_url":"https://api.github.com/repos/sumocoders/Framework/subscription","commits_url":"https://api.github.com/repos/sumocoders/Framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumocoders/Framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumocoders/Framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumocoders/Framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumocoders/Framework/contents/{+path}","compare_url":"https://api.github.com/repos/sumocoders/Framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumocoders/Framework/merges","archive_url":"https://api.github.com/repos/sumocoders/Framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumocoders/Framework/downloads","issues_url":"https://api.github.com/repos/sumocoders/Framework/issues{/number}","pulls_url":"https://api.github.com/repos/sumocoders/Framework/pulls{/number}","milestones_url":"https://api.github.com/repos/sumocoders/Framework/milestones{/number}","notifications_url":"https://api.github.com/repos/sumocoders/Framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumocoders/Framework/labels{/name}","releases_url":"https://api.github.com/repos/sumocoders/Framework/releases{/id}","created_at":"2015-01-19T08:57:15Z","updated_at":"2015-03-03T10:59:45Z","pushed_at":"2015-03-03T14:58:30Z","git_url":"git://github.com/sumocoders/Framework.git","ssh_url":"git@github.com:sumocoders/Framework.git","clone_url":"https://github.com/sumocoders/Framework.git","svn_url":"https://github.com/sumocoders/Framework","homepage":null,"size":2048,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"sumocoders:master","ref":"master","sha":"0b6b4bb6e6998a8f621bdd8a995bbd13f3007b79","user":{"login":"sumocoders","id":359178,"avatar_url":"https://avatars.githubusercontent.com/u/359178?v=3","gravatar_id":"","url":"https://api.github.com/users/sumocoders","html_url":"https://github.com/sumocoders","followers_url":"https://api.github.com/users/sumocoders/followers","following_url":"https://api.github.com/users/sumocoders/following{/other_user}","gists_url":"https://api.github.com/users/sumocoders/gists{/gist_id}","starred_url":"https://api.github.com/users/sumocoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumocoders/subscriptions","organizations_url":"https://api.github.com/users/sumocoders/orgs","repos_url":"https://api.github.com/users/sumocoders/repos","events_url":"https://api.github.com/users/sumocoders/events{/privacy}","received_events_url":"https://api.github.com/users/sumocoders/received_events","type":"Organization","site_admin":false},"repo":{"id":29462085,"name":"Framework","full_name":"sumocoders/Framework","owner":{"login":"sumocoders","id":359178,"avatar_url":"https://avatars.githubusercontent.com/u/359178?v=3","gravatar_id":"","url":"https://api.github.com/users/sumocoders","html_url":"https://github.com/sumocoders","followers_url":"https://api.github.com/users/sumocoders/followers","following_url":"https://api.github.com/users/sumocoders/following{/other_user}","gists_url":"https://api.github.com/users/sumocoders/gists{/gist_id}","starred_url":"https://api.github.com/users/sumocoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumocoders/subscriptions","organizations_url":"https://api.github.com/users/sumocoders/orgs","repos_url":"https://api.github.com/users/sumocoders/repos","events_url":"https://api.github.com/users/sumocoders/events{/privacy}","received_events_url":"https://api.github.com/users/sumocoders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumocoders/Framework","description":"The Symfony version of the SumoCoders framework.","fork":false,"url":"https://api.github.com/repos/sumocoders/Framework","forks_url":"https://api.github.com/repos/sumocoders/Framework/forks","keys_url":"https://api.github.com/repos/sumocoders/Framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumocoders/Framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumocoders/Framework/teams","hooks_url":"https://api.github.com/repos/sumocoders/Framework/hooks","issue_events_url":"https://api.github.com/repos/sumocoders/Framework/issues/events{/number}","events_url":"https://api.github.com/repos/sumocoders/Framework/events","assignees_url":"https://api.github.com/repos/sumocoders/Framework/assignees{/user}","branches_url":"https://api.github.com/repos/sumocoders/Framework/branches{/branch}","tags_url":"https://api.github.com/repos/sumocoders/Framework/tags","blobs_url":"https://api.github.com/repos/sumocoders/Framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumocoders/Framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumocoders/Framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumocoders/Framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumocoders/Framework/statuses/{sha}","languages_url":"https://api.github.com/repos/sumocoders/Framework/languages","stargazers_url":"https://api.github.com/repos/sumocoders/Framework/stargazers","contributors_url":"https://api.github.com/repos/sumocoders/Framework/contributors","subscribers_url":"https://api.github.com/repos/sumocoders/Framework/subscribers","subscription_url":"https://api.github.com/repos/sumocoders/Framework/subscription","commits_url":"https://api.github.com/repos/sumocoders/Framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumocoders/Framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumocoders/Framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumocoders/Framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumocoders/Framework/contents/{+path}","compare_url":"https://api.github.com/repos/sumocoders/Framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumocoders/Framework/merges","archive_url":"https://api.github.com/repos/sumocoders/Framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumocoders/Framework/downloads","issues_url":"https://api.github.com/repos/sumocoders/Framework/issues{/number}","pulls_url":"https://api.github.com/repos/sumocoders/Framework/pulls{/number}","milestones_url":"https://api.github.com/repos/sumocoders/Framework/milestones{/number}","notifications_url":"https://api.github.com/repos/sumocoders/Framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumocoders/Framework/labels{/name}","releases_url":"https://api.github.com/repos/sumocoders/Framework/releases{/id}","created_at":"2015-01-19T08:57:15Z","updated_at":"2015-03-03T10:59:45Z","pushed_at":"2015-03-03T14:58:30Z","git_url":"git://github.com/sumocoders/Framework.git","ssh_url":"git@github.com:sumocoders/Framework.git","clone_url":"https://github.com/sumocoders/Framework.git","svn_url":"https://github.com/sumocoders/Framework","homepage":null,"size":2048,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sumocoders/Framework/pulls/29"},"html":{"href":"https://github.com/sumocoders/Framework/pull/29"},"issue":{"href":"https://api.github.com/repos/sumocoders/Framework/issues/29"},"comments":{"href":"https://api.github.com/repos/sumocoders/Framework/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/sumocoders/Framework/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/sumocoders/Framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sumocoders/Framework/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/sumocoders/Framework/statuses/34dddf61b84d9c623bd6fe9b89efdac9fd80d582"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tijsverkoyen","id":250042,"avatar_url":"https://avatars.githubusercontent.com/u/250042?v=3","gravatar_id":"","url":"https://api.github.com/users/tijsverkoyen","html_url":"https://github.com/tijsverkoyen","followers_url":"https://api.github.com/users/tijsverkoyen/followers","following_url":"https://api.github.com/users/tijsverkoyen/following{/other_user}","gists_url":"https://api.github.com/users/tijsverkoyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tijsverkoyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijsverkoyen/subscriptions","organizations_url":"https://api.github.com/users/tijsverkoyen/orgs","repos_url":"https://api.github.com/users/tijsverkoyen/repos","events_url":"https://api.github.com/users/tijsverkoyen/events{/privacy}","received_events_url":"https://api.github.com/users/tijsverkoyen/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":5,"additions":155,"deletions":1,"changed_files":6}}