Skip to content

Commit

Permalink
Fix typo and a missed CandID ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersoncasimir committed Feb 10, 2025
1 parent 85ebeed commit c56f7d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SQL/0000-00-00-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,7 @@ CREATE TABLE `CNV` (
`OfficialName` text,
PRIMARY KEY (`CNVID`),
KEY `PlatformID` (`PlatformID`),
KEY `CandID` (`CandID`),
KEY `CandidateID` (`CandidateID`),
KEY `index4` (`Chromosome`,`StartLoc`,`EndLoc`,`Strand`),
CONSTRAINT `CNV_ibfk_1` FOREIGN KEY (`PlatformID`) REFERENCES `genotyping_platform` (`PlatformID`),
CONSTRAINT `CNV_ibfk_3` FOREIGN KEY (`CandidateID`) REFERENCES `candidate` (`ID`)
Expand Down Expand Up @@ -2017,7 +2017,7 @@ CREATE TABLE `genomic_sample_candidate_rel` (
`CandidateID` int(10) unsigned,
PRIMARY KEY (`sample_label`,`CandidateID`),
UNIQUE KEY `sample_label` (`sample_label`),
KEY `CandID` (`CandidateID`),
KEY `CandidateID` (`CandidateID`),
CONSTRAINT `genomic_sample_candidate_rel_ibfk_1` FOREIGN KEY (`CandidateID`) REFERENCES `candidate`(`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Expand Down
1 change: 0 additions & 1 deletion modules/candidate_parameters/ajax/formHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ function editProbandInfoFields(\Database $db)
if (!empty($sanitize[$field])) {
if (substr($field, 0, 4) === 'PTID') {
$ptid = substr($field, 4);
$

$updateValues = [
'ParameterTypeID' => $ptid,
Expand Down

0 comments on commit c56f7d7

Please sign in to comment.