forked from cBioPortal/cbioportal
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5197a4a
commit 2b2868c
Showing
3 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
DROP TABLE IF EXISTS single_cell_expression; | ||
CREATE TABLE IF NOT EXISTS single_cell_expression ( | ||
GENETIC_PROFILE_ID int NOT NULL, | ||
SAMPLE_ID int NOT NULL, | ||
TISSUE varchar(255) NOT NULL, | ||
CELL_TYPE varchar(255) NOT NULL, | ||
ENTREZ_GENE_ID int NOT NULL, | ||
EXPRESSION_VALUE float, | ||
FOREIGN KEY(GENETIC_PROFILE_ID) REFERENCES genetic_profile(GENETIC_PROFILE_ID) ON DELETE CASCADE, | ||
FOREIGN KEY(SAMPLE_ID) REFERENCES sample(INTERNAL_ID) ON DELETE CASCADE, | ||
FOREIGN KEY(ENTREZ_GENE_ID) REFERENCES gene(ENTREZ_GENE_ID) ON DELETE CASCADE | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters