{"action":"closed","issue":{"url":"https://api.github.com/repos/KanColleTool/kcsrv/issues/16","labels_url":"https://api.github.com/repos/KanColleTool/kcsrv/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/KanColleTool/kcsrv/issues/16/comments","events_url":"https://api.github.com/repos/KanColleTool/kcsrv/issues/16/events","html_url":"https://github.com/KanColleTool/kcsrv/issues/16","id":74253862,"number":16,"title":"After upgrading database to latest version - AttributeError: 'SQLAlchemy' object has no attribute 'Role'","user":{"login":"SoftwareGuy","id":1762115,"avatar_url":"https://avatars.githubusercontent.com/u/1762115?v=3","gravatar_id":"","url":"https://api.github.com/users/SoftwareGuy","html_url":"https://github.com/SoftwareGuy","followers_url":"https://api.github.com/users/SoftwareGuy/followers","following_url":"https://api.github.com/users/SoftwareGuy/following{/other_user}","gists_url":"https://api.github.com/users/SoftwareGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/SoftwareGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoftwareGuy/subscriptions","organizations_url":"https://api.github.com/users/SoftwareGuy/orgs","repos_url":"https://api.github.com/users/SoftwareGuy/repos","events_url":"https://api.github.com/users/SoftwareGuy/events{/privacy}","received_events_url":"https://api.github.com/users/SoftwareGuy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-08T06:38:21Z","updated_at":"2015-05-08T06:39:44Z","closed_at":"2015-05-08T06:39:44Z","body":"What I did:\r\n\r\nEmpty database (\"drop database kcsrv;\" in psql at cli).\r\nRun ./manage.py db upgrade (got an error here about heads, updated to the first one that was the main dump and the revision that added heartlock and kai flags). Successfully upgraded the database.\r\nRun ./manage.py setup. Got an AttributeError. [Backlog available here](https://gist.github.com/SoftwareGuy/2020dc546a554890de76).\r\n\r\nI may not know a lot of python but at least I'm the bug reporter."}}