{"action":"created","issue":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/202","repository_url":"https://api.github.com/repos/typeorm/typeorm","labels_url":"https://api.github.com/repos/typeorm/typeorm/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/typeorm/typeorm/issues/202/comments","events_url":"https://api.github.com/repos/typeorm/typeorm/issues/202/events","html_url":"https://github.com/typeorm/typeorm/issues/202","id":200790684,"number":202,"title":"PostgresQueryRunner.hasColumn throw error","user":{"login":"mingyang91","id":6914730,"avatar_url":"https://avatars.githubusercontent.com/u/6914730?v=3","gravatar_id":"","url":"https://api.github.com/users/mingyang91","html_url":"https://github.com/mingyang91","followers_url":"https://api.github.com/users/mingyang91/followers","following_url":"https://api.github.com/users/mingyang91/following{/other_user}","gists_url":"https://api.github.com/users/mingyang91/gists{/gist_id}","starred_url":"https://api.github.com/users/mingyang91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingyang91/subscriptions","organizations_url":"https://api.github.com/users/mingyang91/orgs","repos_url":"https://api.github.com/users/mingyang91/repos","events_url":"https://api.github.com/users/mingyang91/events{/privacy}","received_events_url":"https://api.github.com/users/mingyang91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-14T08:36:58Z","updated_at":"2017-01-14T10:10:38Z","closed_at":null,"body":"Error log\r\n```\r\n[2017-01-14 16:21:44.727] [ERROR] DB - query failed: SELECT * FROM information_schema.tables WHERE table_catalog = 'ebdb' AND table_schema = 'public' AND table_name = 'candidate' AND column_name = 'phone'\r\n[2017-01-14 16:21:44.727] [ERROR] DB - error during executing query:error: column \"column_name\" does not exist\r\n[2017-01-14 16:21:44.730] [DEBUG] DB - executing query: ROLLBACK\r\n[2017-01-14 16:21:44.764] [ERROR] DB_Connection - { error: column \"column_name\" does not exist\r\n    at Connection.parseE (/Users/famer.me/Repository/vein/node_modules/pg/lib/connection.js:554:11)\r\n    at Connection.parseMessage (/Users/famer.me/Repository/vein/node_modules/pg/lib/connection.js:381:17)\r\n```\r\n\r\nI think the `sql` in the `hasColumn` is not correct.\r\n`information_schema.tables` table does not contain column `column_name`, he should be modified to `information_schema.columns`."},"comment":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/comments/272614761","html_url":"https://github.com/typeorm/typeorm/issues/202#issuecomment-272614761","issue_url":"https://api.github.com/repos/typeorm/typeorm/issues/202","id":272614761,"user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars.githubusercontent.com/u/1753397?v=3","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"created_at":"2017-01-14T10:10:38Z","updated_at":"2017-01-14T10:10:38Z","body":"Released in `0.0.7-alpha.19`"}}
{"actor":{"display_login":"pleerock"}}