{"action":"closed","issue":{"url":"https://api.github.com/repos/smalldogs/ip2country/issues/3","labels_url":"https://api.github.com/repos/smalldogs/ip2country/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/smalldogs/ip2country/issues/3/comments","events_url":"https://api.github.com/repos/smalldogs/ip2country/issues/3/events","html_url":"https://github.com/smalldogs/ip2country/issues/3","id":54069330,"number":3,"title":"Change classname so migration rollback will work","user":{"login":"9livesdevelopment","id":8975204,"avatar_url":"https://avatars.githubusercontent.com/u/8975204?v=3","gravatar_id":"","url":"https://api.github.com/users/9livesdevelopment","html_url":"https://github.com/9livesdevelopment","followers_url":"https://api.github.com/users/9livesdevelopment/followers","following_url":"https://api.github.com/users/9livesdevelopment/following{/other_user}","gists_url":"https://api.github.com/users/9livesdevelopment/gists{/gist_id}","starred_url":"https://api.github.com/users/9livesdevelopment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9livesdevelopment/subscriptions","organizations_url":"https://api.github.com/users/9livesdevelopment/orgs","repos_url":"https://api.github.com/users/9livesdevelopment/repos","events_url":"https://api.github.com/users/9livesdevelopment/events{/privacy}","received_events_url":"https://api.github.com/users/9livesdevelopment/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"brwnll","id":445190,"avatar_url":"https://avatars.githubusercontent.com/u/445190?v=3","gravatar_id":"","url":"https://api.github.com/users/brwnll","html_url":"https://github.com/brwnll","followers_url":"https://api.github.com/users/brwnll/followers","following_url":"https://api.github.com/users/brwnll/following{/other_user}","gists_url":"https://api.github.com/users/brwnll/gists{/gist_id}","starred_url":"https://api.github.com/users/brwnll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brwnll/subscriptions","organizations_url":"https://api.github.com/users/brwnll/orgs","repos_url":"https://api.github.com/users/brwnll/repos","events_url":"https://api.github.com/users/brwnll/events{/privacy}","received_events_url":"https://api.github.com/users/brwnll/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-12T15:52:39Z","updated_at":"2015-02-12T05:02:50Z","closed_at":"2015-02-12T05:02:50Z","body":"I tried to rollback the migration, but it wouldn't work as Laravel determines the classname based on the table name resulting in:\r\n\r\nCreateLaravelIpcountryTable\r\n\r\nHowever your classname is:\r\n\r\nCreateLaravelIpCountryTable (notice Country vs country)\r\n\r\nEither the classname or the table name have to change in order for the rollback to work. \r\n\r\nCheers"}}