{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/migrations/issues/306","labels_url":"https://api.github.com/repos/doctrine/migrations/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/migrations/issues/306/comments","events_url":"https://api.github.com/repos/doctrine/migrations/issues/306/events","html_url":"https://github.com/doctrine/migrations/issues/306","id":93893626,"number":306,"title":"Big scary warning when there are actually no migrations to execute.","user":{"login":"tchalvak","id":23353,"avatar_url":"https://avatars.githubusercontent.com/u/23353?v=3","gravatar_id":"","url":"https://api.github.com/users/tchalvak","html_url":"https://github.com/tchalvak","followers_url":"https://api.github.com/users/tchalvak/followers","following_url":"https://api.github.com/users/tchalvak/following{/other_user}","gists_url":"https://api.github.com/users/tchalvak/gists{/gist_id}","starred_url":"https://api.github.com/users/tchalvak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchalvak/subscriptions","organizations_url":"https://api.github.com/users/tchalvak/orgs","repos_url":"https://api.github.com/users/tchalvak/repos","events_url":"https://api.github.com/users/tchalvak/events{/privacy}","received_events_url":"https://api.github.com/users/tchalvak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T21:24:18Z","updated_at":"2015-07-08T21:36:38Z","closed_at":null,"body":"Often when I run:\r\n\r\n    php app/console doctrine:migrations:migrate\r\n\r\nI get this:\r\n\r\n    WARNING! You are about to execute a database migration that could result in schema changes and data lost. Are you sure you wish to continue? (y/n)y\r\n\r\n    No migrations to execute.\r\n\r\nI think it would aid usability if the command did a pre-check for 0 migrations to run and just reported that first, so that the WARNING would be a special case certainly requiring extra scrutiny.\r\n\r\n    php app/console doctrine:migrations:migrate\r\n\r\n    No migrations to execute.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/doctrine/migrations/issues/comments/119738359","html_url":"https://github.com/doctrine/migrations/issues/306#issuecomment-119738359","issue_url":"https://api.github.com/repos/doctrine/migrations/issues/306","id":119738359,"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-08T21:36:38Z","updated_at":"2015-07-08T21:36:38Z","body":"It would be nicer indeed, but that functionality in mixed up in the migrate function now.\r\nYou could try to refactor it out though."}}