{"action":"created","issue":{"url":"https://api.github.com/repos/harrystech/seed_migration/issues/29","labels_url":"https://api.github.com/repos/harrystech/seed_migration/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/harrystech/seed_migration/issues/29/comments","events_url":"https://api.github.com/repos/harrystech/seed_migration/issues/29/events","html_url":"https://github.com/harrystech/seed_migration/pull/29","id":87807325,"number":29,"title":"Don't define `seed:migrate` and `seed:rollback` tasks that already exist","user":{"login":"geoffharcourt","id":319471,"avatar_url":"https://avatars.githubusercontent.com/u/319471?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffharcourt","html_url":"https://github.com/geoffharcourt","followers_url":"https://api.github.com/users/geoffharcourt/followers","following_url":"https://api.github.com/users/geoffharcourt/following{/other_user}","gists_url":"https://api.github.com/users/geoffharcourt/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffharcourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffharcourt/subscriptions","organizations_url":"https://api.github.com/users/geoffharcourt/orgs","repos_url":"https://api.github.com/users/geoffharcourt/repos","events_url":"https://api.github.com/users/geoffharcourt/events{/privacy}","received_events_url":"https://api.github.com/users/geoffharcourt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-12T18:07:43Z","updated_at":"2015-06-22T11:51:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/harrystech/seed_migration/pulls/29","html_url":"https://github.com/harrystech/seed_migration/pull/29","diff_url":"https://github.com/harrystech/seed_migration/pull/29.diff","patch_url":"https://github.com/harrystech/seed_migration/pull/29.patch"},"body":"In some applications using Spring I notice that these tasks get defined\ntwice, which leads to them being executed twice for each attempt. That\nis not a big problem with migrating forward, but it can cause annoying\nrollbacks if your `down` migration code deletes data you've already\nmodified since seeding.\n\nPreventing duplication/re-definition of tasks will also prevent\nconflicts with user-customized tasks."},"comment":{"url":"https://api.github.com/repos/harrystech/seed_migration/issues/comments/114077016","html_url":"https://github.com/harrystech/seed_migration/pull/29#issuecomment-114077016","issue_url":"https://api.github.com/repos/harrystech/seed_migration/issues/29","id":114077016,"user":{"login":"werkshy","id":3298,"avatar_url":"https://avatars.githubusercontent.com/u/3298?v=3","gravatar_id":"","url":"https://api.github.com/users/werkshy","html_url":"https://github.com/werkshy","followers_url":"https://api.github.com/users/werkshy/followers","following_url":"https://api.github.com/users/werkshy/following{/other_user}","gists_url":"https://api.github.com/users/werkshy/gists{/gist_id}","starred_url":"https://api.github.com/users/werkshy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/werkshy/subscriptions","organizations_url":"https://api.github.com/users/werkshy/orgs","repos_url":"https://api.github.com/users/werkshy/repos","events_url":"https://api.github.com/users/werkshy/events{/privacy}","received_events_url":"https://api.github.com/users/werkshy/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T11:51:53Z","updated_at":"2015-06-22T11:51:53Z","body":"I haven't seen this myself and I use Spring. @pjambet do you use Spring?"}}