{"action":"created","issue":{"url":"https://api.github.com/repos/pyreload/pyreload/issues/20","repository_url":"https://api.github.com/repos/pyreload/pyreload","labels_url":"https://api.github.com/repos/pyreload/pyreload/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/pyreload/pyreload/issues/20/comments","events_url":"https://api.github.com/repos/pyreload/pyreload/issues/20/events","html_url":"https://github.com/pyreload/pyreload/pull/20","id":308796492,"number":20,"title":"Create persistent ORM models with Peewee","user":{"login":"adamantike","id":3867850,"avatar_url":"https://avatars1.githubusercontent.com/u/3867850?v=4","gravatar_id":"","url":"https://api.github.com/users/adamantike","html_url":"https://github.com/adamantike","followers_url":"https://api.github.com/users/adamantike/followers","following_url":"https://api.github.com/users/adamantike/following{/other_user}","gists_url":"https://api.github.com/users/adamantike/gists{/gist_id}","starred_url":"https://api.github.com/users/adamantike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamantike/subscriptions","organizations_url":"https://api.github.com/users/adamantike/orgs","repos_url":"https://api.github.com/users/adamantike/repos","events_url":"https://api.github.com/users/adamantike/events{/privacy}","received_events_url":"https://api.github.com/users/adamantike/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T02:09:52Z","updated_at":"2018-03-27T02:14:27Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/pyreload/pyreload/pulls/20","html_url":"https://github.com/pyreload/pyreload/pull/20","diff_url":"https://github.com/pyreload/pyreload/pull/20.diff","patch_url":"https://github.com/pyreload/pyreload/pull/20.patch"},"body":"Add `peewee` as a dependency, and use it to abstract the communication with the database. We shouldn't need raw SQL queries in most cases.\r\n\r\nThis commit also replaces some functions for the Link model to use the ORM instead.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/pyreload/pyreload/20)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/pyreload/pyreload/issues/comments/376373111","html_url":"https://github.com/pyreload/pyreload/pull/20#issuecomment-376373111","issue_url":"https://api.github.com/repos/pyreload/pyreload/issues/20","id":376373111,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T02:14:27Z","updated_at":"2018-03-27T02:14:27Z","author_association":"NONE","body":"## Pull Request Test Coverage Report for [Build 80](https://coveralls.io/builds/16192899)\n\n* **46** of **68**  **(67.65%)** changed or added relevant lines in **8** files are covered.\n* **1** unchanged line in **1** file lost coverage.\n* Overall coverage increased (+**0.09%**) to **6.72%**\n\n---\n\n|  Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |\n| :-----|--------------|--------|---: |\n| [module/database/DatabaseBackend.py](https://coveralls.io/builds/16192899/source?filename=module%2Fdatabase%2FDatabaseBackend.py#L188) | 3 | 4 | 75.0%\n| [module/db/models/storage.py](https://coveralls.io/builds/16192899/source?filename=module%2Fdb%2Fmodels%2Fstorage.py#L1) | 0 | 9 | 0.0%\n| [module/db/models/user.py](https://coveralls.io/builds/16192899/source?filename=module%2Fdb%2Fmodels%2Fuser.py#L1) | 0 | 12 | 0.0%\n<!-- | **Total:** | **46** | **68** | **67.65%** | -->\n\n|  Files with Coverage Reduction | New Missed Lines | % |\n| :-----|--------------|--: |\n| [module/database/FileDatabase.py](https://coveralls.io/builds/16192899/source?filename=module%2Fdatabase%2FFileDatabase.py#L754) | 1 | 22.97% |\n<!-- | **Total:** | **1** |  | -->\n\n|  Totals | [![Coverage Status](https://coveralls.io/builds/16192899/badge)](https://coveralls.io/builds/16192899) |\n| :-- | --: |\n| Change from base [Build 79](https://coveralls.io/builds/16171441): |  0.09% |\n| Covered Lines: | 2453 |\n| Relevant Lines: | 36501 |\n\n---\n##### 💛  - [Coveralls](https://coveralls.io)\n"}}
{"actor":{"display_login":"coveralls"}}