{"action":"created","issue":{"url":"https://api.github.com/repos/robmorgan/phinx/issues/716","labels_url":"https://api.github.com/repos/robmorgan/phinx/issues/716/labels{/name}","comments_url":"https://api.github.com/repos/robmorgan/phinx/issues/716/comments","events_url":"https://api.github.com/repos/robmorgan/phinx/issues/716/events","html_url":"https://github.com/robmorgan/phinx/pull/716","id":122064758,"number":716,"title":"Add an option to archive migration into sub-folders","user":{"login":"t1gor","id":1280013,"avatar_url":"https://avatars.githubusercontent.com/u/1280013?v=3","gravatar_id":"","url":"https://api.github.com/users/t1gor","html_url":"https://github.com/t1gor","followers_url":"https://api.github.com/users/t1gor/followers","following_url":"https://api.github.com/users/t1gor/following{/other_user}","gists_url":"https://api.github.com/users/t1gor/gists{/gist_id}","starred_url":"https://api.github.com/users/t1gor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t1gor/subscriptions","organizations_url":"https://api.github.com/users/t1gor/orgs","repos_url":"https://api.github.com/users/t1gor/repos","events_url":"https://api.github.com/users/t1gor/events{/privacy}","received_events_url":"https://api.github.com/users/t1gor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T15:25:41Z","updated_at":"2015-12-30T20:59:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/robmorgan/phinx/pulls/716","html_url":"https://github.com/robmorgan/phinx/pull/716","diff_url":"https://github.com/robmorgan/phinx/pull/716.diff","patch_url":"https://github.com/robmorgan/phinx/pull/716.patch"},"body":"We currently have about ~40 migration files and it is not handy any more to have them all in one folder.\r\n\r\nSo now, if you move the migrations [under a sub-directory](https://github.com/robmorgan/phinx/files/61359/after-move.txt), `phinx` will not be able to see them. The idea is to preserve the logic, but only add ability to check sub-directories, so the [output](https://github.com/robmorgan/phinx/files/61360/before.txt) remains the same.\r\n\r\nPlease take a look at the code and let me know your thoughts. \r\nTests and PSR2 comparability checked."},"comment":{"url":"https://api.github.com/repos/robmorgan/phinx/issues/comments/168072855","html_url":"https://github.com/robmorgan/phinx/pull/716#issuecomment-168072855","issue_url":"https://api.github.com/repos/robmorgan/phinx/issues/716","id":168072855,"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-12-30T20:59:12Z","updated_at":"2015-12-30T20:59:12Z","body":"Please rebase this branch to resolve conflicts. Thank you!"}}