diff --git a/misc-scripts/production_database/sql/tables.sql b/misc-scripts/production_database/sql/tables.sql index 8c629d6804baf195724b53b83518d8be17518f2d..73f5ace9ede347cbbd841fb61942386c851e84c0 100644 --- a/misc-scripts/production_database/sql/tables.sql +++ b/misc-scripts/production_database/sql/tables.sql @@ -1,4 +1,4 @@ --- Schema of tables not added by the bootstrap_master.pl script. +-- Schema of tables *not* added by the bootstrap_master.pl script. -- NB: Additional tables are added by the web team to support storing -- declarations of intentions etc. Those tables are not even mentioned @@ -8,10 +8,10 @@ -- 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. - taxon VARCHAR(20), + db_name VARCHAR(255) NOT NULL, -- Name used in database names. + common_name VARCHAR(255) NOT NULL, -- What we often refer to it as. + web_name VARCHAR(255) NOT NULL, -- Name that the web site is using. + taxon VARCHAR(20), species_prefix VARCHAR(20), is_current BOOLEAN NOT NULL DEFAULT true,