{"action":"created","issue":{"url":"https://api.github.com/repos/robmorgan/phinx/issues/549","labels_url":"https://api.github.com/repos/robmorgan/phinx/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/robmorgan/phinx/issues/549/comments","events_url":"https://api.github.com/repos/robmorgan/phinx/issues/549/events","html_url":"https://github.com/robmorgan/phinx/issues/549","id":73396807,"number":549,"title":"Adding \"bootstrap\" handling (via an external PHP file)","user":{"login":"enygma","id":66796,"avatar_url":"https://avatars.githubusercontent.com/u/66796?v=3","gravatar_id":"","url":"https://api.github.com/users/enygma","html_url":"https://github.com/enygma","followers_url":"https://api.github.com/users/enygma/followers","following_url":"https://api.github.com/users/enygma/following{/other_user}","gists_url":"https://api.github.com/users/enygma/gists{/gist_id}","starred_url":"https://api.github.com/users/enygma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enygma/subscriptions","organizations_url":"https://api.github.com/users/enygma/orgs","repos_url":"https://api.github.com/users/enygma/repos","events_url":"https://api.github.com/users/enygma/events{/privacy}","received_events_url":"https://api.github.com/users/enygma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T18:45:59Z","updated_at":"2015-05-07T13:32:58Z","closed_at":null,"body":"I have a situation where it would be helpful to be able to call a PHP bootstrap file prior to the execution of the migrations. Ideally it would be able to set configuration information back into the application, possibly called either from the command line:\r\n\r\n```\r\nvendor/bin/phinx migrate --bootstrap=/path/to/bootstrap.php\r\n```\r\nor in the configuration file:\r\n```\r\npaths:\r\n    migrations: %%PHINX_CONFIG_DIR%%/migrations\r\n    bootstrap: /path/to/bootstrap.php\r\n```\r\n\r\nI don't know if this functionality might be useful to anyone else out there but I could see it being handy for my personal needs."},"comment":{"url":"https://api.github.com/repos/robmorgan/phinx/issues/comments/99867200","html_url":"https://github.com/robmorgan/phinx/issues/549#issuecomment-99867200","issue_url":"https://api.github.com/repos/robmorgan/phinx/issues/549","id":99867200,"user":{"login":"cassiosantos","id":27541,"avatar_url":"https://avatars.githubusercontent.com/u/27541?v=3","gravatar_id":"","url":"https://api.github.com/users/cassiosantos","html_url":"https://github.com/cassiosantos","followers_url":"https://api.github.com/users/cassiosantos/followers","following_url":"https://api.github.com/users/cassiosantos/following{/other_user}","gists_url":"https://api.github.com/users/cassiosantos/gists{/gist_id}","starred_url":"https://api.github.com/users/cassiosantos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassiosantos/subscriptions","organizations_url":"https://api.github.com/users/cassiosantos/orgs","repos_url":"https://api.github.com/users/cassiosantos/repos","events_url":"https://api.github.com/users/cassiosantos/events{/privacy}","received_events_url":"https://api.github.com/users/cassiosantos/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T13:32:58Z","updated_at":"2015-05-07T13:32:58Z","body":":+1:"}}