{"action":"created","issue":{"url":"https://api.github.com/repos/slick/slick/issues/1268","labels_url":"https://api.github.com/repos/slick/slick/issues/1268/labels{/name}","comments_url":"https://api.github.com/repos/slick/slick/issues/1268/comments","events_url":"https://api.github.com/repos/slick/slick/issues/1268/events","html_url":"https://github.com/slick/slick/issues/1268","id":104376652,"number":1268,"title":"Code Generator MySQL - Could not parse default value Some(b'0')","user":{"login":"heapifyman","id":274236,"avatar_url":"https://avatars.githubusercontent.com/u/274236?v=3","gravatar_id":"","url":"https://api.github.com/users/heapifyman","html_url":"https://github.com/heapifyman","followers_url":"https://api.github.com/users/heapifyman/followers","following_url":"https://api.github.com/users/heapifyman/following{/other_user}","gists_url":"https://api.github.com/users/heapifyman/gists{/gist_id}","starred_url":"https://api.github.com/users/heapifyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heapifyman/subscriptions","organizations_url":"https://api.github.com/users/heapifyman/orgs","repos_url":"https://api.github.com/users/heapifyman/repos","events_url":"https://api.github.com/users/heapifyman/events{/privacy}","received_events_url":"https://api.github.com/users/heapifyman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slick/slick/labels/improvement","name":"improvement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/slick/slick/milestones/3","html_url":"https://github.com/slick/slick/milestones/Future","labels_url":"https://api.github.com/repos/slick/slick/milestones/3/labels","id":491176,"number":3,"title":"Future","description":"","creator":{"login":"szeiger","id":54262,"avatar_url":"https://avatars.githubusercontent.com/u/54262?v=3","gravatar_id":"","url":"https://api.github.com/users/szeiger","html_url":"https://github.com/szeiger","followers_url":"https://api.github.com/users/szeiger/followers","following_url":"https://api.github.com/users/szeiger/following{/other_user}","gists_url":"https://api.github.com/users/szeiger/gists{/gist_id}","starred_url":"https://api.github.com/users/szeiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szeiger/subscriptions","organizations_url":"https://api.github.com/users/szeiger/orgs","repos_url":"https://api.github.com/users/szeiger/repos","events_url":"https://api.github.com/users/szeiger/events{/privacy}","received_events_url":"https://api.github.com/users/szeiger/received_events","type":"User","site_admin":false},"open_issues":146,"closed_issues":3,"state":"open","created_at":"2013-11-20T15:18:57Z","updated_at":"2015-09-23T08:51:32Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-09-01T23:51:06Z","updated_at":"2015-09-24T08:49:08Z","closed_at":null,"body":"The code generator fails for a MySQL column of type ```bit(1)``` with default of ```b'0'``` with exception:\r\n\r\n```slick.SlickException: Could not parse default value Some(b'0') for column ...```\r\n\r\nAdding the following two match cases to function ```default``` in ```slick.driver.MySQLDriver.ModelBuilder```'s ```createColumnBuilder``` seems to solve the issue:\r\n\r\n```scala\r\ncase (\"b'1'\",\"Boolean\") => Some(Some(true))\r\ncase (\"b'0'\",\"Boolean\") => Some(Some(false))\r\n```"},"comment":{"url":"https://api.github.com/repos/slick/slick/issues/comments/142860224","html_url":"https://github.com/slick/slick/issues/1268#issuecomment-142860224","issue_url":"https://api.github.com/repos/slick/slick/issues/1268","id":142860224,"user":{"login":"cvogt","id":274947,"avatar_url":"https://avatars.githubusercontent.com/u/274947?v=3","gravatar_id":"","url":"https://api.github.com/users/cvogt","html_url":"https://github.com/cvogt","followers_url":"https://api.github.com/users/cvogt/followers","following_url":"https://api.github.com/users/cvogt/following{/other_user}","gists_url":"https://api.github.com/users/cvogt/gists{/gist_id}","starred_url":"https://api.github.com/users/cvogt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvogt/subscriptions","organizations_url":"https://api.github.com/users/cvogt/orgs","repos_url":"https://api.github.com/users/cvogt/repos","events_url":"https://api.github.com/users/cvogt/events{/privacy}","received_events_url":"https://api.github.com/users/cvogt/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T08:49:08Z","updated_at":"2015-09-24T08:49:08Z","body":"I support the idea."}}