{"action":"created","issue":{"url":"https://api.github.com/repos/robmorgan/phinx/issues/488","labels_url":"https://api.github.com/repos/robmorgan/phinx/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/robmorgan/phinx/issues/488/comments","events_url":"https://api.github.com/repos/robmorgan/phinx/issues/488/events","html_url":"https://github.com/robmorgan/phinx/pull/488","id":57593731,"number":488,"title":"Adding support for multiple migration paths.","user":{"login":"dancryer","id":35393,"avatar_url":"https://avatars.githubusercontent.com/u/35393?v=3","gravatar_id":"","url":"https://api.github.com/users/dancryer","html_url":"https://github.com/dancryer","followers_url":"https://api.github.com/users/dancryer/followers","following_url":"https://api.github.com/users/dancryer/following{/other_user}","gists_url":"https://api.github.com/users/dancryer/gists{/gist_id}","starred_url":"https://api.github.com/users/dancryer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancryer/subscriptions","organizations_url":"https://api.github.com/users/dancryer/orgs","repos_url":"https://api.github.com/users/dancryer/repos","events_url":"https://api.github.com/users/dancryer/events{/privacy}","received_events_url":"https://api.github.com/users/dancryer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-02-13T12:33:51Z","updated_at":"2015-10-07T13:12:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/robmorgan/phinx/pulls/488","html_url":"https://github.com/robmorgan/phinx/pull/488","diff_url":"https://github.com/robmorgan/phinx/pull/488.diff","patch_url":"https://github.com/robmorgan/phinx/pull/488.patch"},"body":"This pull request adds support for multiple migration paths, in what I hope is a Phinx-friendly way. \r\n\r\nBreakdown of changes:\r\n- Changed `Config::getMigrationPath()` to `Config::getMigrationPaths()`\r\n- Added a conversion from string to a single-item array (for older config files)\r\n- Updated migration `Manager` class to support multiple paths, via new method `getMigrationFiles()`\r\n- Updated `CreateCommand` to use Symfony `ChoiceQuestion` to allow the user to select which migration path to use when creating a new migration.\r\n- Updated tests that referenced `getMigrationPath()`\r\n- Added new test that the conversion from string to array for migration path works\r\n- Updated docs\r\n\r\nSee #232 and #343 for further discussion."},"comment":{"url":"https://api.github.com/repos/robmorgan/phinx/issues/comments/146192125","html_url":"https://github.com/robmorgan/phinx/pull/488#issuecomment-146192125","issue_url":"https://api.github.com/repos/robmorgan/phinx/issues/488","id":146192125,"user":{"login":"dancryer","id":35393,"avatar_url":"https://avatars.githubusercontent.com/u/35393?v=3","gravatar_id":"","url":"https://api.github.com/users/dancryer","html_url":"https://github.com/dancryer","followers_url":"https://api.github.com/users/dancryer/followers","following_url":"https://api.github.com/users/dancryer/following{/other_user}","gists_url":"https://api.github.com/users/dancryer/gists{/gist_id}","starred_url":"https://api.github.com/users/dancryer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancryer/subscriptions","organizations_url":"https://api.github.com/users/dancryer/orgs","repos_url":"https://api.github.com/users/dancryer/repos","events_url":"https://api.github.com/users/dancryer/events{/privacy}","received_events_url":"https://api.github.com/users/dancryer/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T13:12:34Z","updated_at":"2015-10-07T13:12:34Z","body":"Hi @robmorgan - Sorry to chase up on this again, but is there any chance this will be merged soon? \r\n\r\nI'm currently having to use a custom repository in my projects to pull my forked version, and I'd really love to switch back to using the mainline Phinx repository. :+1: "}}