SET standard_conforming_strings = off; -- MySQL dump 10.13 Distrib 5.5.24, for debian-linux-gnu (x86_64) -- -- Host: localhost Database: salvias_plots -- ------------------------------------------------------ -- Server version 5.5.24-0ubuntu0.12.04.1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; SET NAMES 'latin1'; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table "GentryCompiled_utf8_bak" -- DROP TABLE IF EXISTS "GentryCompiled_utf8_bak"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "GentryCompiled_utf8_bak" ( "OrigRecordID" integer NOT NULL, "Region" varchar(255) NOT NULL, "Transect" varchar(255) NOT NULL, "Line" integer NOT NULL, "Family" varchar(255) NOT NULL, "Genus" varchar(255) NOT NULL, "Species" varchar(255) NOT NULL, "Vouch1" varchar(255) NOT NULL, "Vouch2" varchar(255) NOT NULL, "Vouch3" varchar(255) NOT NULL, "Vouch4" varchar(255) NOT NULL, "Vouch5" varchar(255) NOT NULL, "Vouch6" varchar(255) NOT NULL, "Vouch7" varchar(255) NOT NULL, "Vouch8" varchar(255) NOT NULL, "Habit" varchar(255) NOT NULL, "NoInd" integer NOT NULL, "noStems" integer NOT NULL, "Dbh1" float NOT NULL, "Dbh2" varchar(255) NOT NULL, "Dbh3" varchar(255) NOT NULL, "Dbh4" varchar(255) NOT NULL, "Dbh5" varchar(255) NOT NULL, "Dbh6" varchar(255) NOT NULL, "Dbh7" varchar(255) NOT NULL, "Dbh8" varchar(255) NOT NULL, "Dbh9" varchar(255) NOT NULL, "Dbh10" varchar(255) NOT NULL, "Dbh11" varchar(255) NOT NULL, "Dbh12" varchar(255) NOT NULL, "Dbh13" varchar(255) NOT NULL, "Dbh14" varchar(255) NOT NULL, "Dbh15" varchar(255) NOT NULL, "Dbh16" varchar(255) NOT NULL, "Dbh17" varchar(255) NOT NULL, "Dbh18" varchar(255) NOT NULL, "Dbh19" varchar(255) NOT NULL, "Dbh20" varchar(255) NOT NULL, "Dbh21" varchar(255) NOT NULL, "Dbh22" varchar(255) NOT NULL, "Dbh23" varchar(255) NOT NULL, "Dbh24" varchar(255) NOT NULL, "Dbh25" varchar(255) NOT NULL, "Dbh26" varchar(255) NOT NULL, "Dbh27" varchar(255) NOT NULL, "Dbh28" varchar(255) NOT NULL, "Dbh29" varchar(255) NOT NULL, "Dbh30" varchar(255) NOT NULL, "Dbh31" varchar(255) NOT NULL, "Dbh32" varchar(255) NOT NULL, "Dbh33" varchar(255) NOT NULL, "Dbh34" varchar(255) NOT NULL, "Dbh35" varchar(255) NOT NULL, "Dbh36" varchar(255) NOT NULL, "Dbh37" varchar(255) NOT NULL, "Dbh38" varchar(255) NOT NULL, "Dbh39" varchar(255) NOT NULL, "Dbh40" varchar(255) NOT NULL, "Dbh41" varchar(255) NOT NULL, "Dbh42" varchar(255) NOT NULL, "Dbh43" varchar(255) NOT NULL, "Dbh44" varchar(255) NOT NULL, "Dbh45" varchar(255) NOT NULL, "Dbh46" varchar(255) NOT NULL, "Dbh47" varchar(255) NOT NULL, "Dbh48" varchar(255) NOT NULL, "dbhHasGaps" integer NOT NULL DEFAULT '0', "totDbhs" integer NOT NULL DEFAULT '0', "dbhHasGaps_index" boolean, "totDbhs_index" boolean ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentryBad" -- DROP TABLE IF EXISTS "gentryBad"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentryBad" ( "OrigRecordID" integer NOT NULL, "Region" varchar(255) NOT NULL, "Transect" varchar(255) NOT NULL, "Line" integer NOT NULL, "Family" varchar(255) NOT NULL, "Genus" varchar(255) NOT NULL, "Species" varchar(255) NOT NULL, "Vouch1" varchar(255) NOT NULL, "Vouch2" varchar(255) NOT NULL, "Vouch3" varchar(255) NOT NULL, "Vouch4" varchar(255) NOT NULL, "Vouch5" varchar(255) NOT NULL, "Vouch6" varchar(255) NOT NULL, "Vouch7" varchar(255) NOT NULL, "Vouch8" varchar(255) NOT NULL, "Habit" varchar(255) NOT NULL, "NoInd" integer NOT NULL, "noStems" integer NOT NULL, "Dbh1" float NOT NULL, "Dbh2" varchar(255) NOT NULL, "Dbh3" varchar(255) NOT NULL, "Dbh4" varchar(255) NOT NULL, "Dbh5" varchar(255) NOT NULL, "Dbh6" varchar(255) NOT NULL, "Dbh7" varchar(255) NOT NULL, "Dbh8" varchar(255) NOT NULL, "Dbh9" varchar(255) NOT NULL, "Dbh10" varchar(255) NOT NULL, "Dbh11" varchar(255) NOT NULL, "Dbh12" varchar(255) NOT NULL, "Dbh13" varchar(255) NOT NULL, "Dbh14" varchar(255) NOT NULL, "Dbh15" varchar(255) NOT NULL, "Dbh16" varchar(255) NOT NULL, "Dbh17" varchar(255) NOT NULL, "Dbh18" varchar(255) NOT NULL, "Dbh19" varchar(255) NOT NULL, "Dbh20" varchar(255) NOT NULL, "Dbh21" varchar(255) NOT NULL, "Dbh22" varchar(255) NOT NULL, "Dbh23" varchar(255) NOT NULL, "Dbh24" varchar(255) NOT NULL, "Dbh25" varchar(255) NOT NULL, "Dbh26" varchar(255) NOT NULL, "Dbh27" varchar(255) NOT NULL, "Dbh28" varchar(255) NOT NULL, "Dbh29" varchar(255) NOT NULL, "Dbh30" varchar(255) NOT NULL, "Dbh31" varchar(255) NOT NULL, "Dbh32" varchar(255) NOT NULL, "Dbh33" varchar(255) NOT NULL, "Dbh34" varchar(255) NOT NULL, "Dbh35" varchar(255) NOT NULL, "Dbh36" varchar(255) NOT NULL, "Dbh37" varchar(255) NOT NULL, "Dbh38" varchar(255) NOT NULL, "Dbh39" varchar(255) NOT NULL, "Dbh40" varchar(255) NOT NULL, "Dbh41" varchar(255) NOT NULL, "Dbh42" varchar(255) NOT NULL, "Dbh43" varchar(255) NOT NULL, "Dbh44" varchar(255) NOT NULL, "Dbh45" varchar(255) NOT NULL, "Dbh46" varchar(255) NOT NULL, "Dbh47" varchar(255) NOT NULL, "Dbh48" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentryMethod1" -- DROP TABLE IF EXISTS "gentryMethod1"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentryMethod1" ( "plot" varchar(255) NOT NULL, "line" integer NOT NULL, "ind" integer NOT NULL, "species" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentryMethod2" -- DROP TABLE IF EXISTS "gentryMethod2"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentryMethod2" ( "plot" varchar(255) NOT NULL, "line" integer NOT NULL, "ind" integer NOT NULL, "species" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentry_SALVIAS_plot_metadata" -- DROP TABLE IF EXISTS "gentry_SALVIAS_plot_metadata"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentry_SALVIAS_plot_metadata" ( "project" varchar(255) NOT NULL, "PLOT_ID" integer NOT NULL, "plot_code" varchar(255) NOT NULL, "major_geo" varchar(255) NOT NULL, "country" varchar(255) NOT NULL, "pol1" varchar(255) NOT NULL, "pol2" varchar(255) NOT NULL, "locality_description" varchar(255) NOT NULL, "lat_decimal" varchar(255) NOT NULL, "long_decimal" varchar(255) NOT NULL, "elev_m" integer NOT NULL, "elev_max_m" varchar(255) NOT NULL, "elev_min_m" varchar(255) NOT NULL, "temp_c" varchar(255) NOT NULL, "precip_mm" integer NOT NULL, "slope_aspect" varchar(255) NOT NULL, "slope_gradient" varchar(255) NOT NULL, "clay_percent" varchar(255) NOT NULL, "silt_percent" varchar(255) NOT NULL, "sand_percent" varchar(255) NOT NULL, "organic_percent" varchar(255) NOT NULL, "pH" varchar(255) NOT NULL, "soil_N" varchar(255) NOT NULL, "soil_P" varchar(255) NOT NULL, "soil_C" varchar(255) NOT NULL, "soil_K" varchar(255) NOT NULL, "soil_Mg" varchar(255) NOT NULL, "soil_Ca" varchar(255) NOT NULL, "soil_Na" varchar(255) NOT NULL, "soil_acidity" varchar(255) NOT NULL, "soil_base" varchar(255) NOT NULL, "soil_cation_cap" varchar(255) NOT NULL, "soil_conductivity" varchar(255) NOT NULL, "soil_texture" varchar(255) NOT NULL, "holdridge_life_zone" varchar(255) NOT NULL, "life_zone_code" varchar(255) NOT NULL, "observation_type" varchar(255) NOT NULL, "plot_methodology" varchar(255) NOT NULL, "plot_area_ha" float NOT NULL, "recensused" varchar(255) NOT NULL, "date_start" varchar(255) NOT NULL, "date_finish" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentry_orig" -- DROP TABLE IF EXISTS "gentry_orig"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentry_orig" ( "OrigRecordID" integer NOT NULL, "Region" varchar(255) NOT NULL, "Transect" varchar(255) NOT NULL, "Line" varchar(255) NOT NULL, "Family" varchar(255) NOT NULL, "Genus" varchar(255) NOT NULL, "Species" varchar(255) NOT NULL, "Vouch1" varchar(255) NOT NULL, "Vouch2" varchar(255) NOT NULL, "Vouch3" varchar(255) NOT NULL, "Vouch4" varchar(255) NOT NULL, "Vouch5" varchar(255) NOT NULL, "Vouch6" varchar(255) NOT NULL, "Vouch7" varchar(255) NOT NULL, "Vouch8" varchar(255) NOT NULL, "Habit" varchar(255) NOT NULL, "NoInd" varchar(255) NOT NULL, "noStems" varchar(255) NOT NULL, "Dbh1" varchar(255) NOT NULL, "Dbh2" varchar(255) NOT NULL, "Dbh3" varchar(255) NOT NULL, "Dbh4" varchar(255) NOT NULL, "Dbh5" varchar(255) NOT NULL, "Dbh6" varchar(255) NOT NULL, "Dbh7" varchar(255) NOT NULL, "Dbh8" varchar(255) NOT NULL, "Dbh9" varchar(255) NOT NULL, "Dbh10" varchar(255) NOT NULL, "Dbh11" varchar(255) NOT NULL, "Dbh12" varchar(255) NOT NULL, "Dbh13" varchar(255) NOT NULL, "Dbh14" varchar(255) NOT NULL, "Dbh15" varchar(255) NOT NULL, "Dbh16" varchar(255) NOT NULL, "Dbh17" varchar(255) NOT NULL, "Dbh18" varchar(255) NOT NULL, "Dbh19" varchar(255) NOT NULL, "Dbh20" varchar(255) NOT NULL, "Dbh21" varchar(255) NOT NULL, "Dbh22" varchar(255) NOT NULL, "Dbh23" varchar(255) NOT NULL, "Dbh24" varchar(255) NOT NULL, "Dbh25" varchar(255) NOT NULL, "Dbh26" varchar(255) NOT NULL, "Dbh27" varchar(255) NOT NULL, "Dbh28" varchar(255) NOT NULL, "Dbh29" varchar(255) NOT NULL, "Dbh30" varchar(255) NOT NULL, "Dbh31" varchar(255) NOT NULL, "Dbh32" varchar(255) NOT NULL, "Dbh33" varchar(255) NOT NULL, "Dbh34" varchar(255) NOT NULL, "Dbh35" varchar(255) NOT NULL, "Dbh36" varchar(255) NOT NULL, "Dbh37" varchar(255) NOT NULL, "Dbh38" varchar(255) NOT NULL, "Dbh39" varchar(255) NOT NULL, "Dbh40" varchar(255) NOT NULL, "Dbh41" varchar(255) NOT NULL, "Dbh42" varchar(255) NOT NULL, "Dbh43" varchar(255) NOT NULL, "Dbh44" varchar(255) NOT NULL, "Dbh45" varchar(255) NOT NULL, "Dbh46" varchar(255) NOT NULL, "Dbh47" varchar(255) NOT NULL, "Dbh48" varchar(255) NOT NULL, "dbhHasGaps" integer NOT NULL DEFAULT '0', "totDbhs" integer NOT NULL DEFAULT '0', "dbhHasGaps_index" boolean, "totDbhs_index" boolean, "OrigRecordID_index" boolean ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentry_orig2" -- DROP TABLE IF EXISTS "gentry_orig2"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentry_orig2" ( "OrigRecordID" integer NOT NULL, "Region" varchar(255) NOT NULL, "Transect" varchar(255) NOT NULL, "Line" varchar(255) NOT NULL, "Family" varchar(255) NOT NULL, "Genus" varchar(255) NOT NULL, "Species" varchar(255) NOT NULL, "Vouch1" varchar(255) NOT NULL, "Vouch2" varchar(255) NOT NULL, "Vouch3" varchar(255) NOT NULL, "Vouch4" varchar(255) NOT NULL, "Vouch5" varchar(255) NOT NULL, "Vouch6" varchar(255) NOT NULL, "Vouch7" varchar(255) NOT NULL, "Vouch8" varchar(255) NOT NULL, "Habit" varchar(255) NOT NULL, "NoInd" varchar(255) NOT NULL, "noStems" varchar(255) NOT NULL, "Dbh1" varchar(255) NOT NULL, "Dbh2" varchar(255) NOT NULL, "Dbh3" varchar(255) NOT NULL, "Dbh4" varchar(255) NOT NULL, "Dbh5" varchar(255) NOT NULL, "Dbh6" varchar(255) NOT NULL, "Dbh7" varchar(255) NOT NULL, "Dbh8" varchar(255) NOT NULL, "Dbh9" varchar(255) NOT NULL, "Dbh10" varchar(255) NOT NULL, "Dbh11" varchar(255) NOT NULL, "Dbh12" varchar(255) NOT NULL, "Dbh13" varchar(255) NOT NULL, "Dbh14" varchar(255) NOT NULL, "Dbh15" varchar(255) NOT NULL, "Dbh16" varchar(255) NOT NULL, "Dbh17" varchar(255) NOT NULL, "Dbh18" varchar(255) NOT NULL, "Dbh19" varchar(255) NOT NULL, "Dbh20" varchar(255) NOT NULL, "Dbh21" varchar(255) NOT NULL, "Dbh22" varchar(255) NOT NULL, "Dbh23" varchar(255) NOT NULL, "Dbh24" varchar(255) NOT NULL, "Dbh25" varchar(255) NOT NULL, "Dbh26" varchar(255) NOT NULL, "Dbh27" varchar(255) NOT NULL, "Dbh28" varchar(255) NOT NULL, "Dbh29" varchar(255) NOT NULL, "Dbh30" varchar(255) NOT NULL, "Dbh31" varchar(255) NOT NULL, "Dbh32" varchar(255) NOT NULL, "Dbh33" varchar(255) NOT NULL, "Dbh34" varchar(255) NOT NULL, "Dbh35" varchar(255) NOT NULL, "Dbh36" varchar(255) NOT NULL, "Dbh37" varchar(255) NOT NULL, "Dbh38" varchar(255) NOT NULL, "Dbh39" varchar(255) NOT NULL, "Dbh40" varchar(255) NOT NULL, "Dbh41" varchar(255) NOT NULL, "Dbh42" varchar(255) NOT NULL, "Dbh43" varchar(255) NOT NULL, "Dbh44" varchar(255) NOT NULL, "Dbh45" varchar(255) NOT NULL, "Dbh46" varchar(255) NOT NULL, "Dbh47" varchar(255) NOT NULL, "Dbh48" varchar(255) NOT NULL, "dbhHasGaps" integer NOT NULL DEFAULT '0', "totDbhs" integer NOT NULL DEFAULT '0', "dbhHasGaps_index" boolean, "totDbhs_index" boolean, "OrigRecordID_index" boolean ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentry_orig_bak" -- DROP TABLE IF EXISTS "gentry_orig_bak"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentry_orig_bak" ( "OrigRecordID" integer NOT NULL, "Region" varchar(255) NOT NULL, "Transect" varchar(255) NOT NULL, "Line" integer NOT NULL, "Family" varchar(255) NOT NULL, "Genus" varchar(255) NOT NULL, "Species" varchar(255) NOT NULL, "Vouch1" varchar(255) NOT NULL, "Vouch2" varchar(255) NOT NULL, "Vouch3" varchar(255) NOT NULL, "Vouch4" varchar(255) NOT NULL, "Vouch5" varchar(255) NOT NULL, "Vouch6" varchar(255) NOT NULL, "Vouch7" varchar(255) NOT NULL, "Vouch8" varchar(255) NOT NULL, "Habit" varchar(255) NOT NULL, "NoInd" integer NOT NULL, "noStems" integer NOT NULL, "Dbh1" float NOT NULL, "Dbh2" varchar(255) NOT NULL, "Dbh3" varchar(255) NOT NULL, "Dbh4" varchar(255) NOT NULL, "Dbh5" varchar(255) NOT NULL, "Dbh6" varchar(255) NOT NULL, "Dbh7" varchar(255) NOT NULL, "Dbh8" varchar(255) NOT NULL, "Dbh9" varchar(255) NOT NULL, "Dbh10" varchar(255) NOT NULL, "Dbh11" varchar(255) NOT NULL, "Dbh12" varchar(255) NOT NULL, "Dbh13" varchar(255) NOT NULL, "Dbh14" varchar(255) NOT NULL, "Dbh15" varchar(255) NOT NULL, "Dbh16" varchar(255) NOT NULL, "Dbh17" varchar(255) NOT NULL, "Dbh18" varchar(255) NOT NULL, "Dbh19" varchar(255) NOT NULL, "Dbh20" varchar(255) NOT NULL, "Dbh21" varchar(255) NOT NULL, "Dbh22" varchar(255) NOT NULL, "Dbh23" varchar(255) NOT NULL, "Dbh24" varchar(255) NOT NULL, "Dbh25" varchar(255) NOT NULL, "Dbh26" varchar(255) NOT NULL, "Dbh27" varchar(255) NOT NULL, "Dbh28" varchar(255) NOT NULL, "Dbh29" varchar(255) NOT NULL, "Dbh30" varchar(255) NOT NULL, "Dbh31" varchar(255) NOT NULL, "Dbh32" varchar(255) NOT NULL, "Dbh33" varchar(255) NOT NULL, "Dbh34" varchar(255) NOT NULL, "Dbh35" varchar(255) NOT NULL, "Dbh36" varchar(255) NOT NULL, "Dbh37" varchar(255) NOT NULL, "Dbh38" varchar(255) NOT NULL, "Dbh39" varchar(255) NOT NULL, "Dbh40" varchar(255) NOT NULL, "Dbh41" varchar(255) NOT NULL, "Dbh42" varchar(255) NOT NULL, "Dbh43" varchar(255) NOT NULL, "Dbh44" varchar(255) NOT NULL, "Dbh45" varchar(255) NOT NULL, "Dbh46" varchar(255) NOT NULL, "Dbh47" varchar(255) NOT NULL, "Dbh48" varchar(255) NOT NULL, "dbhHasGaps" integer NOT NULL DEFAULT '0', "totDbhs" integer NOT NULL DEFAULT '0', "dbhHasGaps_index" boolean, "totDbhs_index" boolean, "OrigRecordID_index" boolean ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentry_plotObservations_bak" -- DROP TABLE IF EXISTS "gentry_plotObservations_bak"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentry_plotObservations_bak" ( "OBSERVATION_ID" integer NOT NULL, "PLOT_ID" integer NOT NULL, "plot_code" varchar(255) NOT NULL, "census_no" integer NOT NULL, "census_date" varchar(255) NOT NULL, "subplot" integer NOT NULL, "individual_code" varchar(255) NOT NULL, "ind_id" varchar(255) NOT NULL, "tag1" varchar(255) NOT NULL, "tag2" varchar(255) NOT NULL, "x_position" varchar(255) NOT NULL, "y_position" varchar(255) NOT NULL, "voucher_string" varchar(255) NOT NULL, "coll_number" varchar(255) NOT NULL, "collector_code" varchar(255) NOT NULL, "coll_lastname" varchar(255) NOT NULL, "coll_firstname" varchar(255) NOT NULL, "det_type" varchar(255) NOT NULL, "fam_status" integer NOT NULL, "gen_status" integer NOT NULL, "species_status" integer NOT NULL, "family" varchar(255) NOT NULL, "genus" varchar(255) NOT NULL, "specific_epithet" varchar(255) NOT NULL, "specific_authority" varchar(255) NOT NULL, "infra_rank_1" varchar(255) NOT NULL, "infra_ep_1" varchar(255) NOT NULL, "cf_aff" varchar(255) NOT NULL, "comments" varchar(255) NOT NULL, "habit" varchar(255) NOT NULL, "no_of_individuals" integer NOT NULL, "cover_percent" varchar(255) NOT NULL, "intercept_cm" varchar(255) NOT NULL, "height_m" varchar(255) NOT NULL, "ht_first_branch_m" varchar(255) NOT NULL, "stem_tag1" varchar(255) NOT NULL, "stem_tag2" varchar(255) NOT NULL, "stem_dbh" float NOT NULL, "basal_diam" varchar(255) NOT NULL, "stem_height_m" varchar(255) NOT NULL, "stem_height_first_branch_m" varchar(255) NOT NULL, "stem_canopy_form" varchar(255) NOT NULL, "stem_canopy_position" varchar(255) NOT NULL, "stem_liana_infestation" varchar(255) NOT NULL, "notes" varchar(255) NOT NULL, "orig_family" varchar(255) NOT NULL, "orig_species" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentry_plots_kraft" -- DROP TABLE IF EXISTS "gentry_plots_kraft"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentry_plots_kraft" ( "plot_code" varchar(255) NOT NULL, PRIMARY KEY ("plot_code") ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentry_salvias" -- DROP TABLE IF EXISTS "gentry_salvias"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentry_salvias" ( "OBSERVATION_ID" integer NOT NULL, "PLOT_ID" integer NOT NULL, "plot_code" varchar(255) NOT NULL, "census_no" varchar(255) NOT NULL, "census_date" varchar(255) NOT NULL, "subplot" varchar(255) NOT NULL, "individual_code" varchar(255) NOT NULL, "ind_id" varchar(255) NOT NULL, "tag1" varchar(255) NOT NULL, "tag2" varchar(255) NOT NULL, "x_position" varchar(255) NOT NULL, "y_position" varchar(255) NOT NULL, "voucher_string" varchar(255) NOT NULL, "coll_number" varchar(255) NOT NULL, "collector_code" varchar(255) NOT NULL, "coll_lastname" varchar(255) NOT NULL, "coll_firstname" varchar(255) NOT NULL, "det_type" varchar(255) NOT NULL, "fam_status" integer NOT NULL, "gen_status" integer NOT NULL, "species_status" integer NOT NULL, "family" varchar(255) NOT NULL, "genus" varchar(255) NOT NULL, "specific_epithet" varchar(255) NOT NULL, "specific_authority" varchar(255) NOT NULL, "infra_rank_1" varchar(255) NOT NULL, "infra_ep_1" varchar(255) NOT NULL, "cf_aff" varchar(255) NOT NULL, "comments" varchar(255) NOT NULL, "habit" varchar(255) NOT NULL, "no_of_individuals" integer NOT NULL, "cover_percent" varchar(255) NOT NULL, "intercept_cm" varchar(255) NOT NULL, "height_m" varchar(255) NOT NULL, "ht_first_branch_m" varchar(255) NOT NULL, "stem_tag1" varchar(255) NOT NULL, "stem_tag2" varchar(255) NOT NULL, "stem_dbh" varchar(255) NOT NULL, "basal_diam" varchar(255) NOT NULL, "stem_height_m" varchar(255) NOT NULL, "stem_height_first_branch_m" varchar(255) NOT NULL, "stem_canopy_form" varchar(255) NOT NULL, "stem_canopy_position" varchar(255) NOT NULL, "stem_liana_infestation" varchar(255) NOT NULL, "notes" varchar(255) NOT NULL, "orig_family" varchar(255) NOT NULL, "orig_species" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "gentry_salvias_bak" -- DROP TABLE IF EXISTS "gentry_salvias_bak"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "gentry_salvias_bak" ( "OBSERVATION_ID" integer NOT NULL, "PLOT_ID" integer NOT NULL, "plot_code" varchar(255) NOT NULL, "census_no" integer NOT NULL, "census_date" varchar(255) NOT NULL, "subplot" varchar(255) NOT NULL, "individual_code" varchar(255) NOT NULL, "ind_id" varchar(255) NOT NULL, "tag1" varchar(255) NOT NULL, "tag2" varchar(255) NOT NULL, "x_position" varchar(255) NOT NULL, "y_position" varchar(255) NOT NULL, "voucher_string" varchar(255) NOT NULL, "coll_number" varchar(255) NOT NULL, "collector_code" varchar(255) NOT NULL, "coll_lastname" varchar(255) NOT NULL, "coll_firstname" varchar(255) NOT NULL, "det_type" varchar(255) NOT NULL, "fam_status" integer NOT NULL, "gen_status" integer NOT NULL, "species_status" integer NOT NULL, "family" varchar(255) NOT NULL, "genus" varchar(255) NOT NULL, "specific_epithet" varchar(255) NOT NULL, "specific_authority" varchar(255) NOT NULL, "infra_rank_1" varchar(255) NOT NULL, "infra_ep_1" varchar(255) NOT NULL, "cf_aff" varchar(255) NOT NULL, "comments" varchar(255) NOT NULL, "habit" varchar(255) NOT NULL, "no_of_individuals" varchar(255) NOT NULL, "cover_percent" varchar(255) NOT NULL, "intercept_cm" varchar(255) NOT NULL, "height_m" varchar(255) NOT NULL, "ht_first_branch_m" varchar(255) NOT NULL, "stem_tag1" varchar(255) NOT NULL, "stem_tag2" varchar(255) NOT NULL, "stem_dbh" float NOT NULL, "basal_diam" varchar(255) NOT NULL, "stem_height_m" varchar(255) NOT NULL, "stem_height_first_branch_m" varchar(255) NOT NULL, "stem_canopy_form" varchar(255) NOT NULL, "stem_canopy_position" varchar(255) NOT NULL, "stem_liana_infestation" varchar(255) NOT NULL, "notes" varchar(255) NOT NULL, "orig_family" varchar(255) NOT NULL, "orig_species" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "isimova_coords_corrected" -- DROP TABLE IF EXISTS "isimova_coords_corrected"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "isimova_coords_corrected" ( "PlotID" integer NOT NULL, "moved" varchar(255) NOT NULL, "reason_of_moving" varchar(255) NOT NULL, "latNEW" varchar(255) NOT NULL, "longNEW" varchar(255) NOT NULL, "new_elevation" integer NOT NULL, "remark" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "isimova_coords_corrected2" -- DROP TABLE IF EXISTS "isimova_coords_corrected2"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "isimova_coords_corrected2" ( "plotCode" varchar(100) DEFAULT NULL, "PlotID" integer NOT NULL, "moved" varchar(255) NOT NULL, "reason_of_moving" varchar(255) NOT NULL, "latNEW" varchar(255) NOT NULL, "longNEW" varchar(255) NOT NULL, "new_elevation" integer NOT NULL, "remark" varchar(255) NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "lookup_MethodCode" -- DROP TABLE IF EXISTS "lookup_MethodCode"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "lookup_MethodCode" ( "MethodCode" integer NOT NULL DEFAULT '0', "Description" varchar(80) NOT NULL DEFAULT '', PRIMARY KEY ("MethodCode") ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "oneThousandSalviasNames" -- DROP TABLE IF EXISTS "oneThousandSalviasNames"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "oneThousandSalviasNames" ( "nameID" integer NOT NULL, "name" varchar(457) DEFAULT NULL, PRIMARY KEY ("nameID") ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "oneThousandSalviasNamesNoID" -- DROP TABLE IF EXISTS "oneThousandSalviasNamesNoID"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "oneThousandSalviasNamesNoID" ( "nameID" integer NOT NULL DEFAULT '0', "name" varchar(457) DEFAULT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "plotMetadata" -- DROP TABLE IF EXISTS "plotMetadata"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "plotMetadata" ( "PlotID" integer NOT NULL, "orig_filename" text, "AccessCode" integer DEFAULT NULL, "project_id" integer DEFAULT NULL, "PrimOwnerID" varchar(30) DEFAULT NULL, "SiteCode" varchar(100) DEFAULT NULL, "SiteName" varchar(150) DEFAULT NULL, "new_world" char(3) DEFAULT NULL, "MajorGeo" varchar(255) DEFAULT NULL, "Country" varchar(80) DEFAULT NULL, "PolDiv1" varchar(50) DEFAULT NULL, "pol1_type" varchar(25) DEFAULT NULL, "pol2" varchar(50) DEFAULT NULL, "pol2_type" varchar(25) DEFAULT NULL, "lat_string" varchar(20) DEFAULT NULL, "long_string" varchar(20) DEFAULT NULL, "LatDec" float DEFAULT NULL, "LongDec" float DEFAULT NULL, "lat_long_accuracy" varchar(255) DEFAULT NULL, "Elev" float DEFAULT NULL, "elev_max_m" float DEFAULT NULL, "elev_min_m" float DEFAULT NULL, "Precip" float DEFAULT NULL, "ElevSource" float DEFAULT NULL, "Temp" float DEFAULT NULL, "PrecipSource" float DEFAULT NULL, "TempSource" varchar(255) DEFAULT NULL, "bearing" double precision DEFAULT NULL, "slope_aspect" varchar(10) DEFAULT NULL, "slope_gradient" integer DEFAULT NULL, "clay_percent" float DEFAULT NULL, "silt_percent" float DEFAULT NULL, "sand_percent" float DEFAULT NULL, "pH" float DEFAULT NULL, "soil_N" varchar(20) DEFAULT NULL, "soil_P" varchar(20) DEFAULT NULL, "soil_C" varchar(20) DEFAULT NULL, "soil_K" varchar(20) DEFAULT NULL, "soil_Mg" varchar(20) DEFAULT NULL, "soil_Ca" varchar(20) DEFAULT NULL, "soil_Na" varchar(20) DEFAULT NULL, "soil_acidity" varchar(20) DEFAULT NULL, "soil_base" varchar(20) DEFAULT NULL, "soil_cation_cap" varchar(20) DEFAULT NULL, "soil_conductivity" varchar(20) DEFAULT NULL, "organic_percent" float DEFAULT NULL, "soil_texture" varchar(20) DEFAULT NULL, "RevisionComments" varchar(255) DEFAULT NULL, "Locality_Description" varchar(250) DEFAULT NULL, "topography_desc" varchar(250) DEFAULT NULL, "vegetation_1" varchar(255) DEFAULT NULL, "vegetation_2" varchar(255) DEFAULT NULL, "Habitat" varchar(250) DEFAULT NULL, "life_zone_code" varchar(10) DEFAULT NULL, "life_zone" varchar(150) DEFAULT NULL, "PlotMethod" varchar(250) DEFAULT NULL, "MethodCode" integer DEFAULT NULL, "plot_area_ha" float DEFAULT NULL, "recensused" char(3) DEFAULT NULL, "date_start" varchar(20) DEFAULT NULL, "date_finish" varchar(20) DEFAULT NULL, "plot_administrator" varchar(30) DEFAULT NULL, "plot_notes" text, "tmp_del" char(3) DEFAULT NULL, PRIMARY KEY ("PlotID"), "Country_index" boolean, "PrimOwnerID_index" boolean, "plot_administrator_index" boolean, "project_id_index" boolean ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "plotObservations" -- DROP TABLE IF EXISTS "plotObservations"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "plotObservations" ( "PlotObsID" integer NOT NULL, "PlotID" integer DEFAULT NULL, "PlotCode" varchar(50) DEFAULT NULL, "census_no" integer DEFAULT NULL, "census_date" varchar(20) DEFAULT NULL, "OrigRecordID" integer DEFAULT NULL, "Line" varchar(50) DEFAULT NULL, "Ind" integer DEFAULT NULL, "ind_id" varchar(11) DEFAULT NULL, "tag1" varchar(10) DEFAULT NULL, "tag2" varchar(10) DEFAULT NULL, "x_position" integer DEFAULT NULL, "y_position" integer DEFAULT NULL, "dist" double precision DEFAULT NULL, "perp_dist" varchar(5) DEFAULT NULL, "SourceVoucher" varchar(100) DEFAULT NULL, "coll_number" varchar(50) DEFAULT NULL, "collector_code" varchar(20) DEFAULT NULL, "coll_inits" varchar(8) DEFAULT NULL, "coll_lastname" varchar(50) DEFAULT NULL, "coll_firstname" varchar(50) DEFAULT NULL, "DetType" varchar(255) DEFAULT NULL, "det_by" varchar(250) DEFAULT NULL, "fam_status" integer DEFAULT NULL, "gen_status" integer DEFAULT NULL, "name_status" integer DEFAULT NULL, "SpAuthStatus" integer DEFAULT NULL, "Family" varchar(255) DEFAULT NULL, "Genus" varchar(255) DEFAULT NULL, "GenAuth" varchar(255) DEFAULT NULL, "Species" varchar(255) DEFAULT NULL, "auth" varchar(255) DEFAULT NULL, "infra_rank_1" varchar(6) DEFAULT NULL, "infra_ep_1" varchar(150) DEFAULT NULL, "infra_auth_1" varchar(150) DEFAULT NULL, "common_name" varchar(100) DEFAULT NULL, "morphoname" varchar(200) DEFAULT NULL, "species_code" varchar(50) DEFAULT NULL, "Habit" varchar(50) DEFAULT NULL, "height_class" varchar(20) DEFAULT NULL, "height_m" float DEFAULT NULL, "height_m_commercial" float DEFAULT NULL, "ht_first_branch_m" double precision DEFAULT NULL, "NoInd" integer DEFAULT NULL, "cover_percent" decimal(7,2) DEFAULT NULL, "intercept_cm" double precision DEFAULT NULL, "cfaff" varchar(10) DEFAULT NULL, "other_annotations" varchar(250) DEFAULT NULL, "morphocf" varchar(10) DEFAULT NULL, "IsMorpho" integer DEFAULT NULL, "OrigFamily" varchar(100) DEFAULT NULL, "OrigGenus" varchar(100) DEFAULT NULL, "OrigSpecies" varchar(255) DEFAULT NULL, "OrigAuth" varchar(250) DEFAULT NULL, "phenology" varchar(250) DEFAULT NULL, "canopy_position" varchar(50) DEFAULT NULL, "canopy_form" varchar(50) DEFAULT NULL, "liana_infestation" varchar(50) DEFAULT NULL, "Notes" text, "temp_dbh" double precision DEFAULT NULL, "temp_liandbh" double precision DEFAULT NULL, "tmp_del" char(3) DEFAULT NULL, PRIMARY KEY ("PlotObsID"), "PlotID_index" boolean ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "projects" -- DROP TABLE IF EXISTS "projects"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "projects" ( "project_id" integer NOT NULL, "project_name" varchar(255) NOT NULL DEFAULT '', "project_pi" varchar(30) NOT NULL DEFAULT '', "allow_download_all" integer NOT NULL DEFAULT '0', "ipr_specific" text, "ipr_specific_updated" date DEFAULT NULL, PRIMARY KEY ("project_id"), "project_name_index" boolean, "on_project_list_index" boolean, "project_distinct_index" boolean ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "salvias_individuals_kraft" -- DROP TABLE IF EXISTS "salvias_individuals_kraft"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "salvias_individuals_kraft" ( "plot_code" varchar(255) NOT NULL, "major_geo" varchar(255) NOT NULL, "country" varchar(255) NOT NULL, "lat_decimal" varchar(255) NOT NULL, "long_decimal" varchar(255) NOT NULL, "elev_m" integer NOT NULL, "precip_mm" integer NOT NULL, "holdridge_life_zone" varchar(255) NOT NULL, "plot_area_ha" float NOT NULL, "plot.gamma" integer NOT NULL, "mean.alpha" float NOT NULL, "obs.beta" float NOT NULL, "null.mean.beta" float NOT NULL, "null.sd.beta" float NOT NULL, "beta.dev" float NOT NULL, "beta.diff" float NOT NULL, "ABSlat" float NOT NULL ); /*!40101 SET character_set_client = @saved_cs_client */; -- -- Table structure for table "stems" -- DROP TABLE IF EXISTS "stems"; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE "stems" ( "stem_id" integer NOT NULL, "origrecord_id_stems" integer DEFAULT NULL, "PlotObsID" integer DEFAULT NULL, "NoInd" integer DEFAULT '0', "basal_diam" double precision DEFAULT NULL, "stem_dbh" double precision DEFAULT NULL, "gentry_dbh" double precision DEFAULT NULL, "stem_notes" text, "stem_tag1" varchar(20) DEFAULT NULL, "stem_tag2" varchar(20) DEFAULT NULL, "stem_height_m" double precision DEFAULT NULL, "stem_height_first_branch_m" double precision DEFAULT NULL, "stem_canopy_form" varchar(50) DEFAULT NULL, "stem_canopy_position" varchar(50) DEFAULT NULL, "stem_liana_infestation" varchar(50) DEFAULT NULL, "tmp_del" char(3) DEFAULT NULL, PRIMARY KEY ("stem_id"), "plotobs_id_index" boolean ); /*!40101 SET character_set_client = @saved_cs_client */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2012-09-05 0:01:40