New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve (normalize) DB structure for Bug model #320

okainov opened this Issue Apr 17, 2018 · 0 comments


None yet
1 participant
Copy link

okainov commented Apr 17, 2018

ATM Bug model is not normalized. It can happen to have duplicated bug_id for different case runs. It makes report like "show all the bugs" a bit more complicated because one will need to check for duplicates.

It makes sense to perform DB normalization and separate current testcases.Bug to several models:

  • Bug, which contain bug id and bug system
  • N:N relation between Bug and TestCaseRun

Thus, the code will be cleaner and the logic will be much more transparent

Also, looks like summary, description fields are not being user and case field is excessive (can be retrieved from case_run)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment