From 02c83f01cfcae43736f4dabb06d1e5295f6d4c50 Mon Sep 17 00:00:00 2001
From: Monika Komorowska <mk8@sanger.ac.uk>
Date: Wed, 27 Jul 2011 13:32:05 +0000
Subject: [PATCH] Added taxon and species_prefix columns to species table.

---
 misc-scripts/production_database/sql/tables.sql | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/misc-scripts/production_database/sql/tables.sql b/misc-scripts/production_database/sql/tables.sql
index 10b7da538f..8c629d6804 100644
--- a/misc-scripts/production_database/sql/tables.sql
+++ b/misc-scripts/production_database/sql/tables.sql
@@ -7,11 +7,13 @@
 -- The 'species' table.
 -- Lists the species for which there is a Core database.
 CREATE TABLE species (
-  species_id    INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
-  db_name       VARCHAR(64) NOT NULL,   -- Name used in database names.
-  common_name   VARCHAR(64) NOT NULL,   -- What we often refer to it as.
-  web_name      VARCHAR(64) NOT NULL,   -- Name that the web site is using.
-  is_current    BOOLEAN NOT NULL DEFAULT true,
+  species_id     INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
+  db_name        VARCHAR(64) NOT NULL,   -- Name used in database names.
+  common_name    VARCHAR(64) NOT NULL,   -- What we often refer to it as.
+  web_name       VARCHAR(64) NOT NULL,   -- Name that the web site is using.
+  taxon		 VARCHAR(20),
+  species_prefix VARCHAR(20),
+  is_current     BOOLEAN NOT NULL DEFAULT true,
 
   PRIMARY KEY (species_id),
   UNIQUE INDEX db_name_idx (db_name)
-- 
GitLab