Entity1 and Entity2 are cryptic names for the tables in the database and don't give any insight into what they actually do. These must be renamed to be more informative.
Entity1 should obviously be renamed Mirna but Entity2 can either describe a gene or a disease. I would suggest making two separate tables for these, especially since the logic for handling them will be different.
https://github.com/bio2bel/scai-mirna-corpra/blob/74b2fd0d88fd2f4af4aa4f4a4813e86157296d46/src/scai-mirna-corpora/models.py#L18
Entity1
andEntity2
are cryptic names for the tables in the database and don't give any insight into what they actually do. These must be renamed to be more informative.Entity1
should obviously be renamedMirna
butEntity2
can either describe a gene or a disease. I would suggest making two separate tables for these, especially since the logic for handling them will be different.