{"action":"closed","issue":{"url":"https://api.github.com/repos/ismail-s/JTime/issues/11","repository_url":"https://api.github.com/repos/ismail-s/JTime","labels_url":"https://api.github.com/repos/ismail-s/JTime/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/ismail-s/JTime/issues/11/comments","events_url":"https://api.github.com/repos/ismail-s/JTime/issues/11/events","html_url":"https://github.com/ismail-s/JTime/issues/11","id":114292336,"number":11,"title":"Create votes table","user":{"login":"ismail-s","id":3778413,"avatar_url":"https://avatars.githubusercontent.com/u/3778413?v=3","gravatar_id":"","url":"https://api.github.com/users/ismail-s","html_url":"https://github.com/ismail-s","followers_url":"https://api.github.com/users/ismail-s/followers","following_url":"https://api.github.com/users/ismail-s/following{/other_user}","gists_url":"https://api.github.com/users/ismail-s/gists{/gist_id}","starred_url":"https://api.github.com/users/ismail-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismail-s/subscriptions","organizations_url":"https://api.github.com/users/ismail-s/orgs","repos_url":"https://api.github.com/users/ismail-s/repos","events_url":"https://api.github.com/users/ismail-s/events{/privacy}","received_events_url":"https://api.github.com/users/ismail-s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ismail-s/JTime/labels/REST%20API","name":"REST API","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ismail-s/JTime/milestones/3","html_url":"https://github.com/ismail-s/JTime/milestones/REST%20API%202.0","labels_url":"https://api.github.com/repos/ismail-s/JTime/milestones/3/labels","id":1388768,"number":3,"title":"REST API 2.0","description":"Stuff not needed for go-live","creator":{"login":"ismail-s","id":3778413,"avatar_url":"https://avatars.githubusercontent.com/u/3778413?v=3","gravatar_id":"","url":"https://api.github.com/users/ismail-s","html_url":"https://github.com/ismail-s","followers_url":"https://api.github.com/users/ismail-s/followers","following_url":"https://api.github.com/users/ismail-s/following{/other_user}","gists_url":"https://api.github.com/users/ismail-s/gists{/gist_id}","starred_url":"https://api.github.com/users/ismail-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismail-s/subscriptions","organizations_url":"https://api.github.com/users/ismail-s/orgs","repos_url":"https://api.github.com/users/ismail-s/repos","events_url":"https://api.github.com/users/ismail-s/events{/privacy}","received_events_url":"https://api.github.com/users/ismail-s/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2015-11-02T13:02:39Z","updated_at":"2016-05-08T22:03:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-30T15:29:20Z","updated_at":"2016-05-08T22:03:43Z","closed_at":"2016-05-08T22:03:43Z","body":"Columns:\r\n\r\n- Id\r\n- up/down vote\r\n- voterId\r\n- timeId\r\n- createdAt\r\n\r\nBy having this as a table, it means that we can keep track of who voted for what, when. Downside is that it is one extra SQL query to count the rows, but meh, that can be optimised if it becomes an issue."}}