1
|
SET standard_conforming_strings = off;
|
2
|
SET escape_string_warning = off;
|
3
|
SET standard_conforming_strings = off;
|
4
|
SET escape_string_warning = off;
|
5
|
-- MySQL dump 10.13 Distrib 5.5.29, for debian-linux-gnu (x86_64)
|
6
|
--
|
7
|
-- Host: localhost Database: BRIT
|
8
|
-- ------------------------------------------------------
|
9
|
-- Server version 5.5.29-0ubuntu0.12.04.1
|
10
|
|
11
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
12
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
13
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
14
|
SET NAMES 'latin1';
|
15
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
16
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
17
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
18
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
19
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */;
|
20
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
21
|
|
22
|
--
|
23
|
-- Table structure for table "specimen_flat"
|
24
|
--
|
25
|
|
26
|
DROP TABLE IF EXISTS "specimen_flat";
|
27
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
28
|
/*!40101 SET character_set_client = utf8 */;
|
29
|
CREATE TABLE "specimen_flat" (
|
30
|
"specimen_id" integer NOT NULL DEFAULT '0',
|
31
|
"Institution_Code" varchar(4) NOT NULL DEFAULT '',
|
32
|
"Global_Unique_Identifier" bytea DEFAULT NULL,
|
33
|
"Collector_Abbrev_Name" varchar(60) DEFAULT NULL,
|
34
|
"Collection_Team" varchar(120) DEFAULT NULL,
|
35
|
"Collection_Number" varchar(20) DEFAULT NULL,
|
36
|
"Date_of_Collection" varchar(60) DEFAULT NULL,
|
37
|
"Year_Collected" integer DEFAULT NULL,
|
38
|
"Month_Collected" integer DEFAULT NULL,
|
39
|
"Day_Collected" integer DEFAULT NULL,
|
40
|
"Catalog_Number" varchar(81) DEFAULT NULL,
|
41
|
"Scientific_Name" varchar(255) DEFAULT NULL,
|
42
|
"Kingdom_Name" varchar(60) DEFAULT NULL,
|
43
|
"Division_Name" varchar(60) DEFAULT NULL,
|
44
|
"Class_Name" varchar(60) DEFAULT NULL,
|
45
|
"Subclass_Name" varchar(60) DEFAULT NULL,
|
46
|
"Order_Name" varchar(60) DEFAULT NULL,
|
47
|
"Family_Name" varchar(60) DEFAULT NULL,
|
48
|
"Genus_Name" varchar(60) DEFAULT NULL,
|
49
|
"Specific_Epithet" varchar(60) DEFAULT NULL,
|
50
|
"Sp_Authority" varchar(255) DEFAULT NULL,
|
51
|
"Infra_Rank" varchar(100) DEFAULT NULL,
|
52
|
"Infra_Epithet" varchar(60) DEFAULT NULL,
|
53
|
"Local_Name" varchar(60) DEFAULT NULL,
|
54
|
"Continent_Name" varchar(60) DEFAULT NULL,
|
55
|
"Country_Name" varchar(60) DEFAULT '',
|
56
|
"Region_Name" varchar(60) DEFAULT '',
|
57
|
"Subregion_Name" varchar(60) DEFAULT NULL,
|
58
|
"Closest_Town" varchar(60) DEFAULT NULL,
|
59
|
"Research_Site_Name" varchar(60) DEFAULT NULL,
|
60
|
"Project_Name" varchar(60) DEFAULT NULL,
|
61
|
"Locality_Summary" varchar(60) DEFAULT NULL,
|
62
|
"Locality_Description" text,
|
63
|
"Locality_Site_Specific" varchar(120) DEFAULT NULL,
|
64
|
"Habitat_Description" text,
|
65
|
"Habitat_Summary" varchar(200) DEFAULT NULL,
|
66
|
"Soil_Description" text,
|
67
|
"Notes_Plant" text,
|
68
|
"Phenology_Stage" char NOT NULL DEFAULT '',
|
69
|
"Height_Min" float DEFAULT NULL,
|
70
|
"Height_Max" float DEFAULT NULL,
|
71
|
"DBH_Min" float DEFAULT NULL,
|
72
|
"DBH_Max" float DEFAULT NULL,
|
73
|
"Latitude" float DEFAULT NULL,
|
74
|
"Longitude" float DEFAULT NULL,
|
75
|
"Coordinate_Uncertainity" varchar(60) DEFAULT NULL,
|
76
|
"Elevation_Min" float DEFAULT NULL,
|
77
|
"Elevation_Max" float DEFAULT NULL,
|
78
|
"Basis_Of_Specimen" varchar(1) NOT NULL DEFAULT '',
|
79
|
"Auxilirary_Collections" char NOT NULL DEFAULT '',
|
80
|
"Collection_Method" varchar(5) NOT NULL DEFAULT '',
|
81
|
"Dubpliate_Herbarium" char NOT NULL DEFAULT '',
|
82
|
"Duplicates" bigint DEFAULT NULL,
|
83
|
"Type_Specimen" char NOT NULL DEFAULT '',
|
84
|
"Updated_date" varchar(60) DEFAULT NULL,
|
85
|
"Determined_By_Name" varchar(200) DEFAULT NULL,
|
86
|
"Determined_By_Date" varchar(30) DEFAULT NULL,
|
87
|
"Year_Identified" integer DEFAULT NULL,
|
88
|
"Month_Identified" integer DEFAULT NULL,
|
89
|
"Day_Identified" integer DEFAULT NULL
|
90
|
);
|
91
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
92
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
93
|
|
94
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
95
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
96
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
97
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
98
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
99
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
100
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
101
|
|
102
|
-- Dump completed on 2013-02-26 14:30:43
|