{"action":"created","issue":{"url":"https://api.github.com/repos/robmorgan/phinx/issues/266","labels_url":"https://api.github.com/repos/robmorgan/phinx/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/robmorgan/phinx/issues/266/comments","events_url":"https://api.github.com/repos/robmorgan/phinx/issues/266/events","html_url":"https://github.com/robmorgan/phinx/pull/266","id":37093673,"number":266,"title":"Implemented fake command","user":{"login":"sergeyvolkov","id":4158258,"avatar_url":"https://avatars.githubusercontent.com/u/4158258?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyvolkov","html_url":"https://github.com/sergeyvolkov","followers_url":"https://api.github.com/users/sergeyvolkov/followers","following_url":"https://api.github.com/users/sergeyvolkov/following{/other_user}","gists_url":"https://api.github.com/users/sergeyvolkov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyvolkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyvolkov/subscriptions","organizations_url":"https://api.github.com/users/sergeyvolkov/orgs","repos_url":"https://api.github.com/users/sergeyvolkov/repos","events_url":"https://api.github.com/users/sergeyvolkov/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyvolkov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robmorgan/phinx/labels/feature","name":"feature","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-07-03T15:37:13Z","updated_at":"2015-01-08T21:36:22Z","closed_at":"2015-01-08T21:36:22Z","pull_request":{"url":"https://api.github.com/repos/robmorgan/phinx/pulls/266","html_url":"https://github.com/robmorgan/phinx/pull/266","diff_url":"https://github.com/robmorgan/phinx/pull/266.diff","patch_url":"https://github.com/robmorgan/phinx/pull/266.patch"},"body":"Fake a migration in a chosen environment (set \"up\" status without executing).\r\n\r\nFor example, SQL code inside FirstMigration will not be executed after this commands:\r\n\r\n```sh\r\n$ bin/phinx status -e development\r\nPhinx by Rob Morgan. version 0.3.6\r\n\r\nusing config file ./phinx.yml\r\nusing config parser yaml\r\nusing migration path /%path%/migrations\r\nusing environment development\r\n\r\n Status  Migration ID    Migration Name\r\n-----------------------------------------\r\n   down  20140703180511  FirstMigration\r\n   down  20140703180516  SecondMigration\r\n\r\n$ bin/phinx fake -e development -t 20140703180511\r\nPhinx by Rob Morgan. version 0.3.6\r\n\r\nusing config file ./phinx.yml\r\nusing config parser yaml\r\nusing migration path /%path%/migrations\r\nusing environment development\r\nusing adapter mysql\r\nusing database phinx\r\n\r\nAll Done. Took 0.0133s\r\n\r\nStatus  Migration ID    Migration Name\r\n-----------------------------------------\r\n     up  20140703180511  FirstMigration\r\n   down  20140703180516  SecondMigration\r\n```\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/robmorgan/phinx/issues/comments/69253675","html_url":"https://github.com/robmorgan/phinx/pull/266#issuecomment-69253675","issue_url":"https://api.github.com/repos/robmorgan/phinx/issues/266","id":69253675,"user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T21:36:22Z","updated_at":"2015-01-08T21:36:22Z","body":"Closing this because it is outdated and cannot be merged cleanly. Please create a new PR against the 0.4.x-dev branch if you still want to see this functionality implemented."}}