Project

General

Profile

« Previous | Next » 

Revision 4432

Added inputs/SALVIAS/_MySQL/

View differences:

inputs/SALVIAS/_MySQL/salvias_plots.schema.sql
1
-- MySQL dump 10.13  Distrib 5.5.24, for debian-linux-gnu (x86_64)
2
--
3
-- Host: localhost    Database: salvias_plots
4
-- ------------------------------------------------------
5
-- Server version	5.5.24-0ubuntu0.12.04.1
6

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  
929
DROP TABLE IF EXISTS "projects";
930
/*!40101 SET @saved_cs_client     = @@character_set_client */;
931
/*!40101 SET character_set_client = utf8 */;
932
CREATE TABLE "projects" (
933
  "project_id" int(11) NOT NULL,
934
  "project_name" varchar(255) NOT NULL DEFAULT '',
935
  "project_pi" varchar(30) NOT NULL DEFAULT '',
936
  "allow_download_all" tinyint(1) NOT NULL DEFAULT '0',
937
  "ipr_specific" longtext,
938
  "ipr_specific_updated" date DEFAULT NULL,
939
  PRIMARY KEY ("project_id"),
940
  KEY "project_name" ("project_name"),
941
  KEY "on_project_list" ("allow_download_all"),
942
  KEY "project_distinct" ("project_id","project_name","project_pi")
943
);
944
/*!40101 SET character_set_client = @saved_cs_client */;
945

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

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

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

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

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

  
1012
-- Dump completed on 2012-09-05  0:01:40
inputs/SALVIAS/_MySQL/salvias_plots.data.sql.make
1
#!/bin/sh
2
ssh nimoy mysqldump --compatible=postgresql --add-locks=false --set-charset \
3
--no-create-info --lock-tables=false --password salvias_plots
0 4

  
inputs/SALVIAS/_MySQL/salvias_plots.schema.sql.make
1
#!/bin/sh
2
ssh nimoy mysqldump --compatible=postgresql --add-locks=false --set-charset \
3
--no-data --lock-tables=false --password salvias_plots
0 4

  

Also available in: Unified diff