{"action":"closed","issue":{"url":"https://api.github.com/repos/open-learning-exchange/planet/issues/678","repository_url":"https://api.github.com/repos/open-learning-exchange/planet","labels_url":"https://api.github.com/repos/open-learning-exchange/planet/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/open-learning-exchange/planet/issues/678/comments","events_url":"https://api.github.com/repos/open-learning-exchange/planet/issues/678/events","html_url":"https://github.com/open-learning-exchange/planet/issues/678","id":315696328,"node_id":"MDU6SXNzdWUzMTU2OTYzMjg=","number":678,"title":"Shelf database reorganization?","user":{"login":"paulbert","id":9203229,"node_id":"MDQ6VXNlcjkyMDMyMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/9203229?v=4","gravatar_id":"","url":"https://api.github.com/users/paulbert","html_url":"https://github.com/paulbert","followers_url":"https://api.github.com/users/paulbert/followers","following_url":"https://api.github.com/users/paulbert/following{/other_user}","gists_url":"https://api.github.com/users/paulbert/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbert/subscriptions","organizations_url":"https://api.github.com/users/paulbert/orgs","repos_url":"https://api.github.com/users/paulbert/repos","events_url":"https://api.github.com/users/paulbert/events{/privacy}","received_events_url":"https://api.github.com/users/paulbert/received_events","type":"User","site_admin":false},"labels":[{"id":649369262,"node_id":"MDU6TGFiZWw2NDkzNjkyNjI=","url":"https://api.github.com/repos/open-learning-exchange/planet/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-19T01:31:09Z","updated_at":"2018-12-28T20:31:37Z","closed_at":"2018-12-28T20:31:37Z","author_association":"MEMBER","body":"I realized something today about the `shelf` database (for user selected items that show up on the dashboard): we could reorganize it so that queries are easier for both \"all x in user y shelf\" and \"all users with x in shelf\":\r\n```\r\n{\r\n  type = 'resource'|'course'...\r\n  userId\r\n  itemId\r\n}\r\n```\r\n\r\n@lmmrssa @dogi How does this look to you?\r\n\r\n  "}}
{"actor":{"display_login":"paulbert"}}