{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/migrations/issues/179","labels_url":"https://api.github.com/repos/cakephp/migrations/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/migrations/issues/179/comments","events_url":"https://api.github.com/repos/cakephp/migrations/issues/179/events","html_url":"https://github.com/cakephp/migrations/pull/179","id":124636843,"number":179,"title":"Add initial support for generating seed files","user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/migrations/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-03T08:31:31Z","updated_at":"2016-01-04T19:06:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cakephp/migrations/pulls/179","html_url":"https://github.com/cakephp/migrations/pull/179","diff_url":"https://github.com/cakephp/migrations/pull/179.diff","patch_url":"https://github.com/cakephp/migrations/pull/179.patch"},"body":"This is part one of the necessary work to add support for phinx seeds. Our next step is to add support to the migrations runners to actually apply seeds to a database.\r\n\r\nOpening PR to continue discussion based on running code :)\r\n\r\nRefs #19."},"comment":{"url":"https://api.github.com/repos/cakephp/migrations/issues/comments/168772381","html_url":"https://github.com/cakephp/migrations/pull/179#issuecomment-168772381","issue_url":"https://api.github.com/repos/cakephp/migrations/issues/179","id":168772381,"user":{"login":"bravo-kernel","id":230500,"avatar_url":"https://avatars.githubusercontent.com/u/230500?v=3","gravatar_id":"","url":"https://api.github.com/users/bravo-kernel","html_url":"https://github.com/bravo-kernel","followers_url":"https://api.github.com/users/bravo-kernel/followers","following_url":"https://api.github.com/users/bravo-kernel/following{/other_user}","gists_url":"https://api.github.com/users/bravo-kernel/gists{/gist_id}","starred_url":"https://api.github.com/users/bravo-kernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bravo-kernel/subscriptions","organizations_url":"https://api.github.com/users/bravo-kernel/orgs","repos_url":"https://api.github.com/users/bravo-kernel/repos","events_url":"https://api.github.com/users/bravo-kernel/events{/privacy}","received_events_url":"https://api.github.com/users/bravo-kernel/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T19:06:05Z","updated_at":"2016-01-04T19:06:05Z","body":"Thanks for the pointer @josegonzalez. Exporting data so it can be re-entered cake-style (e.g. column order dependent) is what I think would complete my migrations workflow:\n\n1. Export table data before migration\n2. Alter tables using migrations\n3. Insert data from step 1 again"}}