{"action":"created","issue":{"url":"https://api.github.com/repos/mihailShumilov/mysql2postgresql/issues/2","labels_url":"https://api.github.com/repos/mihailShumilov/mysql2postgresql/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mihailShumilov/mysql2postgresql/issues/2/comments","events_url":"https://api.github.com/repos/mihailShumilov/mysql2postgresql/issues/2/events","html_url":"https://github.com/mihailShumilov/mysql2postgresql/issues/2","id":58718474,"number":2,"title":"Quoting all table and column names","user":{"login":"cmarmo","id":1662261,"avatar_url":"https://avatars.githubusercontent.com/u/1662261?v=3","gravatar_id":"","url":"https://api.github.com/users/cmarmo","html_url":"https://github.com/cmarmo","followers_url":"https://api.github.com/users/cmarmo/followers","following_url":"https://api.github.com/users/cmarmo/following{/other_user}","gists_url":"https://api.github.com/users/cmarmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cmarmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmarmo/subscriptions","organizations_url":"https://api.github.com/users/cmarmo/orgs","repos_url":"https://api.github.com/users/cmarmo/repos","events_url":"https://api.github.com/users/cmarmo/events{/privacy}","received_events_url":"https://api.github.com/users/cmarmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mihailShumilov","id":1096785,"avatar_url":"https://avatars.githubusercontent.com/u/1096785?v=3","gravatar_id":"","url":"https://api.github.com/users/mihailShumilov","html_url":"https://github.com/mihailShumilov","followers_url":"https://api.github.com/users/mihailShumilov/followers","following_url":"https://api.github.com/users/mihailShumilov/following{/other_user}","gists_url":"https://api.github.com/users/mihailShumilov/gists{/gist_id}","starred_url":"https://api.github.com/users/mihailShumilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihailShumilov/subscriptions","organizations_url":"https://api.github.com/users/mihailShumilov/orgs","repos_url":"https://api.github.com/users/mihailShumilov/repos","events_url":"https://api.github.com/users/mihailShumilov/events{/privacy}","received_events_url":"https://api.github.com/users/mihailShumilov/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-02-24T10:18:41Z","updated_at":"2015-02-24T11:44:49Z","closed_at":null,"body":"Hello Mihail,\r\nfirst of all thanks for your code, you saved my life! :)\r\nI just want to report a problem with quotes in the output sql file.\r\nColumn names are quoted when the table is created but table names are not.\r\nIn index creation commands table and columns are not quoted (see attached output example)\r\n\r\n```\r\nDROP TABLE IF EXISTS regionCodes;\r\n\r\nCREATE TABLE regionCodes (\r\n\t\"idregion\" serial NOT NULL ,\r\n\t\"regionName\" varchar(45) NOT NULL ,\r\n\t\"regionCode\" varchar(2) NOT NULL ,\r\n\tPRIMARY KEY (\"idregion\")\r\n\r\n);\r\nCREATE UNIQUE INDEX \"regionCodes_regionName_UNIQUE\" ON regionCodes (regionName);\r\nCREATE UNIQUE INDEX \"regionCodes_regionCode_UNIQUE\" ON regionCodes (regionCode);\r\n```\r\nThis could be produced errors in importing.\r\nIf you have time to take a look...\r\n\r\nThanks again for your code!\r\nChiara"},"comment":{"url":"https://api.github.com/repos/mihailShumilov/mysql2postgresql/issues/comments/75742422","html_url":"https://github.com/mihailShumilov/mysql2postgresql/issues/2#issuecomment-75742422","issue_url":"https://api.github.com/repos/mihailShumilov/mysql2postgresql/issues/2","id":75742422,"user":{"login":"mihailShumilov","id":1096785,"avatar_url":"https://avatars.githubusercontent.com/u/1096785?v=3","gravatar_id":"","url":"https://api.github.com/users/mihailShumilov","html_url":"https://github.com/mihailShumilov","followers_url":"https://api.github.com/users/mihailShumilov/followers","following_url":"https://api.github.com/users/mihailShumilov/following{/other_user}","gists_url":"https://api.github.com/users/mihailShumilov/gists{/gist_id}","starred_url":"https://api.github.com/users/mihailShumilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihailShumilov/subscriptions","organizations_url":"https://api.github.com/users/mihailShumilov/orgs","repos_url":"https://api.github.com/users/mihailShumilov/repos","events_url":"https://api.github.com/users/mihailShumilov/events{/privacy}","received_events_url":"https://api.github.com/users/mihailShumilov/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T11:44:49Z","updated_at":"2015-02-24T11:44:49Z","body":"Oh, thanks for reply\r\nI fixed it right now"}}