
----------------------------------------------------------------
--
-- Table creation scripts for class scrna
--

----------------------------------------------------------------
--
-- Schema
--

----------------------------------------------------------------
--
-- Main table - scrna
--
CREATE TABLE scrna
	(
		id                               	VARCHAR(32)	NOT NULL PRIMARY KEY,
		chrom_position                   	VARCHAR(255),
		gene                             	VARCHAR(255),
		gene_id                          	VARCHAR(255),
		product                          	VARCHAR(255),
		transcript_id                    	VARCHAR(255)
	) TYPE=INNODB
;

----------------------------------------------------------------
--
-- Multivalue field - scrna_db_xref
--
CREATE TABLE scrna_db_xref
	(
		id                               	VARCHAR(32)	NOT NULL,
		db_xref                          	VARCHAR(255)
	) TYPE=INNODB
;
CREATE INDEX scrna_db_xref_id_index ON scrna_db_xref (id);

----------------------------------------------------------------
--
-- Multivalue field - scrna_note
--
CREATE TABLE scrna_note
	(
		id                               	VARCHAR(32)	NOT NULL,
		note                             	VARCHAR(255)
	) TYPE=INNODB
;
CREATE INDEX scrna_note_id_index ON scrna_note (id);
