{"action":"created","issue":{"url":"https://api.github.com/repos/aioc/aio-register/issues/5","labels_url":"https://api.github.com/repos/aioc/aio-register/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/aioc/aio-register/issues/5/comments","events_url":"https://api.github.com/repos/aioc/aio-register/issues/5/events","html_url":"https://github.com/aioc/aio-register/pull/5","id":88950931,"number":5,"title":"Writing models","user":{"login":"DpEpsilon","id":1008119,"avatar_url":"https://avatars.githubusercontent.com/u/1008119?v=3","gravatar_id":"","url":"https://api.github.com/users/DpEpsilon","html_url":"https://github.com/DpEpsilon","followers_url":"https://api.github.com/users/DpEpsilon/followers","following_url":"https://api.github.com/users/DpEpsilon/following{/other_user}","gists_url":"https://api.github.com/users/DpEpsilon/gists{/gist_id}","starred_url":"https://api.github.com/users/DpEpsilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DpEpsilon/subscriptions","organizations_url":"https://api.github.com/users/DpEpsilon/orgs","repos_url":"https://api.github.com/users/DpEpsilon/repos","events_url":"https://api.github.com/users/DpEpsilon/events{/privacy}","received_events_url":"https://api.github.com/users/DpEpsilon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bgbnbigben","id":1323667,"avatar_url":"https://avatars.githubusercontent.com/u/1323667?v=3","gravatar_id":"","url":"https://api.github.com/users/bgbnbigben","html_url":"https://github.com/bgbnbigben","followers_url":"https://api.github.com/users/bgbnbigben/followers","following_url":"https://api.github.com/users/bgbnbigben/following{/other_user}","gists_url":"https://api.github.com/users/bgbnbigben/gists{/gist_id}","starred_url":"https://api.github.com/users/bgbnbigben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgbnbigben/subscriptions","organizations_url":"https://api.github.com/users/bgbnbigben/orgs","repos_url":"https://api.github.com/users/bgbnbigben/repos","events_url":"https://api.github.com/users/bgbnbigben/events{/privacy}","received_events_url":"https://api.github.com/users/bgbnbigben/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-17T08:15:31Z","updated_at":"2015-06-19T22:19:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aioc/aio-register/pulls/5","html_url":"https://github.com/aioc/aio-register/pull/5","diff_url":"https://github.com/aioc/aio-register/pull/5.diff","patch_url":"https://github.com/aioc/aio-register/pull/5.patch"},"body":"The thing I did at the hackathon with automap was on hard drugs.\r\n\r\nThe SQLAlchemy way looks much better, though I consider the table for storing old usernames a bit ugly. When you want to commit a Student, you need to ```db.session.add(student.username_object)``` as well as ```db.session.add(student)``` before running ```db.session.commit()```.\r\n\r\nThere should be a nice way to integrate these changes with whatever Grundo has done with logins."},"comment":{"url":"https://api.github.com/repos/aioc/aio-register/issues/comments/113660466","html_url":"https://github.com/aioc/aio-register/pull/5#issuecomment-113660466","issue_url":"https://api.github.com/repos/aioc/aio-register/issues/5","id":113660466,"user":{"login":"openendings","id":1588983,"avatar_url":"https://avatars.githubusercontent.com/u/1588983?v=3","gravatar_id":"","url":"https://api.github.com/users/openendings","html_url":"https://github.com/openendings","followers_url":"https://api.github.com/users/openendings/followers","following_url":"https://api.github.com/users/openendings/following{/other_user}","gists_url":"https://api.github.com/users/openendings/gists{/gist_id}","starred_url":"https://api.github.com/users/openendings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openendings/subscriptions","organizations_url":"https://api.github.com/users/openendings/orgs","repos_url":"https://api.github.com/users/openendings/repos","events_url":"https://api.github.com/users/openendings/events{/privacy}","received_events_url":"https://api.github.com/users/openendings/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T22:19:32Z","updated_at":"2015-06-19T22:19:32Z","body":"@DpEpsilon README.md is out of date; please fix."}}