Project

General

Profile

1
SET standard_conforming_strings = off;
2
-- MySQL dump 10.13  Distrib 5.5.24, for debian-linux-gnu (x86_64)
3
--
4
-- Host: localhost    Database: salvias_plots
5
-- ------------------------------------------------------
6
-- Server version	5.5.24-0ubuntu0.12.04.1
7

    
8
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
9
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
10
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
11
SET NAMES 'latin1';
12
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
13
/*!40103 SET TIME_ZONE='+00:00' */;
14
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
15
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
16
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */;
17
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
18

    
19
--
20
-- Table structure for table "GentryCompiled_utf8_bak"
21
--
22

    
23
DROP TABLE IF EXISTS "GentryCompiled_utf8_bak";
24
/*!40101 SET @saved_cs_client     = @@character_set_client */;
25
/*!40101 SET character_set_client = utf8 */;
26
CREATE TABLE "GentryCompiled_utf8_bak" (
27
  "OrigRecordID" integer NOT NULL,
28
  "Region" varchar(255) NOT NULL,
29
  "Transect" varchar(255) NOT NULL,
30
  "Line" integer NOT NULL,
31
  "Family" varchar(255) NOT NULL,
32
  "Genus" varchar(255) NOT NULL,
33
  "Species" varchar(255) NOT NULL,
34
  "Vouch1" varchar(255) NOT NULL,
35
  "Vouch2" varchar(255) NOT NULL,
36
  "Vouch3" varchar(255) NOT NULL,
37
  "Vouch4" varchar(255) NOT NULL,
38
  "Vouch5" varchar(255) NOT NULL,
39
  "Vouch6" varchar(255) NOT NULL,
40
  "Vouch7" varchar(255) NOT NULL,
41
  "Vouch8" varchar(255) NOT NULL,
42
  "Habit" varchar(255) NOT NULL,
43
  "NoInd" integer NOT NULL,
44
  "noStems" integer NOT NULL,
45
  "Dbh1" float NOT NULL,
46
  "Dbh2" varchar(255) NOT NULL,
47
  "Dbh3" varchar(255) NOT NULL,
48
  "Dbh4" varchar(255) NOT NULL,
49
  "Dbh5" varchar(255) NOT NULL,
50
  "Dbh6" varchar(255) NOT NULL,
51
  "Dbh7" varchar(255) NOT NULL,
52
  "Dbh8" varchar(255) NOT NULL,
53
  "Dbh9" varchar(255) NOT NULL,
54
  "Dbh10" varchar(255) NOT NULL,
55
  "Dbh11" varchar(255) NOT NULL,
56
  "Dbh12" varchar(255) NOT NULL,
57
  "Dbh13" varchar(255) NOT NULL,
58
  "Dbh14" varchar(255) NOT NULL,
59
  "Dbh15" varchar(255) NOT NULL,
60
  "Dbh16" varchar(255) NOT NULL,
61
  "Dbh17" varchar(255) NOT NULL,
62
  "Dbh18" varchar(255) NOT NULL,
63
  "Dbh19" varchar(255) NOT NULL,
64
  "Dbh20" varchar(255) NOT NULL,
65
  "Dbh21" varchar(255) NOT NULL,
66
  "Dbh22" varchar(255) NOT NULL,
67
  "Dbh23" varchar(255) NOT NULL,
68
  "Dbh24" varchar(255) NOT NULL,
69
  "Dbh25" varchar(255) NOT NULL,
70
  "Dbh26" varchar(255) NOT NULL,
71
  "Dbh27" varchar(255) NOT NULL,
72
  "Dbh28" varchar(255) NOT NULL,
73
  "Dbh29" varchar(255) NOT NULL,
74
  "Dbh30" varchar(255) NOT NULL,
75
  "Dbh31" varchar(255) NOT NULL,
76
  "Dbh32" varchar(255) NOT NULL,
77
  "Dbh33" varchar(255) NOT NULL,
78
  "Dbh34" varchar(255) NOT NULL,
79
  "Dbh35" varchar(255) NOT NULL,
80
  "Dbh36" varchar(255) NOT NULL,
81
  "Dbh37" varchar(255) NOT NULL,
82
  "Dbh38" varchar(255) NOT NULL,
83
  "Dbh39" varchar(255) NOT NULL,
84
  "Dbh40" varchar(255) NOT NULL,
85
  "Dbh41" varchar(255) NOT NULL,
86
  "Dbh42" varchar(255) NOT NULL,
87
  "Dbh43" varchar(255) NOT NULL,
88
  "Dbh44" varchar(255) NOT NULL,
89
  "Dbh45" varchar(255) NOT NULL,
90
  "Dbh46" varchar(255) NOT NULL,
91
  "Dbh47" varchar(255) NOT NULL,
92
  "Dbh48" varchar(255) NOT NULL,
93
  "dbhHasGaps" integer NOT NULL DEFAULT '0',
94
  "totDbhs" integer NOT NULL DEFAULT '0',
95
  "dbhHasGaps_index" boolean,
96
  "totDbhs_index" boolean
97
);
98
/*!40101 SET character_set_client = @saved_cs_client */;
99

    
100
--
101
-- Table structure for table "gentryBad"
102
--
103

    
104
DROP TABLE IF EXISTS "gentryBad";
105
/*!40101 SET @saved_cs_client     = @@character_set_client */;
106
/*!40101 SET character_set_client = utf8 */;
107
CREATE TABLE "gentryBad" (
108
  "OrigRecordID" integer NOT NULL,
109
  "Region" varchar(255) NOT NULL,
110
  "Transect" varchar(255) NOT NULL,
111
  "Line" integer NOT NULL,
112
  "Family" varchar(255) NOT NULL,
113
  "Genus" varchar(255) NOT NULL,
114
  "Species" varchar(255) NOT NULL,
115
  "Vouch1" varchar(255) NOT NULL,
116
  "Vouch2" varchar(255) NOT NULL,
117
  "Vouch3" varchar(255) NOT NULL,
118
  "Vouch4" varchar(255) NOT NULL,
119
  "Vouch5" varchar(255) NOT NULL,
120
  "Vouch6" varchar(255) NOT NULL,
121
  "Vouch7" varchar(255) NOT NULL,
122
  "Vouch8" varchar(255) NOT NULL,
123
  "Habit" varchar(255) NOT NULL,
124
  "NoInd" integer NOT NULL,
125
  "noStems" integer NOT NULL,
126
  "Dbh1" float NOT NULL,
127
  "Dbh2" varchar(255) NOT NULL,
128
  "Dbh3" varchar(255) NOT NULL,
129
  "Dbh4" varchar(255) NOT NULL,
130
  "Dbh5" varchar(255) NOT NULL,
131
  "Dbh6" varchar(255) NOT NULL,
132
  "Dbh7" varchar(255) NOT NULL,
133
  "Dbh8" varchar(255) NOT NULL,
134
  "Dbh9" varchar(255) NOT NULL,
135
  "Dbh10" varchar(255) NOT NULL,
136
  "Dbh11" varchar(255) NOT NULL,
137
  "Dbh12" varchar(255) NOT NULL,
138
  "Dbh13" varchar(255) NOT NULL,
139
  "Dbh14" varchar(255) NOT NULL,
140
  "Dbh15" varchar(255) NOT NULL,
141
  "Dbh16" varchar(255) NOT NULL,
142
  "Dbh17" varchar(255) NOT NULL,
143
  "Dbh18" varchar(255) NOT NULL,
144
  "Dbh19" varchar(255) NOT NULL,
145
  "Dbh20" varchar(255) NOT NULL,
146
  "Dbh21" varchar(255) NOT NULL,
147
  "Dbh22" varchar(255) NOT NULL,
148
  "Dbh23" varchar(255) NOT NULL,
149
  "Dbh24" varchar(255) NOT NULL,
150
  "Dbh25" varchar(255) NOT NULL,
151
  "Dbh26" varchar(255) NOT NULL,
152
  "Dbh27" varchar(255) NOT NULL,
153
  "Dbh28" varchar(255) NOT NULL,
154
  "Dbh29" varchar(255) NOT NULL,
155
  "Dbh30" varchar(255) NOT NULL,
156
  "Dbh31" varchar(255) NOT NULL,
157
  "Dbh32" varchar(255) NOT NULL,
158
  "Dbh33" varchar(255) NOT NULL,
159
  "Dbh34" varchar(255) NOT NULL,
160
  "Dbh35" varchar(255) NOT NULL,
161
  "Dbh36" varchar(255) NOT NULL,
162
  "Dbh37" varchar(255) NOT NULL,
163
  "Dbh38" varchar(255) NOT NULL,
164
  "Dbh39" varchar(255) NOT NULL,
165
  "Dbh40" varchar(255) NOT NULL,
166
  "Dbh41" varchar(255) NOT NULL,
167
  "Dbh42" varchar(255) NOT NULL,
168
  "Dbh43" varchar(255) NOT NULL,
169
  "Dbh44" varchar(255) NOT NULL,
170
  "Dbh45" varchar(255) NOT NULL,
171
  "Dbh46" varchar(255) NOT NULL,
172
  "Dbh47" varchar(255) NOT NULL,
173
  "Dbh48" varchar(255) NOT NULL
174
);
175
/*!40101 SET character_set_client = @saved_cs_client */;
176

    
177
--
178
-- Table structure for table "gentryMethod1"
179
--
180

    
181
DROP TABLE IF EXISTS "gentryMethod1";
182
/*!40101 SET @saved_cs_client     = @@character_set_client */;
183
/*!40101 SET character_set_client = utf8 */;
184
CREATE TABLE "gentryMethod1" (
185
  "plot" varchar(255) NOT NULL,
186
  "line" integer NOT NULL,
187
  "ind" integer NOT NULL,
188
  "species" varchar(255) NOT NULL
189
);
190
/*!40101 SET character_set_client = @saved_cs_client */;
191

    
192
--
193
-- Table structure for table "gentryMethod2"
194
--
195

    
196
DROP TABLE IF EXISTS "gentryMethod2";
197
/*!40101 SET @saved_cs_client     = @@character_set_client */;
198
/*!40101 SET character_set_client = utf8 */;
199
CREATE TABLE "gentryMethod2" (
200
  "plot" varchar(255) NOT NULL,
201
  "line" integer NOT NULL,
202
  "ind" integer NOT NULL,
203
  "species" varchar(255) NOT NULL
204
);
205
/*!40101 SET character_set_client = @saved_cs_client */;
206

    
207
--
208
-- Table structure for table "gentry_SALVIAS_plot_metadata"
209
--
210

    
211
DROP TABLE IF EXISTS "gentry_SALVIAS_plot_metadata";
212
/*!40101 SET @saved_cs_client     = @@character_set_client */;
213
/*!40101 SET character_set_client = utf8 */;
214
CREATE TABLE "gentry_SALVIAS_plot_metadata" (
215
  "project" varchar(255) NOT NULL,
216
  "PLOT_ID" integer NOT NULL,
217
  "plot_code" varchar(255) NOT NULL,
218
  "major_geo" varchar(255) NOT NULL,
219
  "country" varchar(255) NOT NULL,
220
  "pol1" varchar(255) NOT NULL,
221
  "pol2" varchar(255) NOT NULL,
222
  "locality_description" varchar(255) NOT NULL,
223
  "lat_decimal" varchar(255) NOT NULL,
224
  "long_decimal" varchar(255) NOT NULL,
225
  "elev_m" integer NOT NULL,
226
  "elev_max_m" varchar(255) NOT NULL,
227
  "elev_min_m" varchar(255) NOT NULL,
228
  "temp_c" varchar(255) NOT NULL,
229
  "precip_mm" integer NOT NULL,
230
  "slope_aspect" varchar(255) NOT NULL,
231
  "slope_gradient" varchar(255) NOT NULL,
232
  "clay_percent" varchar(255) NOT NULL,
233
  "silt_percent" varchar(255) NOT NULL,
234
  "sand_percent" varchar(255) NOT NULL,
235
  "organic_percent" varchar(255) NOT NULL,
236
  "pH" varchar(255) NOT NULL,
237
  "soil_N" varchar(255) NOT NULL,
238
  "soil_P" varchar(255) NOT NULL,
239
  "soil_C" varchar(255) NOT NULL,
240
  "soil_K" varchar(255) NOT NULL,
241
  "soil_Mg" varchar(255) NOT NULL,
242
  "soil_Ca" varchar(255) NOT NULL,
243
  "soil_Na" varchar(255) NOT NULL,
244
  "soil_acidity" varchar(255) NOT NULL,
245
  "soil_base" varchar(255) NOT NULL,
246
  "soil_cation_cap" varchar(255) NOT NULL,
247
  "soil_conductivity" varchar(255) NOT NULL,
248
  "soil_texture" varchar(255) NOT NULL,
249
  "holdridge_life_zone" varchar(255) NOT NULL,
250
  "life_zone_code" varchar(255) NOT NULL,
251
  "observation_type" varchar(255) NOT NULL,
252
  "plot_methodology" varchar(255) NOT NULL,
253
  "plot_area_ha" float NOT NULL,
254
  "recensused" varchar(255) NOT NULL,
255
  "date_start" varchar(255) NOT NULL,
256
  "date_finish" varchar(255) NOT NULL
257
);
258
/*!40101 SET character_set_client = @saved_cs_client */;
259

    
260
--
261
-- Table structure for table "gentry_orig"
262
--
263

    
264
DROP TABLE IF EXISTS "gentry_orig";
265
/*!40101 SET @saved_cs_client     = @@character_set_client */;
266
/*!40101 SET character_set_client = utf8 */;
267
CREATE TABLE "gentry_orig" (
268
  "OrigRecordID" integer NOT NULL,
269
  "Region" varchar(255) NOT NULL,
270
  "Transect" varchar(255) NOT NULL,
271
  "Line" varchar(255) NOT NULL,
272
  "Family" varchar(255) NOT NULL,
273
  "Genus" varchar(255) NOT NULL,
274
  "Species" varchar(255) NOT NULL,
275
  "Vouch1" varchar(255) NOT NULL,
276
  "Vouch2" varchar(255) NOT NULL,
277
  "Vouch3" varchar(255) NOT NULL,
278
  "Vouch4" varchar(255) NOT NULL,
279
  "Vouch5" varchar(255) NOT NULL,
280
  "Vouch6" varchar(255) NOT NULL,
281
  "Vouch7" varchar(255) NOT NULL,
282
  "Vouch8" varchar(255) NOT NULL,
283
  "Habit" varchar(255) NOT NULL,
284
  "NoInd" varchar(255) NOT NULL,
285
  "noStems" varchar(255) NOT NULL,
286
  "Dbh1" varchar(255) NOT NULL,
287
  "Dbh2" varchar(255) NOT NULL,
288
  "Dbh3" varchar(255) NOT NULL,
289
  "Dbh4" varchar(255) NOT NULL,
290
  "Dbh5" varchar(255) NOT NULL,
291
  "Dbh6" varchar(255) NOT NULL,
292
  "Dbh7" varchar(255) NOT NULL,
293
  "Dbh8" varchar(255) NOT NULL,
294
  "Dbh9" varchar(255) NOT NULL,
295
  "Dbh10" varchar(255) NOT NULL,
296
  "Dbh11" varchar(255) NOT NULL,
297
  "Dbh12" varchar(255) NOT NULL,
298
  "Dbh13" varchar(255) NOT NULL,
299
  "Dbh14" varchar(255) NOT NULL,
300
  "Dbh15" varchar(255) NOT NULL,
301
  "Dbh16" varchar(255) NOT NULL,
302
  "Dbh17" varchar(255) NOT NULL,
303
  "Dbh18" varchar(255) NOT NULL,
304
  "Dbh19" varchar(255) NOT NULL,
305
  "Dbh20" varchar(255) NOT NULL,
306
  "Dbh21" varchar(255) NOT NULL,
307
  "Dbh22" varchar(255) NOT NULL,
308
  "Dbh23" varchar(255) NOT NULL,
309
  "Dbh24" varchar(255) NOT NULL,
310
  "Dbh25" varchar(255) NOT NULL,
311
  "Dbh26" varchar(255) NOT NULL,
312
  "Dbh27" varchar(255) NOT NULL,
313
  "Dbh28" varchar(255) NOT NULL,
314
  "Dbh29" varchar(255) NOT NULL,
315
  "Dbh30" varchar(255) NOT NULL,
316
  "Dbh31" varchar(255) NOT NULL,
317
  "Dbh32" varchar(255) NOT NULL,
318
  "Dbh33" varchar(255) NOT NULL,
319
  "Dbh34" varchar(255) NOT NULL,
320
  "Dbh35" varchar(255) NOT NULL,
321
  "Dbh36" varchar(255) NOT NULL,
322
  "Dbh37" varchar(255) NOT NULL,
323
  "Dbh38" varchar(255) NOT NULL,
324
  "Dbh39" varchar(255) NOT NULL,
325
  "Dbh40" varchar(255) NOT NULL,
326
  "Dbh41" varchar(255) NOT NULL,
327
  "Dbh42" varchar(255) NOT NULL,
328
  "Dbh43" varchar(255) NOT NULL,
329
  "Dbh44" varchar(255) NOT NULL,
330
  "Dbh45" varchar(255) NOT NULL,
331
  "Dbh46" varchar(255) NOT NULL,
332
  "Dbh47" varchar(255) NOT NULL,
333
  "Dbh48" varchar(255) NOT NULL,
334
  "dbhHasGaps" integer NOT NULL DEFAULT '0',
335
  "totDbhs" integer NOT NULL DEFAULT '0',
336
  "dbhHasGaps_index" boolean,
337
  "totDbhs_index" boolean,
338
  "OrigRecordID_index" boolean
339
);
340
/*!40101 SET character_set_client = @saved_cs_client */;
341

    
342
--
343
-- Table structure for table "gentry_orig2"
344
--
345

    
346
DROP TABLE IF EXISTS "gentry_orig2";
347
/*!40101 SET @saved_cs_client     = @@character_set_client */;
348
/*!40101 SET character_set_client = utf8 */;
349
CREATE TABLE "gentry_orig2" (
350
  "OrigRecordID" integer NOT NULL,
351
  "Region" varchar(255) NOT NULL,
352
  "Transect" varchar(255) NOT NULL,
353
  "Line" varchar(255) NOT NULL,
354
  "Family" varchar(255) NOT NULL,
355
  "Genus" varchar(255) NOT NULL,
356
  "Species" varchar(255) NOT NULL,
357
  "Vouch1" varchar(255) NOT NULL,
358
  "Vouch2" varchar(255) NOT NULL,
359
  "Vouch3" varchar(255) NOT NULL,
360
  "Vouch4" varchar(255) NOT NULL,
361
  "Vouch5" varchar(255) NOT NULL,
362
  "Vouch6" varchar(255) NOT NULL,
363
  "Vouch7" varchar(255) NOT NULL,
364
  "Vouch8" varchar(255) NOT NULL,
365
  "Habit" varchar(255) NOT NULL,
366
  "NoInd" varchar(255) NOT NULL,
367
  "noStems" varchar(255) NOT NULL,
368
  "Dbh1" varchar(255) NOT NULL,
369
  "Dbh2" varchar(255) NOT NULL,
370
  "Dbh3" varchar(255) NOT NULL,
371
  "Dbh4" varchar(255) NOT NULL,
372
  "Dbh5" varchar(255) NOT NULL,
373
  "Dbh6" varchar(255) NOT NULL,
374
  "Dbh7" varchar(255) NOT NULL,
375
  "Dbh8" varchar(255) NOT NULL,
376
  "Dbh9" varchar(255) NOT NULL,
377
  "Dbh10" varchar(255) NOT NULL,
378
  "Dbh11" varchar(255) NOT NULL,
379
  "Dbh12" varchar(255) NOT NULL,
380
  "Dbh13" varchar(255) NOT NULL,
381
  "Dbh14" varchar(255) NOT NULL,
382
  "Dbh15" varchar(255) NOT NULL,
383
  "Dbh16" varchar(255) NOT NULL,
384
  "Dbh17" varchar(255) NOT NULL,
385
  "Dbh18" varchar(255) NOT NULL,
386
  "Dbh19" varchar(255) NOT NULL,
387
  "Dbh20" varchar(255) NOT NULL,
388
  "Dbh21" varchar(255) NOT NULL,
389
  "Dbh22" varchar(255) NOT NULL,
390
  "Dbh23" varchar(255) NOT NULL,
391
  "Dbh24" varchar(255) NOT NULL,
392
  "Dbh25" varchar(255) NOT NULL,
393
  "Dbh26" varchar(255) NOT NULL,
394
  "Dbh27" varchar(255) NOT NULL,
395
  "Dbh28" varchar(255) NOT NULL,
396
  "Dbh29" varchar(255) NOT NULL,
397
  "Dbh30" varchar(255) NOT NULL,
398
  "Dbh31" varchar(255) NOT NULL,
399
  "Dbh32" varchar(255) NOT NULL,
400
  "Dbh33" varchar(255) NOT NULL,
401
  "Dbh34" varchar(255) NOT NULL,
402
  "Dbh35" varchar(255) NOT NULL,
403
  "Dbh36" varchar(255) NOT NULL,
404
  "Dbh37" varchar(255) NOT NULL,
405
  "Dbh38" varchar(255) NOT NULL,
406
  "Dbh39" varchar(255) NOT NULL,
407
  "Dbh40" varchar(255) NOT NULL,
408
  "Dbh41" varchar(255) NOT NULL,
409
  "Dbh42" varchar(255) NOT NULL,
410
  "Dbh43" varchar(255) NOT NULL,
411
  "Dbh44" varchar(255) NOT NULL,
412
  "Dbh45" varchar(255) NOT NULL,
413
  "Dbh46" varchar(255) NOT NULL,
414
  "Dbh47" varchar(255) NOT NULL,
415
  "Dbh48" varchar(255) NOT NULL,
416
  "dbhHasGaps" integer NOT NULL DEFAULT '0',
417
  "totDbhs" integer NOT NULL DEFAULT '0',
418
  "dbhHasGaps_index" boolean,
419
  "totDbhs_index" boolean,
420
  "OrigRecordID_index" boolean
421
);
422
/*!40101 SET character_set_client = @saved_cs_client */;
423

    
424
--
425
-- Table structure for table "gentry_orig_bak"
426
--
427

    
428
DROP TABLE IF EXISTS "gentry_orig_bak";
429
/*!40101 SET @saved_cs_client     = @@character_set_client */;
430
/*!40101 SET character_set_client = utf8 */;
431
CREATE TABLE "gentry_orig_bak" (
432
  "OrigRecordID" integer NOT NULL,
433
  "Region" varchar(255) NOT NULL,
434
  "Transect" varchar(255) NOT NULL,
435
  "Line" integer NOT NULL,
436
  "Family" varchar(255) NOT NULL,
437
  "Genus" varchar(255) NOT NULL,
438
  "Species" varchar(255) NOT NULL,
439
  "Vouch1" varchar(255) NOT NULL,
440
  "Vouch2" varchar(255) NOT NULL,
441
  "Vouch3" varchar(255) NOT NULL,
442
  "Vouch4" varchar(255) NOT NULL,
443
  "Vouch5" varchar(255) NOT NULL,
444
  "Vouch6" varchar(255) NOT NULL,
445
  "Vouch7" varchar(255) NOT NULL,
446
  "Vouch8" varchar(255) NOT NULL,
447
  "Habit" varchar(255) NOT NULL,
448
  "NoInd" integer NOT NULL,
449
  "noStems" integer NOT NULL,
450
  "Dbh1" float NOT NULL,
451
  "Dbh2" varchar(255) NOT NULL,
452
  "Dbh3" varchar(255) NOT NULL,
453
  "Dbh4" varchar(255) NOT NULL,
454
  "Dbh5" varchar(255) NOT NULL,
455
  "Dbh6" varchar(255) NOT NULL,
456
  "Dbh7" varchar(255) NOT NULL,
457
  "Dbh8" varchar(255) NOT NULL,
458
  "Dbh9" varchar(255) NOT NULL,
459
  "Dbh10" varchar(255) NOT NULL,
460
  "Dbh11" varchar(255) NOT NULL,
461
  "Dbh12" varchar(255) NOT NULL,
462
  "Dbh13" varchar(255) NOT NULL,
463
  "Dbh14" varchar(255) NOT NULL,
464
  "Dbh15" varchar(255) NOT NULL,
465
  "Dbh16" varchar(255) NOT NULL,
466
  "Dbh17" varchar(255) NOT NULL,
467
  "Dbh18" varchar(255) NOT NULL,
468
  "Dbh19" varchar(255) NOT NULL,
469
  "Dbh20" varchar(255) NOT NULL,
470
  "Dbh21" varchar(255) NOT NULL,
471
  "Dbh22" varchar(255) NOT NULL,
472
  "Dbh23" varchar(255) NOT NULL,
473
  "Dbh24" varchar(255) NOT NULL,
474
  "Dbh25" varchar(255) NOT NULL,
475
  "Dbh26" varchar(255) NOT NULL,
476
  "Dbh27" varchar(255) NOT NULL,
477
  "Dbh28" varchar(255) NOT NULL,
478
  "Dbh29" varchar(255) NOT NULL,
479
  "Dbh30" varchar(255) NOT NULL,
480
  "Dbh31" varchar(255) NOT NULL,
481
  "Dbh32" varchar(255) NOT NULL,
482
  "Dbh33" varchar(255) NOT NULL,
483
  "Dbh34" varchar(255) NOT NULL,
484
  "Dbh35" varchar(255) NOT NULL,
485
  "Dbh36" varchar(255) NOT NULL,
486
  "Dbh37" varchar(255) NOT NULL,
487
  "Dbh38" varchar(255) NOT NULL,
488
  "Dbh39" varchar(255) NOT NULL,
489
  "Dbh40" varchar(255) NOT NULL,
490
  "Dbh41" varchar(255) NOT NULL,
491
  "Dbh42" varchar(255) NOT NULL,
492
  "Dbh43" varchar(255) NOT NULL,
493
  "Dbh44" varchar(255) NOT NULL,
494
  "Dbh45" varchar(255) NOT NULL,
495
  "Dbh46" varchar(255) NOT NULL,
496
  "Dbh47" varchar(255) NOT NULL,
497
  "Dbh48" varchar(255) NOT NULL,
498
  "dbhHasGaps" integer NOT NULL DEFAULT '0',
499
  "totDbhs" integer NOT NULL DEFAULT '0',
500
  "dbhHasGaps_index" boolean,
501
  "totDbhs_index" boolean,
502
  "OrigRecordID_index" boolean
503
);
504
/*!40101 SET character_set_client = @saved_cs_client */;
505

    
506
--
507
-- Table structure for table "gentry_plotObservations_bak"
508
--
509

    
510
DROP TABLE IF EXISTS "gentry_plotObservations_bak";
511
/*!40101 SET @saved_cs_client     = @@character_set_client */;
512
/*!40101 SET character_set_client = utf8 */;
513
CREATE TABLE "gentry_plotObservations_bak" (
514
  "OBSERVATION_ID" integer NOT NULL,
515
  "PLOT_ID" integer NOT NULL,
516
  "plot_code" varchar(255) NOT NULL,
517
  "census_no" integer NOT NULL,
518
  "census_date" varchar(255) NOT NULL,
519
  "subplot" integer NOT NULL,
520
  "individual_code" varchar(255) NOT NULL,
521
  "ind_id" varchar(255) NOT NULL,
522
  "tag1" varchar(255) NOT NULL,
523
  "tag2" varchar(255) NOT NULL,
524
  "x_position" varchar(255) NOT NULL,
525
  "y_position" varchar(255) NOT NULL,
526
  "voucher_string" varchar(255) NOT NULL,
527
  "coll_number" varchar(255) NOT NULL,
528
  "collector_code" varchar(255) NOT NULL,
529
  "coll_lastname" varchar(255) NOT NULL,
530
  "coll_firstname" varchar(255) NOT NULL,
531
  "det_type" varchar(255) NOT NULL,
532
  "fam_status" integer NOT NULL,
533
  "gen_status" integer NOT NULL,
534
  "species_status" integer NOT NULL,
535
  "family" varchar(255) NOT NULL,
536
  "genus" varchar(255) NOT NULL,
537
  "specific_epithet" varchar(255) NOT NULL,
538
  "specific_authority" varchar(255) NOT NULL,
539
  "infra_rank_1" varchar(255) NOT NULL,
540
  "infra_ep_1" varchar(255) NOT NULL,
541
  "cf_aff" varchar(255) NOT NULL,
542
  "comments" varchar(255) NOT NULL,
543
  "habit" varchar(255) NOT NULL,
544
  "no_of_individuals" integer NOT NULL,
545
  "cover_percent" varchar(255) NOT NULL,
546
  "intercept_cm" varchar(255) NOT NULL,
547
  "height_m" varchar(255) NOT NULL,
548
  "ht_first_branch_m" varchar(255) NOT NULL,
549
  "stem_tag1" varchar(255) NOT NULL,
550
  "stem_tag2" varchar(255) NOT NULL,
551
  "stem_dbh" float NOT NULL,
552
  "basal_diam" varchar(255) NOT NULL,
553
  "stem_height_m" varchar(255) NOT NULL,
554
  "stem_height_first_branch_m" varchar(255) NOT NULL,
555
  "stem_canopy_form" varchar(255) NOT NULL,
556
  "stem_canopy_position" varchar(255) NOT NULL,
557
  "stem_liana_infestation" varchar(255) NOT NULL,
558
  "notes" varchar(255) NOT NULL,
559
  "orig_family" varchar(255) NOT NULL,
560
  "orig_species" varchar(255) NOT NULL
561
);
562
/*!40101 SET character_set_client = @saved_cs_client */;
563

    
564
--
565
-- Table structure for table "gentry_plots_kraft"
566
--
567

    
568
DROP TABLE IF EXISTS "gentry_plots_kraft";
569
/*!40101 SET @saved_cs_client     = @@character_set_client */;
570
/*!40101 SET character_set_client = utf8 */;
571
CREATE TABLE "gentry_plots_kraft" (
572
  "plot_code" varchar(255) NOT NULL,
573
  PRIMARY KEY ("plot_code")
574
);
575
/*!40101 SET character_set_client = @saved_cs_client */;
576

    
577
--
578
-- Table structure for table "gentry_salvias"
579
--
580

    
581
DROP TABLE IF EXISTS "gentry_salvias";
582
/*!40101 SET @saved_cs_client     = @@character_set_client */;
583
/*!40101 SET character_set_client = utf8 */;
584
CREATE TABLE "gentry_salvias" (
585
  "OBSERVATION_ID" integer NOT NULL,
586
  "PLOT_ID" integer NOT NULL,
587
  "plot_code" varchar(255) NOT NULL,
588
  "census_no" varchar(255) NOT NULL,
589
  "census_date" varchar(255) NOT NULL,
590
  "subplot" varchar(255) NOT NULL,
591
  "individual_code" varchar(255) NOT NULL,
592
  "ind_id" varchar(255) NOT NULL,
593
  "tag1" varchar(255) NOT NULL,
594
  "tag2" varchar(255) NOT NULL,
595
  "x_position" varchar(255) NOT NULL,
596
  "y_position" varchar(255) NOT NULL,
597
  "voucher_string" varchar(255) NOT NULL,
598
  "coll_number" varchar(255) NOT NULL,
599
  "collector_code" varchar(255) NOT NULL,
600
  "coll_lastname" varchar(255) NOT NULL,
601
  "coll_firstname" varchar(255) NOT NULL,
602
  "det_type" varchar(255) NOT NULL,
603
  "fam_status" integer NOT NULL,
604
  "gen_status" integer NOT NULL,
605
  "species_status" integer NOT NULL,
606
  "family" varchar(255) NOT NULL,
607
  "genus" varchar(255) NOT NULL,
608
  "specific_epithet" varchar(255) NOT NULL,
609
  "specific_authority" varchar(255) NOT NULL,
610
  "infra_rank_1" varchar(255) NOT NULL,
611
  "infra_ep_1" varchar(255) NOT NULL,
612
  "cf_aff" varchar(255) NOT NULL,
613
  "comments" varchar(255) NOT NULL,
614
  "habit" varchar(255) NOT NULL,
615
  "no_of_individuals" integer NOT NULL,
616
  "cover_percent" varchar(255) NOT NULL,
617
  "intercept_cm" varchar(255) NOT NULL,
618
  "height_m" varchar(255) NOT NULL,
619
  "ht_first_branch_m" varchar(255) NOT NULL,
620
  "stem_tag1" varchar(255) NOT NULL,
621
  "stem_tag2" varchar(255) NOT NULL,
622
  "stem_dbh" varchar(255) NOT NULL,
623
  "basal_diam" varchar(255) NOT NULL,
624
  "stem_height_m" varchar(255) NOT NULL,
625
  "stem_height_first_branch_m" varchar(255) NOT NULL,
626
  "stem_canopy_form" varchar(255) NOT NULL,
627
  "stem_canopy_position" varchar(255) NOT NULL,
628
  "stem_liana_infestation" varchar(255) NOT NULL,
629
  "notes" varchar(255) NOT NULL,
630
  "orig_family" varchar(255) NOT NULL,
631
  "orig_species" varchar(255) NOT NULL
632
);
633
/*!40101 SET character_set_client = @saved_cs_client */;
634

    
635
--
636
-- Table structure for table "gentry_salvias_bak"
637
--
638

    
639
DROP TABLE IF EXISTS "gentry_salvias_bak";
640
/*!40101 SET @saved_cs_client     = @@character_set_client */;
641
/*!40101 SET character_set_client = utf8 */;
642
CREATE TABLE "gentry_salvias_bak" (
643
  "OBSERVATION_ID" integer NOT NULL,
644
  "PLOT_ID" integer NOT NULL,
645
  "plot_code" varchar(255) NOT NULL,
646
  "census_no" integer NOT NULL,
647
  "census_date" varchar(255) NOT NULL,
648
  "subplot" varchar(255) NOT NULL,
649
  "individual_code" varchar(255) NOT NULL,
650
  "ind_id" varchar(255) NOT NULL,
651
  "tag1" varchar(255) NOT NULL,
652
  "tag2" varchar(255) NOT NULL,
653
  "x_position" varchar(255) NOT NULL,
654
  "y_position" varchar(255) NOT NULL,
655
  "voucher_string" varchar(255) NOT NULL,
656
  "coll_number" varchar(255) NOT NULL,
657
  "collector_code" varchar(255) NOT NULL,
658
  "coll_lastname" varchar(255) NOT NULL,
659
  "coll_firstname" varchar(255) NOT NULL,
660
  "det_type" varchar(255) NOT NULL,
661
  "fam_status" integer NOT NULL,
662
  "gen_status" integer NOT NULL,
663
  "species_status" integer NOT NULL,
664
  "family" varchar(255) NOT NULL,
665
  "genus" varchar(255) NOT NULL,
666
  "specific_epithet" varchar(255) NOT NULL,
667
  "specific_authority" varchar(255) NOT NULL,
668
  "infra_rank_1" varchar(255) NOT NULL,
669
  "infra_ep_1" varchar(255) NOT NULL,
670
  "cf_aff" varchar(255) NOT NULL,
671
  "comments" varchar(255) NOT NULL,
672
  "habit" varchar(255) NOT NULL,
673
  "no_of_individuals" varchar(255) NOT NULL,
674
  "cover_percent" varchar(255) NOT NULL,
675
  "intercept_cm" varchar(255) NOT NULL,
676
  "height_m" varchar(255) NOT NULL,
677
  "ht_first_branch_m" varchar(255) NOT NULL,
678
  "stem_tag1" varchar(255) NOT NULL,
679
  "stem_tag2" varchar(255) NOT NULL,
680
  "stem_dbh" float NOT NULL,
681
  "basal_diam" varchar(255) NOT NULL,
682
  "stem_height_m" varchar(255) NOT NULL,
683
  "stem_height_first_branch_m" varchar(255) NOT NULL,
684
  "stem_canopy_form" varchar(255) NOT NULL,
685
  "stem_canopy_position" varchar(255) NOT NULL,
686
  "stem_liana_infestation" varchar(255) NOT NULL,
687
  "notes" varchar(255) NOT NULL,
688
  "orig_family" varchar(255) NOT NULL,
689
  "orig_species" varchar(255) NOT NULL
690
);
691
/*!40101 SET character_set_client = @saved_cs_client */;
692

    
693
--
694
-- Table structure for table "isimova_coords_corrected"
695
--
696

    
697
DROP TABLE IF EXISTS "isimova_coords_corrected";
698
/*!40101 SET @saved_cs_client     = @@character_set_client */;
699
/*!40101 SET character_set_client = utf8 */;
700
CREATE TABLE "isimova_coords_corrected" (
701
  "PlotID" integer NOT NULL,
702
  "moved" varchar(255) NOT NULL,
703
  "reason_of_moving" varchar(255) NOT NULL,
704
  "latNEW" varchar(255) NOT NULL,
705
  "longNEW" varchar(255) NOT NULL,
706
  "new_elevation" integer NOT NULL,
707
  "remark" varchar(255) NOT NULL
708
);
709
/*!40101 SET character_set_client = @saved_cs_client */;
710

    
711
--
712
-- Table structure for table "isimova_coords_corrected2"
713
--
714

    
715
DROP TABLE IF EXISTS "isimova_coords_corrected2";
716
/*!40101 SET @saved_cs_client     = @@character_set_client */;
717
/*!40101 SET character_set_client = utf8 */;
718
CREATE TABLE "isimova_coords_corrected2" (
719
  "plotCode" varchar(100) DEFAULT NULL,
720
  "PlotID" integer NOT NULL,
721
  "moved" varchar(255) NOT NULL,
722
  "reason_of_moving" varchar(255) NOT NULL,
723
  "latNEW" varchar(255) NOT NULL,
724
  "longNEW" varchar(255) NOT NULL,
725
  "new_elevation" integer NOT NULL,
726
  "remark" varchar(255) NOT NULL
727
);
728
/*!40101 SET character_set_client = @saved_cs_client */;
729

    
730
--
731
-- Table structure for table "lookup_MethodCode"
732
--
733

    
734
DROP TABLE IF EXISTS "lookup_MethodCode";
735
/*!40101 SET @saved_cs_client     = @@character_set_client */;
736
/*!40101 SET character_set_client = utf8 */;
737
CREATE TABLE "lookup_MethodCode" (
738
  "MethodCode" integer NOT NULL DEFAULT '0',
739
  "Description" varchar(80) NOT NULL DEFAULT '',
740
  PRIMARY KEY ("MethodCode")
741
);
742
/*!40101 SET character_set_client = @saved_cs_client */;
743

    
744
--
745
-- Table structure for table "oneThousandSalviasNames"
746
--
747

    
748
DROP TABLE IF EXISTS "oneThousandSalviasNames";
749
/*!40101 SET @saved_cs_client     = @@character_set_client */;
750
/*!40101 SET character_set_client = utf8 */;
751
CREATE TABLE "oneThousandSalviasNames" (
752
  "nameID" integer NOT NULL,
753
  "name" varchar(457) DEFAULT NULL,
754
  PRIMARY KEY ("nameID")
755
);
756
/*!40101 SET character_set_client = @saved_cs_client */;
757

    
758
--
759
-- Table structure for table "oneThousandSalviasNamesNoID"
760
--
761

    
762
DROP TABLE IF EXISTS "oneThousandSalviasNamesNoID";
763
/*!40101 SET @saved_cs_client     = @@character_set_client */;
764
/*!40101 SET character_set_client = utf8 */;
765
CREATE TABLE "oneThousandSalviasNamesNoID" (
766
  "nameID" integer NOT NULL DEFAULT '0',
767
  "name" varchar(457) DEFAULT NULL
768
);
769
/*!40101 SET character_set_client = @saved_cs_client */;
770

    
771
--
772
-- Table structure for table "plotMetadata"
773
--
774

    
775
DROP TABLE IF EXISTS "plotMetadata";
776
/*!40101 SET @saved_cs_client     = @@character_set_client */;
777
/*!40101 SET character_set_client = utf8 */;
778
CREATE TABLE "plotMetadata" (
779
  "PlotID" integer NOT NULL,
780
  "orig_filename" text,
781
  "AccessCode" integer DEFAULT NULL,
782
  "project_id" integer DEFAULT NULL,
783
  "PrimOwnerID" varchar(30) DEFAULT NULL,
784
  "SiteCode" varchar(100) DEFAULT NULL,
785
  "SiteName" varchar(150) DEFAULT NULL,
786
  "new_world" char(3) DEFAULT NULL,
787
  "MajorGeo" varchar(255) DEFAULT NULL,
788
  "Country" varchar(80) DEFAULT NULL,
789
  "PolDiv1" varchar(50) DEFAULT NULL,
790
  "pol1_type" varchar(25) DEFAULT NULL,
791
  "pol2" varchar(50) DEFAULT NULL,
792
  "pol2_type" varchar(25) DEFAULT NULL,
793
  "lat_string" varchar(20) DEFAULT NULL,
794
  "long_string" varchar(20) DEFAULT NULL,
795
  "LatDec" float DEFAULT NULL,
796
  "LongDec" float DEFAULT NULL,
797
  "lat_long_accuracy" varchar(255) DEFAULT NULL,
798
  "Elev" float DEFAULT NULL,
799
  "elev_max_m" float DEFAULT NULL,
800
  "elev_min_m" float DEFAULT NULL,
801
  "Precip" float DEFAULT NULL,
802
  "ElevSource" float DEFAULT NULL,
803
  "Temp" float DEFAULT NULL,
804
  "PrecipSource" float DEFAULT NULL,
805
  "TempSource" varchar(255) DEFAULT NULL,
806
  "bearing" double precision DEFAULT NULL,
807
  "slope_aspect" varchar(10) DEFAULT NULL,
808
  "slope_gradient" integer DEFAULT NULL,
809
  "clay_percent" float DEFAULT NULL,
810
  "silt_percent" float DEFAULT NULL,
811
  "sand_percent" float DEFAULT NULL,
812
  "pH" float DEFAULT NULL,
813
  "soil_N" varchar(20) DEFAULT NULL,
814
  "soil_P" varchar(20) DEFAULT NULL,
815
  "soil_C" varchar(20) DEFAULT NULL,
816
  "soil_K" varchar(20) DEFAULT NULL,
817
  "soil_Mg" varchar(20) DEFAULT NULL,
818
  "soil_Ca" varchar(20) DEFAULT NULL,
819
  "soil_Na" varchar(20) DEFAULT NULL,
820
  "soil_acidity" varchar(20) DEFAULT NULL,
821
  "soil_base" varchar(20) DEFAULT NULL,
822
  "soil_cation_cap" varchar(20) DEFAULT NULL,
823
  "soil_conductivity" varchar(20) DEFAULT NULL,
824
  "organic_percent" float DEFAULT NULL,
825
  "soil_texture" varchar(20) DEFAULT NULL,
826
  "RevisionComments" varchar(255) DEFAULT NULL,
827
  "Locality_Description" varchar(250) DEFAULT NULL,
828
  "topography_desc" varchar(250) DEFAULT NULL,
829
  "vegetation_1" varchar(255) DEFAULT NULL,
830
  "vegetation_2" varchar(255) DEFAULT NULL,
831
  "Habitat" varchar(250) DEFAULT NULL,
832
  "life_zone_code" varchar(10) DEFAULT NULL,
833
  "life_zone" varchar(150) DEFAULT NULL,
834
  "PlotMethod" varchar(250) DEFAULT NULL,
835
  "MethodCode" integer DEFAULT NULL,
836
  "plot_area_ha" float DEFAULT NULL,
837
  "recensused" char(3) DEFAULT NULL,
838
  "date_start" varchar(20) DEFAULT NULL,
839
  "date_finish" varchar(20) DEFAULT NULL,
840
  "plot_administrator" varchar(30) DEFAULT NULL,
841
  "plot_notes" text,
842
  "tmp_del" char(3) DEFAULT NULL,
843
  PRIMARY KEY ("PlotID"),
844
  "Country_index" boolean,
845
  "PrimOwnerID_index" boolean,
846
  "plot_administrator_index" boolean,
847
  "project_id_index" boolean
848
);
849
/*!40101 SET character_set_client = @saved_cs_client */;
850

    
851
--
852
-- Table structure for table "plotObservations"
853
--
854

    
855
DROP TABLE IF EXISTS "plotObservations";
856
/*!40101 SET @saved_cs_client     = @@character_set_client */;
857
/*!40101 SET character_set_client = utf8 */;
858
CREATE TABLE "plotObservations" (
859
  "PlotObsID" integer NOT NULL,
860
  "PlotID" integer DEFAULT NULL,
861
  "PlotCode" varchar(50) DEFAULT NULL,
862
  "census_no" integer DEFAULT NULL,
863
  "census_date" varchar(20) DEFAULT NULL,
864
  "OrigRecordID" integer DEFAULT NULL,
865
  "Line" varchar(50) DEFAULT NULL,
866
  "Ind" integer DEFAULT NULL,
867
  "ind_id" varchar(11) DEFAULT NULL,
868
  "tag1" varchar(10) DEFAULT NULL,
869
  "tag2" varchar(10) DEFAULT NULL,
870
  "x_position" integer DEFAULT NULL,
871
  "y_position" integer DEFAULT NULL,
872
  "dist" double precision DEFAULT NULL,
873
  "perp_dist" varchar(5) DEFAULT NULL,
874
  "SourceVoucher" varchar(100) DEFAULT NULL,
875
  "coll_number" varchar(50) DEFAULT NULL,
876
  "collector_code" varchar(20) DEFAULT NULL,
877
  "coll_inits" varchar(8) DEFAULT NULL,
878
  "coll_lastname" varchar(50) DEFAULT NULL,
879
  "coll_firstname" varchar(50) DEFAULT NULL,
880
  "DetType" varchar(255) DEFAULT NULL,
881
  "det_by" varchar(250) DEFAULT NULL,
882
  "fam_status" integer DEFAULT NULL,
883
  "gen_status" integer DEFAULT NULL,
884
  "name_status" integer DEFAULT NULL,
885
  "SpAuthStatus" integer DEFAULT NULL,
886
  "Family" varchar(255) DEFAULT NULL,
887
  "Genus" varchar(255) DEFAULT NULL,
888
  "GenAuth" varchar(255) DEFAULT NULL,
889
  "Species" varchar(255) DEFAULT NULL,
890
  "auth" varchar(255) DEFAULT NULL,
891
  "infra_rank_1" varchar(6) DEFAULT NULL,
892
  "infra_ep_1" varchar(150) DEFAULT NULL,
893
  "infra_auth_1" varchar(150) DEFAULT NULL,
894
  "common_name" varchar(100) DEFAULT NULL,
895
  "morphoname" varchar(200) DEFAULT NULL,
896
  "species_code" varchar(50) DEFAULT NULL,
897
  "Habit" varchar(50) DEFAULT NULL,
898
  "height_class" varchar(20) DEFAULT NULL,
899
  "height_m" float DEFAULT NULL,
900
  "height_m_commercial" float DEFAULT NULL,
901
  "ht_first_branch_m" double precision DEFAULT NULL,
902
  "NoInd" integer DEFAULT NULL,
903
  "cover_percent" decimal(7,2) DEFAULT NULL,
904
  "intercept_cm" double precision DEFAULT NULL,
905
  "cfaff" varchar(10) DEFAULT NULL,
906
  "other_annotations" varchar(250) DEFAULT NULL,
907
  "morphocf" varchar(10) DEFAULT NULL,
908
  "IsMorpho" integer DEFAULT NULL,
909
  "OrigFamily" varchar(100) DEFAULT NULL,
910
  "OrigGenus" varchar(100) DEFAULT NULL,
911
  "OrigSpecies" varchar(255) DEFAULT NULL,
912
  "OrigAuth" varchar(250) DEFAULT NULL,
913
  "phenology" varchar(250) DEFAULT NULL,
914
  "canopy_position" varchar(50) DEFAULT NULL,
915
  "canopy_form" varchar(50) DEFAULT NULL,
916
  "liana_infestation" varchar(50) DEFAULT NULL,
917
  "Notes" text,
918
  "temp_dbh" double precision DEFAULT NULL,
919
  "temp_liandbh" double precision DEFAULT NULL,
920
  "tmp_del" char(3) DEFAULT NULL,
921
  PRIMARY KEY ("PlotObsID"),
922
  "PlotID_index" boolean
923
);
924
/*!40101 SET character_set_client = @saved_cs_client */;
925

    
926
--
927
-- Table structure for table "projects"
928
--
929

    
930
DROP TABLE IF EXISTS "projects";
931
/*!40101 SET @saved_cs_client     = @@character_set_client */;
932
/*!40101 SET character_set_client = utf8 */;
933
CREATE TABLE "projects" (
934
  "project_id" integer NOT NULL,
935
  "project_name" varchar(255) NOT NULL DEFAULT '',
936
  "project_pi" varchar(30) NOT NULL DEFAULT '',
937
  "allow_download_all" integer NOT NULL DEFAULT '0',
938
  "ipr_specific" text,
939
  "ipr_specific_updated" date DEFAULT NULL,
940
  PRIMARY KEY ("project_id"),
941
  "project_name_index" boolean,
942
  "on_project_list_index" boolean,
943
  "project_distinct_index" boolean
944
);
945
/*!40101 SET character_set_client = @saved_cs_client */;
946

    
947
--
948
-- Table structure for table "salvias_individuals_kraft"
949
--
950

    
951
DROP TABLE IF EXISTS "salvias_individuals_kraft";
952
/*!40101 SET @saved_cs_client     = @@character_set_client */;
953
/*!40101 SET character_set_client = utf8 */;
954
CREATE TABLE "salvias_individuals_kraft" (
955
  "plot_code" varchar(255) NOT NULL,
956
  "major_geo" varchar(255) NOT NULL,
957
  "country" varchar(255) NOT NULL,
958
  "lat_decimal" varchar(255) NOT NULL,
959
  "long_decimal" varchar(255) NOT NULL,
960
  "elev_m" integer NOT NULL,
961
  "precip_mm" integer NOT NULL,
962
  "holdridge_life_zone" varchar(255) NOT NULL,
963
  "plot_area_ha" float NOT NULL,
964
  "plot.gamma" integer NOT NULL,
965
  "mean.alpha" float NOT NULL,
966
  "obs.beta" float NOT NULL,
967
  "null.mean.beta" float NOT NULL,
968
  "null.sd.beta" float NOT NULL,
969
  "beta.dev" float NOT NULL,
970
  "beta.diff" float NOT NULL,
971
  "ABSlat" float NOT NULL
972
);
973
/*!40101 SET character_set_client = @saved_cs_client */;
974

    
975
--
976
-- Table structure for table "stems"
977
--
978

    
979
DROP TABLE IF EXISTS "stems";
980
/*!40101 SET @saved_cs_client     = @@character_set_client */;
981
/*!40101 SET character_set_client = utf8 */;
982
CREATE TABLE "stems" (
983
  "stem_id" integer NOT NULL,
984
  "origrecord_id_stems" integer DEFAULT NULL,
985
  "PlotObsID" integer DEFAULT NULL,
986
  "NoInd" integer DEFAULT '0',
987
  "basal_diam" double precision DEFAULT NULL,
988
  "stem_dbh" double precision DEFAULT NULL,
989
  "gentry_dbh" double precision DEFAULT NULL,
990
  "stem_notes" text,
991
  "stem_tag1" varchar(20) DEFAULT NULL,
992
  "stem_tag2" varchar(20) DEFAULT NULL,
993
  "stem_height_m" double precision DEFAULT NULL,
994
  "stem_height_first_branch_m" double precision DEFAULT NULL,
995
  "stem_canopy_form" varchar(50) DEFAULT NULL,
996
  "stem_canopy_position" varchar(50) DEFAULT NULL,
997
  "stem_liana_infestation" varchar(50) DEFAULT NULL,
998
  "tmp_del" char(3) DEFAULT NULL,
999
  PRIMARY KEY ("stem_id"),
1000
  "plotobs_id_index" boolean
1001
);
1002
/*!40101 SET character_set_client = @saved_cs_client */;
1003
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1004

    
1005
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
1006
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
1007
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
1008
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1009
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1010
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
1011
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
1012

    
1013
-- Dump completed on 2012-09-05  0:01:40
(3-3/5)