{"action":"opened","issue":{"url":"https://api.github.com/repos/mattes/migrate/issues/35","labels_url":"https://api.github.com/repos/mattes/migrate/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/mattes/migrate/issues/35/comments","events_url":"https://api.github.com/repos/mattes/migrate/issues/35/events","html_url":"https://github.com/mattes/migrate/issues/35","id":60161673,"number":35,"title":"migrating down from a 001_XXX.down.sql script leaves behind the schema_migrations table with value 1","user":{"login":"bhameyie","id":1227030,"avatar_url":"https://avatars.githubusercontent.com/u/1227030?v=3","gravatar_id":"","url":"https://api.github.com/users/bhameyie","html_url":"https://github.com/bhameyie","followers_url":"https://api.github.com/users/bhameyie/followers","following_url":"https://api.github.com/users/bhameyie/following{/other_user}","gists_url":"https://api.github.com/users/bhameyie/gists{/gist_id}","starred_url":"https://api.github.com/users/bhameyie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhameyie/subscriptions","organizations_url":"https://api.github.com/users/bhameyie/orgs","repos_url":"https://api.github.com/users/bhameyie/repos","events_url":"https://api.github.com/users/bhameyie/events{/privacy}","received_events_url":"https://api.github.com/users/bhameyie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-06T21:31:50Z","updated_at":"2015-03-06T21:31:50Z","closed_at":null,"body":"Using the cassandra driver, I have noticed that migrating down (even without ever migrating up in the first place) would leave a schema_migration table behind with values \r\n\r\n versionrow | version\r\n------------+---------\r\n          1 |       1\r\n\r\nThat's an issue because from that point forward it is no longer possible to truly migrate up. Preferably, it should have set those values to 0."}}