{"action":"created","issue":{"url":"https://api.github.com/repos/dongweiming/web_develop/issues/18","repository_url":"https://api.github.com/repos/dongweiming/web_develop","labels_url":"https://api.github.com/repos/dongweiming/web_develop/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/dongweiming/web_develop/issues/18/comments","events_url":"https://api.github.com/repos/dongweiming/web_develop/issues/18/events","html_url":"https://github.com/dongweiming/web_develop/issues/18","id":181862430,"number":18,"title":"第三章的数据库建立表 多了个逗号","user":{"login":"casper2dd","id":9264264,"avatar_url":"https://avatars.githubusercontent.com/u/9264264?v=3","gravatar_id":"","url":"https://api.github.com/users/casper2dd","html_url":"https://github.com/casper2dd","followers_url":"https://api.github.com/users/casper2dd/followers","following_url":"https://api.github.com/users/casper2dd/following{/other_user}","gists_url":"https://api.github.com/users/casper2dd/gists{/gist_id}","starred_url":"https://api.github.com/users/casper2dd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casper2dd/subscriptions","organizations_url":"https://api.github.com/users/casper2dd/orgs","repos_url":"https://api.github.com/users/casper2dd/repos","events_url":"https://api.github.com/users/casper2dd/events{/privacy}","received_events_url":"https://api.github.com/users/casper2dd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-09T03:17:12Z","updated_at":"2016-10-09T14:08:20Z","closed_at":null,"body":"## 书中:\r\nCREATE TABLE `PasteFile` (\r\n  `id` int(11) NOT NULL AUTO_INCREMENT,\r\n  `filename` varchar(5000) NOT NULL,\r\n  `filehash` varchar(128) NOT NULL,\r\n  `filemd5` varchar(128) NOT NULL,\r\n  `uploadtime` datetime NOT NULL,\r\n  `mimetype` varchar(256) NOT NULL,\r\n  `size` int(11) unsigned NOT NULL,\r\n  PRIMARY KEY (`id`),\r\n  UNIQUE KEY `filehash` (`filehash`),\r\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\r\n## 正确:\r\nCREATE TABLE `PasteFile` (\r\n  `id` int(11) NOT NULL AUTO_INCREMENT,\r\n  `filename` varchar(5000) NOT NULL,\r\n  `filehash` varchar(128) NOT NULL,\r\n  `filemd5` varchar(128) NOT NULL,\r\n  `uploadtime` datetime NOT NULL,\r\n  `mimetype` varchar(256) NOT NULL,\r\n  `size` int(11) unsigned NOT NULL,\r\n  PRIMARY KEY (`id`),\r\n  UNIQUE KEY `filehash` (`filehash`)\r\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;"},"comment":{"url":"https://api.github.com/repos/dongweiming/web_develop/issues/comments/252488422","html_url":"https://github.com/dongweiming/web_develop/issues/18#issuecomment-252488422","issue_url":"https://api.github.com/repos/dongweiming/web_develop/issues/18","id":252488422,"user":{"login":"dongweiming","id":841395,"avatar_url":"https://avatars.githubusercontent.com/u/841395?v=3","gravatar_id":"","url":"https://api.github.com/users/dongweiming","html_url":"https://github.com/dongweiming","followers_url":"https://api.github.com/users/dongweiming/followers","following_url":"https://api.github.com/users/dongweiming/following{/other_user}","gists_url":"https://api.github.com/users/dongweiming/gists{/gist_id}","starred_url":"https://api.github.com/users/dongweiming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongweiming/subscriptions","organizations_url":"https://api.github.com/users/dongweiming/orgs","repos_url":"https://api.github.com/users/dongweiming/repos","events_url":"https://api.github.com/users/dongweiming/events{/privacy}","received_events_url":"https://api.github.com/users/dongweiming/received_events","type":"User","site_admin":false},"created_at":"2016-10-09T14:08:20Z","updated_at":"2016-10-09T14:08:20Z","body":"@casper2dd 感谢反馈 其实 https://github.com/dongweiming/web_develop/blob/master/databases/schema.sql#L10 中是正确的。已经添加勘误了 https://github.com/dongweiming/web_develop/blob/master/errata.md"}}
{"actor":{"display_login":"dongweiming"}}