Skip to content
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

Bugs in populate investigations command #2499

Open
DraKen0009 opened this issue Sep 26, 2024 · 0 comments · May be fixed by #2500
Open

Bugs in populate investigations command #2499

DraKen0009 opened this issue Sep 26, 2024 · 0 comments · May be fixed by #2500
Assignees

Comments

@DraKen0009
Copy link
Contributor

Describe the bug

  1. when running this command the groups are created again and again.
  2. No many to many relationships are set up and the relationship table is empty.

To Reproduce
Steps to reproduce the behavior:

  1. run python manage.py populate_investigations
  2. Go to database and see the entries in the facility_patientinvestigation_groups table, you'll find there are no entries
  3. run the above command multiple times , facility_patientinvestigationgroups table will have duplicate values created

Expected behavior

  1. many to many relationship table should have the valid data
  2. No duplication of data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Review required
Development

Successfully merging a pull request may close this issue.

2 participants