{"action":"opened","issue":{"url":"https://api.github.com/repos/gabordemooij/redbean/issues/485","labels_url":"https://api.github.com/repos/gabordemooij/redbean/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/gabordemooij/redbean/issues/485/comments","events_url":"https://api.github.com/repos/gabordemooij/redbean/issues/485/events","html_url":"https://github.com/gabordemooij/redbean/issues/485","id":128071786,"number":485,"title":"Postgres boolean datatype","user":{"login":"wilzoka","id":13008434,"avatar_url":"https://avatars.githubusercontent.com/u/13008434?v=3","gravatar_id":"","url":"https://api.github.com/users/wilzoka","html_url":"https://github.com/wilzoka","followers_url":"https://api.github.com/users/wilzoka/followers","following_url":"https://api.github.com/users/wilzoka/following{/other_user}","gists_url":"https://api.github.com/users/wilzoka/gists{/gist_id}","starred_url":"https://api.github.com/users/wilzoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilzoka/subscriptions","organizations_url":"https://api.github.com/users/wilzoka/orgs","repos_url":"https://api.github.com/users/wilzoka/repos","events_url":"https://api.github.com/users/wilzoka/events{/privacy}","received_events_url":"https://api.github.com/users/wilzoka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-22T02:54:29Z","updated_at":"2016-01-22T02:54:29Z","closed_at":null,"body":"Hey, i create a field with boolean datatype in postgres, when im load it using R::Load() then store without change the boolean value, i get a exception with invalid boolean datatype.\r\n\r\nWhen var_dump the bean i got the boolean field like this: 'boolfield':false\r\nand to work the R::Store i need to change to: $bean->boolfield = 0\r\nso i can store.\r\ndo you'll fix it?"}}