{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/migrations/issues/180","labels_url":"https://api.github.com/repos/doctrine/migrations/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/migrations/issues/180/comments","events_url":"https://api.github.com/repos/doctrine/migrations/issues/180/events","html_url":"https://github.com/doctrine/migrations/issues/180","id":39396800,"number":180,"title":"[feature] cumulative migration","user":{"login":"ivan1986","id":156418,"avatar_url":"https://avatars.githubusercontent.com/u/156418?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan1986","html_url":"https://github.com/ivan1986","followers_url":"https://api.github.com/users/ivan1986/followers","following_url":"https://api.github.com/users/ivan1986/following{/other_user}","gists_url":"https://api.github.com/users/ivan1986/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan1986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan1986/subscriptions","organizations_url":"https://api.github.com/users/ivan1986/orgs","repos_url":"https://api.github.com/users/ivan1986/repos","events_url":"https://api.github.com/users/ivan1986/events{/privacy}","received_events_url":"https://api.github.com/users/ivan1986/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/doctrine/migrations/milestones/3","html_url":"https://github.com/doctrine/migrations/milestones/1.2","labels_url":"https://api.github.com/repos/doctrine/migrations/milestones/3/labels","id":980416,"number":3,"title":"1.2","description":"","creator":{"login":"mikeSimonson","id":907613,"avatar_url":"https://avatars.githubusercontent.com/u/907613?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeSimonson","html_url":"https://github.com/mikeSimonson","followers_url":"https://api.github.com/users/mikeSimonson/followers","following_url":"https://api.github.com/users/mikeSimonson/following{/other_user}","gists_url":"https://api.github.com/users/mikeSimonson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeSimonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeSimonson/subscriptions","organizations_url":"https://api.github.com/users/mikeSimonson/orgs","repos_url":"https://api.github.com/users/mikeSimonson/repos","events_url":"https://api.github.com/users/mikeSimonson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeSimonson/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-02-15T22:44:01Z","updated_at":"2015-06-30T08:50:24Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2014-08-04T07:38:22Z","updated_at":"2015-07-31T16:52:54Z","closed_at":null,"body":"When long use migrations we get many small migrations sometimes revert some changes\r\n\r\nNice to see way to create one big migration from old cumulative to new (for example create it on new release)\r\n\r\ncurrent migrations\r\n````\r\nm01012000\r\nm02012000\r\nm03012000\r\nm04012000\r\n...\r\nm01012010\r\n````\r\n\r\nnew way\r\n```\r\nm01012000\r\nm02012000\r\n...\r\nm31012000\r\nc01022000\r\nm01022000\r\n...\r\nc01012010\r\nm02012010\r\n```\r\n\r\nand apply its - all cumulative and after last cumulative"},"comment":{"url":"https://api.github.com/repos/doctrine/migrations/issues/comments/126750585","html_url":"https://github.com/doctrine/migrations/issues/180#issuecomment-126750585","issue_url":"https://api.github.com/repos/doctrine/migrations/issues/180","id":126750585,"user":{"login":"mikeSimonson","id":907613,"avatar_url":"https://avatars.githubusercontent.com/u/907613?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeSimonson","html_url":"https://github.com/mikeSimonson","followers_url":"https://api.github.com/users/mikeSimonson/followers","following_url":"https://api.github.com/users/mikeSimonson/following{/other_user}","gists_url":"https://api.github.com/users/mikeSimonson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeSimonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeSimonson/subscriptions","organizations_url":"https://api.github.com/users/mikeSimonson/orgs","repos_url":"https://api.github.com/users/mikeSimonson/repos","events_url":"https://api.github.com/users/mikeSimonson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeSimonson/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T16:52:53Z","updated_at":"2015-07-31T16:52:53Z","body":"ok.\r\n\r\nBut I think that it's impossible to guarantee that an automatic process like that wouldn't loose data.\r\nFrom what you describe, to me the only solution is to generate those migrations manually.\r\n\r\nOtherwise it's impossible to guarantee the outcome.\r\n\r\nWhat do you think @ivan1986 ?"}}