
----------------------------------------------------------------
--
-- Table creation scripts for class misc_rna
--

----------------------------------------------------------------
--
-- Schema
--
use rsat;


----------------------------------------------------------------
--
-- Main table - misc_rna
--
CREATE TABLE misc_rna
	(
		id                               	VARCHAR(16)	NOT NULL,
		gene                             	VARCHAR(255),
		chrom_position                   	VARCHAR(255),
		gene_id                          	VARCHAR(255),
		product                          	VARCHAR(255)
	)
;

----------------------------------------------------------------
--
-- Multivalue field - misc_rna_function
--
CREATE TABLE misc_rna_function
	(
		id                               	VARCHAR(16)	NOT NULL,
		function                         	VARCHAR(255)
	)
;

----------------------------------------------------------------
--
-- Multivalue field - misc_rna_names
--
CREATE TABLE misc_rna_names
	(
		id                               	VARCHAR(16)	NOT NULL,
		names                            	VARCHAR(255),
		qualifier                        	VARCHAR(20)
	)
;

----------------------------------------------------------------
--
-- Multivalue field - misc_rna_note
--
CREATE TABLE misc_rna_note
	(
		id                               	VARCHAR(16)	NOT NULL,
		note                             	VARCHAR(255)
	)
;
