Skip to content

#1120 #1164 Fix for updating data#1185

Merged
dondi merged 3 commits intobetafrom
maika-database
Mar 12, 2025
Merged

#1120 #1164 Fix for updating data#1185
dondi merged 3 commits intobetafrom
maika-database

Conversation

@ntran18
Copy link
Collaborator

@ntran18 ntran18 commented Mar 12, 2025

I found a bug in my code that requires me to change the current schema. I removed code related to filtering because we don't need to filter for updates anymore. However, the current schema doesn't allow adding genes/proteins at different timestamps because it doesn't consider timestamps and sources for primary keys.

This PR:

  • Remove code related to filtering data
  • Change schema of gene and protein tables to make timestamp and source as primary key
  • Remove unnecessary columns (gene_systematic_name1, gene_systematic_name2) in protein_protein_interactions_with_timestamp.physical_interactions.

ntran18 added 3 commits March 12, 2025 00:24
…ith different timestamps can be added to the database when adding same data with different timestamps
Copy link
Owner

@dondi dondi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dondi dondi merged commit afc1936 into beta Mar 12, 2025
3 checks passed
@dondi dondi deleted the maika-database branch March 12, 2025 15:23
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

Successfully merging this pull request may close these issues.

2 participants