Skip to content
Snippets Groups Projects
Commit 2ebe6b3a authored by Leo Gordon's avatar Leo Gordon
Browse files

tables with same names exist in other schemas and may create collision

parent 9b69a68a
No related branches found
No related tags found
No related merge requests found
...@@ -462,7 +462,7 @@ The default species_id, and the only species_id value allowed in single-species ...@@ -462,7 +462,7 @@ The default species_id, and the only species_id value allowed in single-species
*/ */
CREATE TABLE meta ( CREATE TABLE IF NOT EXISTS meta (
meta_id INT NOT NULL AUTO_INCREMENT, meta_id INT NOT NULL AUTO_INCREMENT,
species_id INT UNSIGNED DEFAULT 1, species_id INT UNSIGNED DEFAULT 1,
...@@ -844,7 +844,7 @@ The module column tells the pipeline which Perl module does the whole analysis, ...@@ -844,7 +844,7 @@ The module column tells the pipeline which Perl module does the whole analysis,
*/ */
CREATE TABLE analysis ( CREATE TABLE IF NOT EXISTS analysis (
analysis_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, analysis_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
created datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, created datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
...@@ -880,7 +880,7 @@ CREATE TABLE analysis ( ...@@ -880,7 +880,7 @@ CREATE TABLE analysis (
@see analysis @see analysis
*/ */
CREATE TABLE analysis_description ( CREATE TABLE IF NOT EXISTS analysis_description (
analysis_id SMALLINT UNSIGNED NOT NULL, analysis_id SMALLINT UNSIGNED NOT NULL,
description TEXT, description TEXT,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment