{"action":"created","issue":{"url":"https://api.github.com/repos/sgrif/diesel/issues/146","labels_url":"https://api.github.com/repos/sgrif/diesel/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/sgrif/diesel/issues/146/comments","events_url":"https://api.github.com/repos/sgrif/diesel/issues/146/events","html_url":"https://github.com/sgrif/diesel/issues/146","id":130030423,"number":146,"title":"Add `diesel drop` to the CLI","user":{"login":"mcasper","id":6878025,"avatar_url":"https://avatars.githubusercontent.com/u/6878025?v=3","gravatar_id":"","url":"https://api.github.com/users/mcasper","html_url":"https://github.com/mcasper","followers_url":"https://api.github.com/users/mcasper/followers","following_url":"https://api.github.com/users/mcasper/following{/other_user}","gists_url":"https://api.github.com/users/mcasper/gists{/gist_id}","starred_url":"https://api.github.com/users/mcasper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcasper/subscriptions","organizations_url":"https://api.github.com/users/mcasper/orgs","repos_url":"https://api.github.com/users/mcasper/repos","events_url":"https://api.github.com/users/mcasper/events{/privacy}","received_events_url":"https://api.github.com/users/mcasper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-30T20:03:19Z","updated_at":"2016-01-30T20:20:16Z","closed_at":null,"body":"We should have some way of dropping the user's database in the CLI, for whenever the user wants to reset their data or their schema. This command could be `diesel drop`, `diesel drop_db`, `diesel drop_database`... This would allow the workflow of `diesel drop; diesel setup` to reset your database. \r\n\r\nMy thought of what it should do:\r\n* Drop the database specified in the user's database-url string.\r\n\r\nIf we like this, I'll go ahead and implement it this afternoon."},"comment":{"url":"https://api.github.com/repos/sgrif/diesel/issues/comments/177290737","html_url":"https://github.com/sgrif/diesel/issues/146#issuecomment-177290737","issue_url":"https://api.github.com/repos/sgrif/diesel/issues/146","id":177290737,"user":{"login":"sgrif","id":1529387,"avatar_url":"https://avatars.githubusercontent.com/u/1529387?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrif","html_url":"https://github.com/sgrif","followers_url":"https://api.github.com/users/sgrif/followers","following_url":"https://api.github.com/users/sgrif/following{/other_user}","gists_url":"https://api.github.com/users/sgrif/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrif/subscriptions","organizations_url":"https://api.github.com/users/sgrif/orgs","repos_url":"https://api.github.com/users/sgrif/repos","events_url":"https://api.github.com/users/sgrif/events{/privacy}","received_events_url":"https://api.github.com/users/sgrif/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T20:20:16Z","updated_at":"2016-01-30T20:20:16Z","body":"Is there any use case for just `drop` on its own? Should we just have this be `diesel database reset`?"}}