{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/migrations/issues/188","labels_url":"https://api.github.com/repos/doctrine/migrations/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/migrations/issues/188/comments","events_url":"https://api.github.com/repos/doctrine/migrations/issues/188/events","html_url":"https://github.com/doctrine/migrations/pull/188","id":44554597,"number":188,"title":"Add --ignore-errors option to migrations:execute","user":{"login":"rjmunro","id":108641,"avatar_url":"https://avatars.githubusercontent.com/u/108641?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmunro","html_url":"https://github.com/rjmunro","followers_url":"https://api.github.com/users/rjmunro/followers","following_url":"https://api.github.com/users/rjmunro/following{/other_user}","gists_url":"https://api.github.com/users/rjmunro/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmunro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmunro/subscriptions","organizations_url":"https://api.github.com/users/rjmunro/orgs","repos_url":"https://api.github.com/users/rjmunro/repos","events_url":"https://api.github.com/users/rjmunro/events{/privacy}","received_events_url":"https://api.github.com/users/rjmunro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doctrine/migrations/labels/discussion","name":"discussion","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-01T11:46:15Z","updated_at":"2015-08-17T19:00:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/doctrine/migrations/pulls/188","html_url":"https://github.com/doctrine/migrations/pull/188","diff_url":"https://github.com/doctrine/migrations/pull/188.diff","patch_url":"https://github.com/doctrine/migrations/pull/188.patch"},"body":"If a migration fails with an error part way through, even if you fix\r\nthe error in the migration code, you usually cannot reapply the\r\nmigration because it will fail trying to redo the original commands that\r\nsucceeded.\r\n\r\nIf you try to roll back, that will fail on any commands that undo things\r\nthat weren't successfully done the first time.\r\n\r\nThis adds an --ignore-errors option to the migrations:execute command\r\nthat will run all the commands in the migration, even after earlier\r\ncommands cause errors. It is not recommended to use this option unless\r\nyou fully understand it's implications, but it can save a lot of time\r\nfixing a broken database migration."},"comment":{"url":"https://api.github.com/repos/doctrine/migrations/issues/comments/131930677","html_url":"https://github.com/doctrine/migrations/pull/188#issuecomment-131930677","issue_url":"https://api.github.com/repos/doctrine/migrations/issues/188","id":131930677,"user":{"login":"dextervip","id":964836,"avatar_url":"https://avatars.githubusercontent.com/u/964836?v=3","gravatar_id":"","url":"https://api.github.com/users/dextervip","html_url":"https://github.com/dextervip","followers_url":"https://api.github.com/users/dextervip/followers","following_url":"https://api.github.com/users/dextervip/following{/other_user}","gists_url":"https://api.github.com/users/dextervip/gists{/gist_id}","starred_url":"https://api.github.com/users/dextervip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dextervip/subscriptions","organizations_url":"https://api.github.com/users/dextervip/orgs","repos_url":"https://api.github.com/users/dextervip/repos","events_url":"https://api.github.com/users/dextervip/events{/privacy}","received_events_url":"https://api.github.com/users/dextervip/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T19:00:54Z","updated_at":"2015-08-17T19:00:54Z","body":"+1 It would be great to fix database easily."}}