Remove cascade delete with Molecule delete
@@ -78,7 +78,7 @@ class DatasetEntryORM(Base):
dataset_id = Column(Integer, ForeignKey('dataset.id', ondelete='cascade'), primary_key=True)
#TODO: check the cascase_delete with molecule
- molecule_id = Column(Integer, ForeignKey('molecule.id', ondelete='cascade'), primary_key=True)
+ molecule_id = Column(Integer, ForeignKey('molecule.id'), primary_key=True)
name = Column(String, nullable=False)
comment = Column(String)
