SET standard_conforming_strings = off;
SET escape_string_warning = off;
-- MySQL dump 10.13  Distrib 5.5.28, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: bien2_staging
-- ------------------------------------------------------
-- Server version	5.5.28-0ubuntu0.12.04.3

/*!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 "TraitObservation"
--

DROP TABLE IF EXISTS "TraitObservation";
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE "TraitObservation" (
  "TraitObservationID" integer NOT NULL,
  "TaxonomyID" integer NOT NULL,
  "Family" varchar(100) DEFAULT NULL,
  "Genus" varchar(100) DEFAULT NULL,
  "SpecificEpithet" varchar(100) DEFAULT NULL,
  "InfraspecificRank" varchar(25) DEFAULT NULL,
  "InfraspecificEpithet" varchar(100) DEFAULT NULL,
  "Taxon" varchar(255) DEFAULT NULL,
  "AuthorOfScientificName" varchar(255) DEFAULT NULL,
  "Habit" varchar(50) DEFAULT NULL,
  "TraitName" varchar(200) DEFAULT NULL,
  "TraitValue" varchar(100) DEFAULT NULL,
  "Unit" varchar(100) DEFAULT NULL,
  "Method" varchar(255) DEFAULT NULL,
  "Region" varchar(100) DEFAULT NULL,
  "Country" varchar(100) DEFAULT NULL,
  "StateProvince" varchar(100) DEFAULT NULL,
  "LowerPolitical" varchar(100) DEFAULT NULL,
  "LocalityDescription" varchar(100) DEFAULT NULL,
  "VerbatimLatitude" varchar(150) DEFAULT NULL,
  "VerbatimLongitude" varchar(150) DEFAULT NULL,
  "VerbatimElevation" varchar(150) DEFAULT NULL,
  "Source" varchar(100) DEFAULT NULL,
  "URLSource" varchar(100) DEFAULT NULL,
  "SourceCitation" varchar(1000) DEFAULT NULL,
  "SourceID" varchar(255) DEFAULT NULL,
  "VisitingDate" varchar(100) DEFAULT NULL,
  "ReferenceID" integer DEFAULT NULL,
  "Access" varchar(100) DEFAULT NULL,
  "Project_PI" varchar(255) DEFAULT NULL,
  "Project_PI_contact" varchar(100) DEFAULT NULL,
  "Observation" varchar(255) DEFAULT NULL,
  "Authorship" varchar(255) DEFAULT NULL,
  "AuthorshipContact" varchar(100) DEFAULT NULL,
  PRIMARY KEY ("TraitObservationID"),
  "TaxonomyID_index" boolean,
  "Family_index" boolean,
  "Taxon_index" boolean,
  "TraitName_index" boolean,
  "ReferenceID_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-12-17 12:45:51
