Skip to content

Commit

Permalink
Update upgrade-schema-60.x SQL script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben E. Bautista committed Jan 19, 2017
1 parent 62ffb52 commit 542952b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/upgrade_schema/upgrade_schema-60.x
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Table structure for table `rna_seqc`
--

CREATE TABLE IF NOT EXISTS `rna_seqc` (
CREATE TABLE `rna_seqc` (
`id_rna_seqc` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Auto-generated primary key',
`id_seq_composition` bigint(20) unsigned NOT NULL COMMENT 'A foreign key referencing the id_seq_composition column of the seq_composition table',
`info` text,
Expand All @@ -23,9 +23,10 @@ CREATE TABLE IF NOT EXISTS `rna_seqc` (
`end_3_norm` float unsigned DEFAULT NULL,
`other_metrics` text,
PRIMARY KEY (`id_rna_seqc`),
UNIQUE KEY `rna_seqc_id_compos_unq` (`id_seq_composition`),
KEY `rna_seqc_compos` (`id_seq_composition`),
CONSTRAINT `rna_seqc_compos` FOREIGN KEY (`id_seq_composition`) REFERENCES `seq_composition` (`id_seq_composition`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
--
--
Expand Down

0 comments on commit 542952b

Please sign in to comment.