{"action":"created","issue":{"url":"https://api.github.com/repos/johnRedden/TextbookProject/issues/37","repository_url":"https://api.github.com/repos/johnRedden/TextbookProject","labels_url":"https://api.github.com/repos/johnRedden/TextbookProject/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/johnRedden/TextbookProject/issues/37/comments","events_url":"https://api.github.com/repos/johnRedden/TextbookProject/issues/37/events","html_url":"https://github.com/johnRedden/TextbookProject/issues/37","id":157356575,"number":37,"title":"Structure Change: Add Order<integer> ","user":{"login":"FelixVicis","id":6580094,"avatar_url":"https://avatars.githubusercontent.com/u/6580094?v=3","gravatar_id":"","url":"https://api.github.com/users/FelixVicis","html_url":"https://github.com/FelixVicis","followers_url":"https://api.github.com/users/FelixVicis/followers","following_url":"https://api.github.com/users/FelixVicis/following{/other_user}","gists_url":"https://api.github.com/users/FelixVicis/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixVicis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixVicis/subscriptions","organizations_url":"https://api.github.com/users/FelixVicis/orgs","repos_url":"https://api.github.com/users/FelixVicis/repos","events_url":"https://api.github.com/users/FelixVicis/events{/privacy}","received_events_url":"https://api.github.com/users/FelixVicis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/johnRedden/TextbookProject/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"FelixVicis","id":6580094,"avatar_url":"https://avatars.githubusercontent.com/u/6580094?v=3","gravatar_id":"","url":"https://api.github.com/users/FelixVicis","html_url":"https://github.com/FelixVicis","followers_url":"https://api.github.com/users/FelixVicis/followers","following_url":"https://api.github.com/users/FelixVicis/following{/other_user}","gists_url":"https://api.github.com/users/FelixVicis/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixVicis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixVicis/subscriptions","organizations_url":"https://api.github.com/users/FelixVicis/orgs","repos_url":"https://api.github.com/users/FelixVicis/repos","events_url":"https://api.github.com/users/FelixVicis/events{/privacy}","received_events_url":"https://api.github.com/users/FelixVicis/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-05-28T20:56:58Z","updated_at":"2016-05-29T23:09:04Z","closed_at":null,"body":"Change to structure: adding field Order<integer> to levels: Chapter, Section, Objective, Exercise\r\n\r\n- [x] Added to Chapter\r\n- [x] Added to Section\r\n- [x] Added to Objective\r\n- [x] Added to Exercise\r\n- [x] Modify creation functions for field Order\r\n- [x] Sort structures going out to screen by order then title\r\n- [ ] Handle order as field in export and import of books"},"comment":{"url":"https://api.github.com/repos/johnRedden/TextbookProject/issues/comments/222388319","html_url":"https://github.com/johnRedden/TextbookProject/issues/37#issuecomment-222388319","issue_url":"https://api.github.com/repos/johnRedden/TextbookProject/issues/37","id":222388319,"user":{"login":"FelixVicis","id":6580094,"avatar_url":"https://avatars.githubusercontent.com/u/6580094?v=3","gravatar_id":"","url":"https://api.github.com/users/FelixVicis","html_url":"https://github.com/FelixVicis","followers_url":"https://api.github.com/users/FelixVicis/followers","following_url":"https://api.github.com/users/FelixVicis/following{/other_user}","gists_url":"https://api.github.com/users/FelixVicis/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixVicis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixVicis/subscriptions","organizations_url":"https://api.github.com/users/FelixVicis/orgs","repos_url":"https://api.github.com/users/FelixVicis/repos","events_url":"https://api.github.com/users/FelixVicis/events{/privacy}","received_events_url":"https://api.github.com/users/FelixVicis/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T23:09:04Z","updated_at":"2016-05-29T23:09:04Z","body":"## Your Datastore and You!\r\n### A guide to fixing major errors.\r\n---------------------------\r\n\r\nWhen updating your datastore with entity changes, there are really only two options for such an occasion.\r\n\r\n1. Programmatically update your entities\r\n   This can be accomplished in many ways: scripts, exporting, ect. But those are topics for another discussion.\r\n\r\n2. Manually edit your datastore\r\n   \r\n   This will be the primary purpose of the guide. Editing the entities is a time consuming job but a very thorough one as well. What you gain by doing this very difficult job is the maintenance of semantic links; no need to worry about broken references, they never changed!\r\n\r\nAt the beginning of this guide, we assume that you have already backed up your information.\r\n\r\n**Step 1:** Verify your model.\r\n\r\n  This initial step is very important, as the work you will be doing is very time consuming it is important that you know exactly what is to be changed. \r\n![step one_ensure model is correct](https://cloud.githubusercontent.com/assets/6580094/15636528/b9fc5c92-25b6-11e6-9f53-1fbc35d37592.png)\r\n\r\n**Step 2:** Add Missing Fields\r\n\r\n  Upon fining a field missing for your entities, fill this missing information in with valid information. This could be nil for a string, zero for an integer, ect. The important part is that there is no longer a missing key.\r\n![step 2_add missing fields](https://cloud.githubusercontent.com/assets/6580094/15636536/0fe287da-25b7-11e6-8c2d-54603c5f5cfe.png)\r\n\r\n**Step 2.5:** Rinse and Repeat\r\n\r\n  For every entity of every kind that need information do this action. This is the slow part of the job.\r\n![step 2 5 keep doing these actions until all of these dashes are gone](https://cloud.githubusercontent.com/assets/6580094/15636543/42410aa8-25b7-11e6-9aa8-4541c6b5384e.png)\r\n\r\n**Step 3:** Update, Deployment, Indexes\r\n\r\n  Now that your information is valid again, it is time for you to pull your latest development version, deploy again to the app you just updated and then check your indexes. All indexes in your project must be labeled with a green arrow as 'serving' otherwise that query will not function.\r\n![step 4 deploy and check indexes](https://cloud.githubusercontent.com/assets/6580094/15636548/91e86510-25b7-11e6-8d68-8e6dca42c479.png)\r\n\r\n**Step 4:** Complete\r\n\r\n  Your project is back on task and ready to roll.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"FelixVicis"}}