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

Remove report_entity_id from the report-value model #46

Open
MostafaWahiep opened this issue Apr 27, 2024 · 0 comments
Open

Remove report_entity_id from the report-value model #46

MostafaWahiep opened this issue Apr 27, 2024 · 0 comments

Comments

@MostafaWahiep
Copy link
Collaborator

The foreign key in ReportValue model to reference the entity of the model could have been removed. To get what kind (entity) of report is that, we are already referencing the entity with the report itself. So, by fetching the report we get the report entity ID to know which entity is and get the values just by the report id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant