alfredhq/alfred-db — pull request #4 by yumike (2012-08-29 16:12:11+00:00)
Title: Add Report and Fix models

I've ported Report and Fix models from DjangoLint with some improvements:

- `Report.created_on` has been renamed to `Report.finished_on` as we are interested only when report has been finished.
- `Report.hash` has been removed, as reports are public now.
- `Report.url` has been removed, as related commit already has it (`Report.github_url` has been also removed).
- `Report.stage` has been removed, as we haven't stages for reports now (only two: in progress and finished).
- `Report.commit_id` and `Report.commit` have been added.
- `Fix.solution` is nullable now, as empty string can be also a solution (`None` is `no solution`).