{"action":"created","issue":{"url":"https://api.github.com/repos/nextras/migrations/issues/14","labels_url":"https://api.github.com/repos/nextras/migrations/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/nextras/migrations/issues/14/comments","events_url":"https://api.github.com/repos/nextras/migrations/issues/14/events","html_url":"https://github.com/nextras/migrations/issues/14","id":66958827,"number":14,"title":"Doctrine DBAL, locks","user":{"login":"solcik","id":1543737,"avatar_url":"https://avatars.githubusercontent.com/u/1543737?v=3","gravatar_id":"","url":"https://api.github.com/users/solcik","html_url":"https://github.com/solcik","followers_url":"https://api.github.com/users/solcik/followers","following_url":"https://api.github.com/users/solcik/following{/other_user}","gists_url":"https://api.github.com/users/solcik/gists{/gist_id}","starred_url":"https://api.github.com/users/solcik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solcik/subscriptions","organizations_url":"https://api.github.com/users/solcik/orgs","repos_url":"https://api.github.com/users/solcik/repos","events_url":"https://api.github.com/users/solcik/events{/privacy}","received_events_url":"https://api.github.com/users/solcik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nextras/migrations/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"JanTvrdik","id":175109,"avatar_url":"https://avatars.githubusercontent.com/u/175109?v=3","gravatar_id":"","url":"https://api.github.com/users/JanTvrdik","html_url":"https://github.com/JanTvrdik","followers_url":"https://api.github.com/users/JanTvrdik/followers","following_url":"https://api.github.com/users/JanTvrdik/following{/other_user}","gists_url":"https://api.github.com/users/JanTvrdik/gists{/gist_id}","starred_url":"https://api.github.com/users/JanTvrdik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanTvrdik/subscriptions","organizations_url":"https://api.github.com/users/JanTvrdik/orgs","repos_url":"https://api.github.com/users/JanTvrdik/repos","events_url":"https://api.github.com/users/JanTvrdik/events{/privacy}","received_events_url":"https://api.github.com/users/JanTvrdik/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-04-07T18:18:43Z","updated_at":"2015-04-07T18:53:15Z","closed_at":null,"body":"Hello,\r\n\r\nI just tried your v3 migrations with Doctrine DBAL and I ran into few problems:\r\n\r\nThe main one:\r\n\r\nQuery is returning string \"1\" and therefore it is going to throw error LockException('Unable to release a lock.'); from unlock method because in lock method is LockException('Unable to acquire a lock.'); thrown and that one is catched in run method of Runner.\r\n\r\n![migrations-lock](https://cloud.githubusercontent.com/assets/1543737/7030129/afca6dc4-dd62-11e4-8b77-2690f076d2c7.PNG)\r\n![migrations-unlock](https://cloud.githubusercontent.com/assets/1543737/7030132/b1f4452a-dd62-11e4-9010-5ebdc9c531d1.PNG)"},"comment":{"url":"https://api.github.com/repos/nextras/migrations/issues/comments/90696909","html_url":"https://github.com/nextras/migrations/issues/14#issuecomment-90696909","issue_url":"https://api.github.com/repos/nextras/migrations/issues/14","id":90696909,"user":{"login":"JanTvrdik","id":175109,"avatar_url":"https://avatars.githubusercontent.com/u/175109?v=3","gravatar_id":"","url":"https://api.github.com/users/JanTvrdik","html_url":"https://github.com/JanTvrdik","followers_url":"https://api.github.com/users/JanTvrdik/followers","following_url":"https://api.github.com/users/JanTvrdik/following{/other_user}","gists_url":"https://api.github.com/users/JanTvrdik/gists{/gist_id}","starred_url":"https://api.github.com/users/JanTvrdik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanTvrdik/subscriptions","organizations_url":"https://api.github.com/users/JanTvrdik/orgs","repos_url":"https://api.github.com/users/JanTvrdik/repos","events_url":"https://api.github.com/users/JanTvrdik/events{/privacy}","received_events_url":"https://api.github.com/users/JanTvrdik/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T18:53:15Z","updated_at":"2015-04-07T18:53:15Z","body":"Is there an easy way to tell Doctrine to return correct data types?"}}