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

Refactor Database Models in models.py - apply this to patho-webcore branch #176

Open
3 of 4 tasks
Daniel-VM opened this issue Dec 5, 2024 · 0 comments
Open
3 of 4 tasks
Labels
enhancement New feature or request

Comments

@Daniel-VM
Copy link
Member

Daniel-VM commented Dec 5, 2024

Refactor the database schema in models.py to align with the updated design in the databas diagram io. This involves implementing new models, updating relationships, and ensuring the schema supports efficient queries. Moreover, this changes need to be extended to all project (a separate issue might be required for this specific task).

Summary of database changes made

Enhancements to sample state tracking:

Refactor models and relationships of bioinfo_analysis_value & Lineage tables. Goal --> MetadataValues table:

Relationship Restructuring:

  • Changed the relationship between the Chromosome and OrganismAnnotation tables to many-to-many by introducing an intermediate table.

⚠️ This should be applied to pathoweb-core branch.

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

No branches or pull requests

1 participant