{"issue":{"created_at":"2011-10-30T16:37:05Z","state":"open","updated_at":"2011-12-05T09:12:35Z","user":{"gravatar_id":"66038ae4a3d4fca184196b4286394a95","id":476823,"url":"https://api.github.com/users/gdiscry","login":"gdiscry","avatar_url":"https://secure.gravatar.com/avatar/66038ae4a3d4fca184196b4286394a95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"The type of the `:active` column in the `:gitolite_public_keys` table is incorrect. It currently has an `:integer` type but is used for booleans in the code. It probably works with MySQL because there isn't a real boolean type but it fails with PostgreSQL.\r\n\r\nWe need an ActiveRecord migration that converts the `:active` column to `:boolean`. However, the `change_column` method doesn't seem to work with PostgreSQL and an integer-to-boolean conversion, so we need a more complex solution.","assignee":null,"id":2091176,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":4,"title":"Incorrect ActiveRecord type when using PostgreSQL","html_url":"https://github.com/ivyl/redmine-gitolite/issues/4","closed_at":null,"url":"https://api.github.com/repos/ivyl/redmine-gitolite/issues/4","milestone":null},"action":"created","comment":{"created_at":"2011-12-05T09:12:35Z","updated_at":"2011-12-05T09:12:35Z","user":{"gravatar_id":"ab55778fee12b6744545c5f3ab6325f2","id":16490,"url":"https://api.github.com/users/ivyl","login":"ivyl","avatar_url":"https://secure.gravatar.com/avatar/ab55778fee12b6744545c5f3ab6325f2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I was off for some time. Will be done soon.\n\n_Sent via Hubroid_","id":3013637,"url":"https://api.github.com/repos/ivyl/redmine-gitolite/issues/comments/3013637"}}