{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/2202","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2202/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2202/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2202/events","html_url":"https://github.com/CartoDB/cartodb/issues/2202","id":57448525,"number":2202,"title":"Issues when changing column types","user":{"login":"rafatower","id":1914276,"avatar_url":"https://avatars.githubusercontent.com/u/1914276?v=3","gravatar_id":"","url":"https://api.github.com/users/rafatower","html_url":"https://github.com/rafatower","followers_url":"https://api.github.com/users/rafatower/followers","following_url":"https://api.github.com/users/rafatower/following{/other_user}","gists_url":"https://api.github.com/users/rafatower/gists{/gist_id}","starred_url":"https://api.github.com/users/rafatower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafatower/subscriptions","organizations_url":"https://api.github.com/users/rafatower/orgs","repos_url":"https://api.github.com/users/rafatower/repos","events_url":"https://api.github.com/users/rafatower/events{/privacy}","received_events_url":"https://api.github.com/users/rafatower/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/backend","name":"backend","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"rafatower","id":1914276,"avatar_url":"https://avatars.githubusercontent.com/u/1914276?v=3","gravatar_id":"","url":"https://api.github.com/users/rafatower","html_url":"https://github.com/rafatower","followers_url":"https://api.github.com/users/rafatower/followers","following_url":"https://api.github.com/users/rafatower/following{/other_user}","gists_url":"https://api.github.com/users/rafatower/gists{/gist_id}","starred_url":"https://api.github.com/users/rafatower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafatower/subscriptions","organizations_url":"https://api.github.com/users/rafatower/orgs","repos_url":"https://api.github.com/users/rafatower/repos","events_url":"https://api.github.com/users/rafatower/events{/privacy}","received_events_url":"https://api.github.com/users/rafatower/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-12T11:29:44Z","updated_at":"2015-07-06T10:13:37Z","closed_at":null,"body":"How to reproduce:\r\n1. Create a new table\r\n2. Change the `description` column type to `date`\r\n3. Change the `description` column type to `number`\r\n\r\nThe server responds with an error:\r\n```\r\nPUT https://team.cartodb.com/u/rtorre/api/v1/tables/untitled_table/columns/description\r\nparams: {\"name\":\"description\",\"type\":\"number\"}\r\nresponse: {\"errors\":[\"PG::Error: ERROR:  function cartodb.cdb_datetonumber(timestamp with time zone) does not exist\"]}\r\n```\r\nReproduced in master."},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/comments/118796901","html_url":"https://github.com/CartoDB/cartodb/issues/2202#issuecomment-118796901","issue_url":"https://api.github.com/repos/CartoDB/cartodb/issues/2202","id":118796901,"user":{"login":"rafatower","id":1914276,"avatar_url":"https://avatars.githubusercontent.com/u/1914276?v=3","gravatar_id":"","url":"https://api.github.com/users/rafatower","html_url":"https://github.com/rafatower","followers_url":"https://api.github.com/users/rafatower/followers","following_url":"https://api.github.com/users/rafatower/following{/other_user}","gists_url":"https://api.github.com/users/rafatower/gists{/gist_id}","starred_url":"https://api.github.com/users/rafatower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafatower/subscriptions","organizations_url":"https://api.github.com/users/rafatower/orgs","repos_url":"https://api.github.com/users/rafatower/repos","events_url":"https://api.github.com/users/rafatower/events{/privacy}","received_events_url":"https://api.github.com/users/rafatower/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T10:13:36Z","updated_at":"2015-07-06T10:13:36Z","body":"cc/ @Kartones "}}