Project

General

Profile

« Previous | Next » 

Revision 7414

Added inputs/FIA/_src/FIADB_version4.accdb and FIADB_version4.sql (created from it using Access To PostgreSQL and the additional transformations at <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/Tools#MS-Access-database-MDB&gt;)

View differences:

inputs/FIA/_src/FIADB_version4.sql
1
-- Dump File
2
--
3
-- Database is ported from MS Access
4
----------------------------------------------------------
5
-- Program Version 3.0.148
6

  
7
CREATE DATABASE "FIADB_version4";
8

  
9
-- NOTICE: At this place you need to connect to the new database and run the rest of the statements.
10

  
11
--
12
-- Table structure for table 'BOUNDARY'
13
--
14

  
15
DROP TABLE IF EXISTS "BOUNDARY";
16

  
17
CREATE TABLE "BOUNDARY" (
18
  "CN" VARCHAR(34), 
19
  "PLT_CN" VARCHAR(34), 
20
  "INVYR" INTEGER, 
21
  "STATECD" INTEGER, 
22
  "UNITCD" INTEGER, 
23
  "COUNTYCD" INTEGER, 
24
  "PLOT" INTEGER, 
25
  "SUBP" INTEGER, 
26
  "SUBPTYP" INTEGER, 
27
  "BNDCHG" INTEGER DEFAULT 0, 
28
  "CONTRAST" INTEGER, 
29
  "AZMLEFT" INTEGER, 
30
  "AZMCORN" INTEGER, 
31
  "DISTCORN" INTEGER DEFAULT 0, 
32
  "AZMRIGHT" INTEGER, 
33
  "CYCLE" INTEGER, 
34
  "SUBCYCLE" INTEGER, 
35
  "CREATED_BY" VARCHAR(30), 
36
  "CREATED_DATE" TIMESTAMP, 
37
  "CREATED_IN_INSTANCE" VARCHAR(50), 
38
  "MODIFIED_BY" VARCHAR(30), 
39
  "MODIFIED_DATE" TIMESTAMP, 
40
  "MODIFIED_IN_INSTANCE" VARCHAR(50)
41
);
42

  
43
--
44
-- Table structure for table 'COND'
45
--
46

  
47
DROP TABLE IF EXISTS "COND";
48

  
49
CREATE TABLE "COND" (
50
  "CN" VARCHAR(34) NOT NULL, 
51
  "PLT_CN" VARCHAR(34), 
52
  "INVYR" INTEGER DEFAULT 0, 
53
  "STATECD" INTEGER DEFAULT 0, 
54
  "UNITCD" INTEGER DEFAULT 0, 
55
  "COUNTYCD" INTEGER DEFAULT 0, 
56
  "PLOT" INTEGER DEFAULT 0, 
57
  "CONDID" INTEGER DEFAULT 0, 
58
  "COND_STATUS_CD" INTEGER DEFAULT 0, 
59
  "COND_NONSAMPLE_REASN_CD" INTEGER DEFAULT 0, 
60
  "RESERVCD" INTEGER DEFAULT 0, 
61
  "OWNCD" INTEGER DEFAULT 0, 
62
  "OWNGRPCD" INTEGER DEFAULT 0, 
63
  "FORINDCD" INTEGER DEFAULT 0, 
64
  "ADFORCD" INTEGER DEFAULT 0, 
65
  "FORTYPCD" INTEGER DEFAULT 0, 
66
  "FLDTYPCD" INTEGER DEFAULT 0, 
67
  "MAPDEN" INTEGER DEFAULT 0, 
68
  "STDAGE" INTEGER DEFAULT 0, 
69
  "STDSZCD" INTEGER DEFAULT 0, 
70
  "FLDSZCD" INTEGER DEFAULT 0, 
71
  "SITECLCD" INTEGER DEFAULT 0, 
72
  "SICOND" INTEGER DEFAULT 0, 
73
  "SIBASE" INTEGER DEFAULT 0, 
74
  "SISP" INTEGER DEFAULT 0, 
75
  "STDORGCD" INTEGER DEFAULT 0, 
76
  "STDORGSP" INTEGER, 
77
  "PROP_BASIS" VARCHAR(12), 
78
  "CONDPROP_UNADJ" FLOAT NULL DEFAULT 0, 
79
  "MICRPROP_UNADJ" FLOAT NULL DEFAULT 0, 
80
  "SUBPPROP_UNADJ" FLOAT NULL DEFAULT 0, 
81
  "MACRPROP_UNADJ" FLOAT NULL DEFAULT 0, 
82
  "SLOPE" INTEGER DEFAULT 0, 
83
  "ASPECT" INTEGER DEFAULT 0, 
84
  "PHYSCLCD" INTEGER DEFAULT 0, 
85
  "GSSTKCD" INTEGER DEFAULT 0, 
86
  "ALSTKCD" INTEGER DEFAULT 0, 
87
  "DSTRBCD1" INTEGER DEFAULT 0, 
88
  "DSTRBYR1" INTEGER DEFAULT 0, 
89
  "DSTRBCD2" INTEGER DEFAULT 0, 
90
  "DSTRBYR2" INTEGER DEFAULT 0, 
91
  "DSTRBCD3" INTEGER DEFAULT 0, 
92
  "DSTRBYR3" INTEGER DEFAULT 0, 
93
  "TRTCD1" INTEGER DEFAULT 0, 
94
  "TRTYR1" INTEGER DEFAULT 0, 
95
  "TRTCD2" INTEGER DEFAULT 0, 
96
  "TRTYR2" INTEGER DEFAULT 0, 
97
  "TRTCD3" INTEGER DEFAULT 0, 
98
  "TRTYR3" INTEGER DEFAULT 0, 
99
  "PRESNFCD" INTEGER DEFAULT 0, 
100
  "BALIVE" DOUBLE PRECISION DEFAULT 0, 
101
  "FLDAGE" INTEGER DEFAULT 0, 
102
  "ALSTK" FLOAT NULL DEFAULT 0, 
103
  "GSSTK" FLOAT NULL DEFAULT 0, 
104
  "FORTYPCDCALC" INTEGER DEFAULT 0, 
105
  "HABTYPCD1" VARCHAR(10), 
106
  "HABTYPCD1_PUB_CD" VARCHAR(10), 
107
  "HABTYPCD1_DESCR_PUB_CD" VARCHAR(10), 
108
  "HABTYPCD2" VARCHAR(10), 
109
  "HABTYPCD2_PUB_CD" VARCHAR(10), 
110
  "HABTYPCD2_DESCR_PUB_CD" VARCHAR(10), 
111
  "MIXEDCONFCD" VARCHAR(1), 
112
  "VOL_LOC_GRP" VARCHAR(200), 
113
  "SITECLCDEST" INTEGER DEFAULT 0, 
114
  "SITETREE_TREE" INTEGER DEFAULT 0, 
115
  "SITECL_METHOD" INTEGER DEFAULT 0, 
116
  "CARBON_DOWN_DEAD" DOUBLE PRECISION DEFAULT 0, 
117
  "CARBON_LITTER" DOUBLE PRECISION DEFAULT 0, 
118
  "CARBON_SOIL_ORG" DOUBLE PRECISION DEFAULT 0, 
119
  "CARBON_STANDING_DEAD" DOUBLE PRECISION DEFAULT 0, 
120
  "CARBON_UNDERSTORY_AG" DOUBLE PRECISION DEFAULT 0, 
121
  "CARBON_UNDERSTORY_BG" DOUBLE PRECISION DEFAULT 0, 
122
  "CREATED_BY" VARCHAR(30), 
123
  "CREATED_DATE" TIMESTAMP, 
124
  "CREATED_IN_INSTANCE" VARCHAR(6), 
125
  "MODIFIED_BY" VARCHAR(30), 
126
  "MODIFIED_DATE" TIMESTAMP, 
127
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
128
  "CYCLE" INTEGER DEFAULT 0, 
129
  "SUBCYCLE" INTEGER DEFAULT 0, 
130
  "SOIL_ROOTING_DEPTH_PNW" VARCHAR(1), 
131
  "GROUND_LAND_CLASS_PNW" VARCHAR(3), 
132
  "PLANT_STOCKABILITY_FACTOR_PNW" DOUBLE PRECISION, 
133
  "STND_COND_CD_PNWRS" INTEGER DEFAULT 0, 
134
  "STND_STRUC_CD_PNWRS" INTEGER DEFAULT 0, 
135
  "STUMP_CD_PNWRS" VARCHAR(1), 
136
  "FIRE_SRS" INTEGER DEFAULT 0, 
137
  "GRAZING_SRS" INTEGER DEFAULT 0, 
138
  "HARVEST_TYPE1_SRS" INTEGER DEFAULT 0, 
139
  "HARVEST_TYPE2_SRS" INTEGER DEFAULT 0, 
140
  "HARVEST_TYPE3_SRS" INTEGER DEFAULT 0, 
141
  "LAND_USE_SRS" INTEGER DEFAULT 0, 
142
  "OPERABILITY_SRS" INTEGER DEFAULT 0, 
143
  "STAND_STRUCTURE_SRS" INTEGER DEFAULT 0, 
144
  "NF_COND_STATUS_CD" INTEGER, 
145
  "NF_COND_NONSAMPLE_REASN_CD" INTEGER, 
146
  "CANOPY_CVR_SAMPLE_METHOD_CD" INTEGER, 
147
  "LIVE_CANOPY_CVR_PCT" INTEGER, 
148
  "LIVE_MISSING_CANOPY_CVR_PCT" INTEGER, 
149
  "NBR_LIVE_STEMS" INTEGER, 
150
  PRIMARY KEY ("CN")
151
);
152

  
153
--
154
-- Table structure for table 'COUNTY'
155
--
156

  
157
DROP TABLE IF EXISTS "COUNTY";
158

  
159
CREATE TABLE "COUNTY" (
160
  "STATECD" INTEGER DEFAULT 0, 
161
  "UNITCD" INTEGER DEFAULT 0, 
162
  "COUNTYCD" INTEGER DEFAULT 0, 
163
  "COUNTYNM" VARCHAR(50), 
164
  "CN" VARCHAR(34), 
165
  "CREATED_BY" VARCHAR(30), 
166
  "CREATED_DATE" TIMESTAMP, 
167
  "CREATED_IN_INSTANCE" VARCHAR(6), 
168
  "MODIFIED_BY" VARCHAR(30), 
169
  "MODIFIED_DATE" TIMESTAMP, 
170
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
171
);
172

  
173
--
174
-- Table structure for table 'DWM_COARSE_WOODY_DEBRIS'
175
--
176

  
177
DROP TABLE IF EXISTS "DWM_COARSE_WOODY_DEBRIS";
178

  
179
CREATE TABLE "DWM_COARSE_WOODY_DEBRIS" (
180
  "CN" VARCHAR(34), 
181
  "PLT_CN" VARCHAR(34), 
182
  "INVYR" INTEGER DEFAULT 0, 
183
  "STATECD" INTEGER DEFAULT 0, 
184
  "COUNTYCD" INTEGER DEFAULT 0, 
185
  "PLOT" INTEGER DEFAULT 0, 
186
  "SUBP" INTEGER DEFAULT 0, 
187
  "TRANSECT" INTEGER DEFAULT 0, 
188
  "CWDID" DOUBLE PRECISION, 
189
  "MEASYEAR" INTEGER DEFAULT 0, 
190
  "SLOPDIST" DOUBLE PRECISION, 
191
  "SPCD" INTEGER DEFAULT 0, 
192
  "DECAYCD" INTEGER DEFAULT 0, 
193
  "TRANSDIA" INTEGER DEFAULT 0, 
194
  "SMALLDIA" INTEGER DEFAULT 0, 
195
  "LARGEDIA" INTEGER DEFAULT 0, 
196
  "LENGTH" INTEGER DEFAULT 0, 
197
  "HOLLOWCD" VARCHAR(1), 
198
  "CWDHSTCD" INTEGER DEFAULT 0, 
199
  "CREATED_BY" VARCHAR(30), 
200
  "CREATED_DATE" TIMESTAMP, 
201
  "CREATED_IN_INSTANCE" VARCHAR(6), 
202
  "MODIFIED_BY" VARCHAR(30), 
203
  "MODIFIED_DATE" TIMESTAMP, 
204
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
205
);
206

  
207
--
208
-- Table structure for table 'DWM_DUFF_LITTER_FUEL'
209
--
210

  
211
DROP TABLE IF EXISTS "DWM_DUFF_LITTER_FUEL";
212

  
213
CREATE TABLE "DWM_DUFF_LITTER_FUEL" (
214
  "CN" VARCHAR(34), 
215
  "PLT_CN" VARCHAR(34), 
216
  "INVYR" INTEGER DEFAULT 0, 
217
  "STATECD" INTEGER DEFAULT 0, 
218
  "COUNTYCD" INTEGER DEFAULT 0, 
219
  "PLOT" INTEGER DEFAULT 0, 
220
  "TRANSECT" INTEGER DEFAULT 0, 
221
  "SUBP" INTEGER DEFAULT 0, 
222
  "SMPLOCCD" INTEGER DEFAULT 0, 
223
  "MEASYEAR" INTEGER DEFAULT 0, 
224
  "SMPLDCD" INTEGER DEFAULT 0, 
225
  "DUFFDEP" DOUBLE PRECISION, 
226
  "LITTDEP" DOUBLE PRECISION, 
227
  "FUELDEP" DOUBLE PRECISION, 
228
  "CREATED_BY" VARCHAR(30), 
229
  "CREATED_DATE" TIMESTAMP, 
230
  "CREATED_IN_INSTANCE" VARCHAR(6), 
231
  "MODIFIED_BY" VARCHAR(30), 
232
  "MODIFIED_DATE" TIMESTAMP, 
233
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
234
);
235

  
236
--
237
-- Table structure for table 'DWM_FINE_WOODY_DEBRIS'
238
--
239

  
240
DROP TABLE IF EXISTS "DWM_FINE_WOODY_DEBRIS";
241

  
242
CREATE TABLE "DWM_FINE_WOODY_DEBRIS" (
243
  "CN" VARCHAR(34), 
244
  "PLT_CN" VARCHAR(34), 
245
  "INVYR" INTEGER DEFAULT 0, 
246
  "STATECD" INTEGER DEFAULT 0, 
247
  "COUNTYCD" INTEGER DEFAULT 0, 
248
  "PLOT" INTEGER DEFAULT 0, 
249
  "TRANSECT" INTEGER DEFAULT 0, 
250
  "SUBP" INTEGER DEFAULT 0, 
251
  "CONDID" INTEGER DEFAULT 0, 
252
  "MEASYEAR" INTEGER DEFAULT 0, 
253
  "SMALLCT" INTEGER DEFAULT 0, 
254
  "MEDIUMCT" INTEGER DEFAULT 0, 
255
  "LARGECT" INTEGER DEFAULT 0, 
256
  "RSNCTCD" INTEGER DEFAULT 0, 
257
  "PILESCD" INTEGER DEFAULT 0, 
258
  "CREATED_BY" VARCHAR(30), 
259
  "CREATED_DATE" TIMESTAMP, 
260
  "CREATED_IN_INSTANCE" VARCHAR(6), 
261
  "MODIFIED_BY" VARCHAR(30), 
262
  "MODIFIED_DATE" TIMESTAMP, 
263
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
264
);
265

  
266
--
267
-- Table structure for table 'DWM_MICROPLOT_FUEL'
268
--
269

  
270
DROP TABLE IF EXISTS "DWM_MICROPLOT_FUEL";
271

  
272
CREATE TABLE "DWM_MICROPLOT_FUEL" (
273
  "CN" VARCHAR(34), 
274
  "PLT_CN" VARCHAR(34), 
275
  "INVYR" INTEGER DEFAULT 0, 
276
  "STATECD" INTEGER DEFAULT 0, 
277
  "COUNTYCD" INTEGER DEFAULT 0, 
278
  "PLOT" INTEGER DEFAULT 0, 
279
  "SUBP" INTEGER DEFAULT 0, 
280
  "MEASYEAR" INTEGER DEFAULT 0, 
281
  "LVSHRBCD" INTEGER DEFAULT 0, 
282
  "DSHRBCD" INTEGER DEFAULT 0, 
283
  "LVHRBCD" INTEGER DEFAULT 0, 
284
  "DHRBCD" INTEGER DEFAULT 0, 
285
  "LITTERCD" DOUBLE PRECISION, 
286
  "LVSHRBHT" DOUBLE PRECISION, 
287
  "DSHRBHT" DOUBLE PRECISION, 
288
  "LVHRBHT" DOUBLE PRECISION, 
289
  "DHRBHT" DOUBLE PRECISION, 
290
  "CREATED_BY" VARCHAR(30), 
291
  "CREATED_DATE" TIMESTAMP, 
292
  "CREATED_IN_INSTANCE" VARCHAR(6), 
293
  "MODIFIED_BY" VARCHAR(30), 
294
  "MODIFIED_DATE" TIMESTAMP, 
295
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
296
);
297

  
298
--
299
-- Table structure for table 'DWM_RESIDUAL_PILE'
300
--
301

  
302
DROP TABLE IF EXISTS "DWM_RESIDUAL_PILE";
303

  
304
CREATE TABLE "DWM_RESIDUAL_PILE" (
305
  "CN" VARCHAR(34), 
306
  "PLT_CN" VARCHAR(34), 
307
  "INVYR" INTEGER DEFAULT 0, 
308
  "STATECD" INTEGER DEFAULT 0, 
309
  "COUNTYCD" INTEGER DEFAULT 0, 
310
  "PLOT" INTEGER DEFAULT 0, 
311
  "SUBP" INTEGER DEFAULT 0, 
312
  "PILE" DOUBLE PRECISION, 
313
  "MEASYEAR" INTEGER DEFAULT 0, 
314
  "CONDID" INTEGER DEFAULT 0, 
315
  "SHAPECD" INTEGER DEFAULT 0, 
316
  "AZIMUTH" INTEGER DEFAULT 0, 
317
  "DENSITY" INTEGER DEFAULT 0, 
318
  "HEIGHT1" INTEGER DEFAULT 0, 
319
  "WIDTH1" INTEGER DEFAULT 0, 
320
  "LENGTH1" INTEGER DEFAULT 0, 
321
  "HEIGHT2" INTEGER DEFAULT 0, 
322
  "WIDTH2" INTEGER DEFAULT 0, 
323
  "LENGTH2" INTEGER DEFAULT 0, 
324
  "CREATED_BY" VARCHAR(30), 
325
  "CREATED_DATE" TIMESTAMP, 
326
  "CREATED_IN_INSTANCE" VARCHAR(6), 
327
  "MODIFIED_BY" VARCHAR(30), 
328
  "MODIFIED_DATE" TIMESTAMP, 
329
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
330
);
331

  
332
--
333
-- Table structure for table 'DWM_TRANSECT_SEGMENT'
334
--
335

  
336
DROP TABLE IF EXISTS "DWM_TRANSECT_SEGMENT";
337

  
338
CREATE TABLE "DWM_TRANSECT_SEGMENT" (
339
  "CN" VARCHAR(34), 
340
  "PLT_CN" VARCHAR(34), 
341
  "INVYR" INTEGER DEFAULT 0, 
342
  "STATECD" INTEGER DEFAULT 0, 
343
  "COUNTYCD" INTEGER DEFAULT 0, 
344
  "PLOT" INTEGER DEFAULT 0, 
345
  "SUBP" INTEGER DEFAULT 0, 
346
  "TRANSECT" INTEGER DEFAULT 0, 
347
  "SEGMNT" INTEGER DEFAULT 0, 
348
  "MEASYEAR" INTEGER DEFAULT 0, 
349
  "CONDID" INTEGER DEFAULT 0, 
350
  "BEGNDIST" DOUBLE PRECISION, 
351
  "ENDDIST" DOUBLE PRECISION, 
352
  "SLOPE" INTEGER, 
353
  "HORIZDIST" DOUBLE PRECISION, 
354
  "CREATED_BY" VARCHAR(30), 
355
  "CREATED_DATE" TIMESTAMP, 
356
  "CREATED_IN_INSTANCE" VARCHAR(6), 
357
  "MODIFIED_BY" VARCHAR(30), 
358
  "MODIFIED_DATE" TIMESTAMP, 
359
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
360
);
361

  
362
--
363
-- Table structure for table 'DWM_VISIT'
364
--
365

  
366
DROP TABLE IF EXISTS "DWM_VISIT";
367

  
368
CREATE TABLE "DWM_VISIT" (
369
  "CN" VARCHAR(34), 
370
  "PLT_CN" VARCHAR(34), 
371
  "INVYR" INTEGER DEFAULT 0, 
372
  "STATECD" INTEGER DEFAULT 0, 
373
  "COUNTYCD" INTEGER DEFAULT 0, 
374
  "PLOT" INTEGER DEFAULT 0, 
375
  "MEASDAY" INTEGER DEFAULT 0, 
376
  "MEASMON" INTEGER DEFAULT 0, 
377
  "MEASYEAR" INTEGER DEFAULT 0, 
378
  "QASTATCD" INTEGER DEFAULT 0, 
379
  "CRWTYPCD" INTEGER DEFAULT 0, 
380
  "SMPKNDCD" INTEGER DEFAULT 0, 
381
  "CREATED_BY" VARCHAR(30), 
382
  "CREATED_DATE" TIMESTAMP, 
383
  "CREATED_IN_INSTANCE" VARCHAR(6), 
384
  "MODIFIED_BY" VARCHAR(30), 
385
  "MODIFIED_DATE" TIMESTAMP, 
386
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
387
);
388

  
389
--
390
-- Table structure for table 'EVALIDATOR_CHANGES'
391
--
392

  
393
DROP TABLE IF EXISTS "EVALIDATOR_CHANGES";
394

  
395
CREATE TABLE "EVALIDATOR_CHANGES" (
396
  "ID" SERIAL NOT NULL, 
397
  "CHANGE_DATE" TIMESTAMP, 
398
  "CHANGE" TEXT, 
399
  PRIMARY KEY ("ID")
400
);
401

  
402
--
403
-- Table structure for table 'LICHEN_LAB'
404
--
405

  
406
DROP TABLE IF EXISTS "LICHEN_LAB";
407

  
408
CREATE TABLE "LICHEN_LAB" (
409
  "CN" VARCHAR(34), 
410
  "PLT_CN" VARCHAR(34), 
411
  "INVYR" INTEGER DEFAULT 0, 
412
  "STATECD" INTEGER DEFAULT 0, 
413
  "COUNTYCD" INTEGER DEFAULT 0, 
414
  "PLOT" INTEGER DEFAULT 0, 
415
  "LICH_SPPCD" INTEGER DEFAULT 0, 
416
  "MEASYEAR" INTEGER DEFAULT 0, 
417
  "ABUNDANCE_CLASS" INTEGER DEFAULT 0, 
418
  "ORIGIN_FLAG" INTEGER DEFAULT 0, 
419
  "SPP_COMMENTS" TEXT, 
420
  "CREATED_BY" VARCHAR(30), 
421
  "CREATED_DATE" TIMESTAMP, 
422
  "CREATED_IN_INSTANCE" VARCHAR(6), 
423
  "MODIFIED_BY" VARCHAR(30), 
424
  "MODIFIED_DATE" TIMESTAMP, 
425
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
426
);
427

  
428
--
429
-- Table structure for table 'LICHEN_PLOT_SUMMARY'
430
--
431

  
432
DROP TABLE IF EXISTS "LICHEN_PLOT_SUMMARY";
433

  
434
CREATE TABLE "LICHEN_PLOT_SUMMARY" (
435
  "CN" VARCHAR(34), 
436
  "PLT_CN" VARCHAR(34), 
437
  "INVYR" INTEGER DEFAULT 0, 
438
  "STATECD" INTEGER DEFAULT 0, 
439
  "COUNTYCD" INTEGER DEFAULT 0, 
440
  "PLOT" INTEGER DEFAULT 0, 
441
  "MEASYEAR" INTEGER DEFAULT 0, 
442
  "SUMMATION" DOUBLE PRECISION DEFAULT 0, 
443
  "RICHNESS" INTEGER DEFAULT 0, 
444
  "EVENNESS" FLOAT NULL DEFAULT 0, 
445
  "DIVERSITY" FLOAT NULL DEFAULT 0, 
446
  "CREATED_BY" VARCHAR(30), 
447
  "CREATED_DATE" TIMESTAMP, 
448
  "CREATED_IN_INSTANCE" VARCHAR(6), 
449
  "MODIFIED_BY" VARCHAR(30), 
450
  "MODIFIED_DATE" TIMESTAMP, 
451
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
452
);
453

  
454
--
455
-- Table structure for table 'LICHEN_SPECIES_SUMMARY'
456
--
457

  
458
DROP TABLE IF EXISTS "LICHEN_SPECIES_SUMMARY";
459

  
460
CREATE TABLE "LICHEN_SPECIES_SUMMARY" (
461
  "CN" VARCHAR(34), 
462
  "INVYR" INTEGER DEFAULT 0, 
463
  "LICHEN_REGION" INTEGER DEFAULT 0, 
464
  "LICH_SPPCD" INTEGER DEFAULT 0, 
465
  "MEASYEAR" INTEGER DEFAULT 0, 
466
  "LICHEN_REGION_DESCR" VARCHAR(80), 
467
  "SPP_ACRONYM" VARCHAR(6), 
468
  "GENUS" VARCHAR(40), 
469
  "SUM_ABUNDANCE" FLOAT NULL DEFAULT 0, 
470
  "FREQUENCY_PCT" INTEGER DEFAULT 0, 
471
  "SPECIES" VARCHAR(50), 
472
  "PLOTS_IN_REGION" INTEGER DEFAULT 0, 
473
  "CREATED_BY" VARCHAR(30), 
474
  "CREATED_DATE" TIMESTAMP, 
475
  "CREATED_IN_INSTANCE" VARCHAR(6), 
476
  "MODIFIED_BY" VARCHAR(30), 
477
  "MODIFIED_DATE" TIMESTAMP, 
478
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
479
);
480

  
481
--
482
-- Table structure for table 'LICHEN_VISIT'
483
--
484

  
485
DROP TABLE IF EXISTS "LICHEN_VISIT";
486

  
487
CREATE TABLE "LICHEN_VISIT" (
488
  "CN" VARCHAR(34), 
489
  "PLT_CN" VARCHAR(34), 
490
  "INVYR" INTEGER DEFAULT 0, 
491
  "STATECD" INTEGER DEFAULT 0, 
492
  "COUNTYCD" INTEGER DEFAULT 0, 
493
  "PLOT" INTEGER DEFAULT 0, 
494
  "MEASDAY" INTEGER DEFAULT 0, 
495
  "MEASMON" INTEGER DEFAULT 0, 
496
  "MEASYEAR" INTEGER DEFAULT 0, 
497
  "LICHEN_STATCD" INTEGER DEFAULT 0, 
498
  "LIPROJCD" INTEGER DEFAULT 0, 
499
  "SMPLSTRT" INTEGER DEFAULT 0, 
500
  "SMPLSTP" INTEGER DEFAULT 0, 
501
  "SMPLTIME" INTEGER DEFAULT 0, 
502
  "SFTWDPCT" INTEGER DEFAULT 0, 
503
  "HRDWDPCT" INTEGER DEFAULT 0, 
504
  "SHRUBPCT" INTEGER DEFAULT 0, 
505
  "GAPPCT" INTEGER DEFAULT 0, 
506
  "GAPRCNT" INTEGER DEFAULT 0, 
507
  "TALLSHRB" INTEGER DEFAULT 0, 
508
  "FTRCD1" DOUBLE PRECISION, 
509
  "FTRCD2" DOUBLE PRECISION, 
510
  "FTRCD3" DOUBLE PRECISION, 
511
  "FTRCD4" DOUBLE PRECISION, 
512
  "ISSUECD1" DOUBLE PRECISION, 
513
  "ISSUECD2" DOUBLE PRECISION, 
514
  "ISSUECD3" DOUBLE PRECISION, 
515
  "ISSUECD4" DOUBLE PRECISION, 
516
  "SZCLSCD1" INTEGER DEFAULT 0, 
517
  "SZCLSCD2" INTEGER DEFAULT 0, 
518
  "SZCLSCD3" INTEGER DEFAULT 0, 
519
  "CREATED_BY" VARCHAR(30), 
520
  "CREATED_DATE" TIMESTAMP, 
521
  "CREATED_IN_INSTANCE" VARCHAR(6), 
522
  "MODIFIED_BY" VARCHAR(30), 
523
  "MODIFIED_DATE" TIMESTAMP, 
524
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
525
);
526

  
527
--
528
-- Table structure for table 'OZONE_BIOSITE_SUMMARY'
529
--
530

  
531
DROP TABLE IF EXISTS "OZONE_BIOSITE_SUMMARY";
532

  
533
CREATE TABLE "OZONE_BIOSITE_SUMMARY" (
534
  "CN" VARCHAR(34), 
535
  "INVYR" INTEGER DEFAULT 0, 
536
  "STATECD" INTEGER DEFAULT 0, 
537
  "COUNTYCD" INTEGER DEFAULT 0, 
538
  "O3PLOT" DOUBLE PRECISION, 
539
  "FIELD_ID" INTEGER DEFAULT 0, 
540
  "LOCATION_CNT" DOUBLE PRECISION, 
541
  "GROUND_LOC_CD" INTEGER DEFAULT 0, 
542
  "MEASYEAR" INTEGER DEFAULT 0, 
543
  "PLANT_INJ_CNT" DOUBLE PRECISION, 
544
  "PLANT_EVAL_CNT" DOUBLE PRECISION, 
545
  "PLANT_RATIO" DOUBLE PRECISION, 
546
  "SPECIES_EVAL_CNT" DOUBLE PRECISION, 
547
  "BIOSITE_INDEX" DOUBLE PRECISION, 
548
  "BIOSITE_INDEX_MULTIPLIER" DOUBLE PRECISION, 
549
  "SVRTY_CLASS_ZERO" DOUBLE PRECISION, 
550
  "SVRTY_CLASS_ONE" DOUBLE PRECISION, 
551
  "SVRTY_CLASS_TWO" DOUBLE PRECISION, 
552
  "SVRTY_CLASS_THREE" DOUBLE PRECISION, 
553
  "SVRTY_CLASS_FOUR" DOUBLE PRECISION, 
554
  "SVRTY_CLASS_FIVE" DOUBLE PRECISION, 
555
  "CREATED_BY" VARCHAR(30), 
556
  "CREATED_DATE" TIMESTAMP, 
557
  "CREATED_IN_INSTANCE" VARCHAR(6), 
558
  "MODIFIED_BY" VARCHAR(30), 
559
  "MODIFIED_DATE" TIMESTAMP, 
560
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
561
);
562

  
563
--
564
-- Table structure for table 'OZONE_PLOT'
565
--
566

  
567
DROP TABLE IF EXISTS "OZONE_PLOT";
568

  
569
CREATE TABLE "OZONE_PLOT" (
570
  "CN" VARCHAR(34), 
571
  "SRV_CN" VARCHAR(34), 
572
  "CTY_CN" VARCHAR(34), 
573
  "INVYR" INTEGER DEFAULT 0, 
574
  "STATECD" INTEGER DEFAULT 0, 
575
  "UNITCD" INTEGER DEFAULT 0, 
576
  "COUNTYCD" INTEGER DEFAULT 0, 
577
  "O3PLOT" DOUBLE PRECISION, 
578
  "FIELD_ID" INTEGER DEFAULT 0, 
579
  "SPLIT_PLOTID" INTEGER DEFAULT 0, 
580
  "MEASYEAR" INTEGER DEFAULT 0, 
581
  "MEASMON" INTEGER DEFAULT 0, 
582
  "MEASDAY" INTEGER DEFAULT 0, 
583
  "LAT" DOUBLE PRECISION DEFAULT 0, 
584
  "LON" DOUBLE PRECISION DEFAULT 0, 
585
  "ELEVATION" DOUBLE PRECISION, 
586
  "MANUAL" FLOAT NULL DEFAULT 0, 
587
  "QA_STATUS" INTEGER DEFAULT 0, 
588
  "CREATED_BY" VARCHAR(30), 
589
  "CREATED_DATE" TIMESTAMP, 
590
  "CREATED_IN_INSTANCE" VARCHAR(6), 
591
  "MODIFIED_BY" VARCHAR(30), 
592
  "MODIFIED_DATE" TIMESTAMP, 
593
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
594
  "CYCLE" INTEGER DEFAULT 0, 
595
  "SUBCYCLE" INTEGER DEFAULT 0
596
);
597

  
598
--
599
-- Table structure for table 'OZONE_PLOT_SUMMARY'
600
--
601

  
602
DROP TABLE IF EXISTS "OZONE_PLOT_SUMMARY";
603

  
604
CREATE TABLE "OZONE_PLOT_SUMMARY" (
605
  "CN" VARCHAR(34), 
606
  "INVYR" INTEGER DEFAULT 0, 
607
  "STATECD" INTEGER DEFAULT 0, 
608
  "COUNTYCD" INTEGER DEFAULT 0, 
609
  "O3PLOT" DOUBLE PRECISION, 
610
  "FIELD_ID" INTEGER DEFAULT 0, 
611
  "SPLIT_PLOTID" INTEGER DEFAULT 0, 
612
  "MEASYEAR" INTEGER DEFAULT 0, 
613
  "SPECIES_EVAL_CNT" DOUBLE PRECISION, 
614
  "BIOSITE_INDEX" DOUBLE PRECISION, 
615
  "ELEV" INTEGER DEFAULT 0, 
616
  "PLTSIZE" DOUBLE PRECISION, 
617
  "ASPECT" INTEGER DEFAULT 0, 
618
  "TERRPOS" DOUBLE PRECISION, 
619
  "SOILDPTH" DOUBLE PRECISION, 
620
  "SOILDRN" DOUBLE PRECISION, 
621
  "PLOTWET" DOUBLE PRECISION, 
622
  "PLTDSTRB" DOUBLE PRECISION, 
623
  "BIOSITE_INDEX_MULTIPLIER" DOUBLE PRECISION, 
624
  "LAT" DOUBLE PRECISION DEFAULT 0, 
625
  "LON" DOUBLE PRECISION DEFAULT 0, 
626
  "CREATED_BY" VARCHAR(30), 
627
  "CREATED_DATE" TIMESTAMP, 
628
  "CREATED_IN_INSTANCE" VARCHAR(6), 
629
  "MODIFIED_BY" VARCHAR(30), 
630
  "MODIFIED_DATE" TIMESTAMP, 
631
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
632
);
633

  
634
--
635
-- Table structure for table 'OZONE_SPECIES_SUMMARY'
636
--
637

  
638
DROP TABLE IF EXISTS "OZONE_SPECIES_SUMMARY";
639

  
640
CREATE TABLE "OZONE_SPECIES_SUMMARY" (
641
  "CN" VARCHAR(34), 
642
  "INVYR" INTEGER DEFAULT 0, 
643
  "STATECD" INTEGER DEFAULT 0, 
644
  "COUNTYCD" INTEGER DEFAULT 0, 
645
  "O3PLOT" DOUBLE PRECISION, 
646
  "FIELD_ID" INTEGER DEFAULT 0, 
647
  "SPLIT_PLOTID" INTEGER DEFAULT 0, 
648
  "GROUND_LOC_CD" INTEGER DEFAULT 0, 
649
  "MEASYEAR" INTEGER DEFAULT 0, 
650
  "BIOSPCD" DOUBLE PRECISION, 
651
  "AMNT_MAX" DOUBLE PRECISION, 
652
  "AMNT_MIN" DOUBLE PRECISION, 
653
  "AMNT_MEAN" DOUBLE PRECISION, 
654
  "SVRTY_MAX" DOUBLE PRECISION, 
655
  "SVRTY_MIN" DOUBLE PRECISION, 
656
  "SVRTY_MEAN" DOUBLE PRECISION, 
657
  "PLANT_INJ_CNT" DOUBLE PRECISION, 
658
  "PLANT_EVAL_CNT" DOUBLE PRECISION, 
659
  "PLANT_RATIO" DOUBLE PRECISION, 
660
  "BIOSPCD_SUM" DOUBLE PRECISION, 
661
  "BIOSPCD_INDEX" DOUBLE PRECISION, 
662
  "ELEV" INTEGER DEFAULT 0, 
663
  "PLTSIZE" DOUBLE PRECISION, 
664
  "ASPECT" INTEGER DEFAULT 0, 
665
  "TERRPOS" DOUBLE PRECISION, 
666
  "SOILDPTH" DOUBLE PRECISION, 
667
  "SOILDRN" DOUBLE PRECISION, 
668
  "PLOTWET" DOUBLE PRECISION, 
669
  "PLTDSTRB" DOUBLE PRECISION, 
670
  "CREATED_BY" VARCHAR(30), 
671
  "CREATED_DATE" TIMESTAMP, 
672
  "CREATED_IN_INSTANCE" VARCHAR(6), 
673
  "MODIFIED_BY" VARCHAR(30), 
674
  "MODIFIED_DATE" TIMESTAMP, 
675
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
676
);
677

  
678
--
679
-- Table structure for table 'OZONE_VALIDATION'
680
--
681

  
682
DROP TABLE IF EXISTS "OZONE_VALIDATION";
683

  
684
CREATE TABLE "OZONE_VALIDATION" (
685
  "CN" VARCHAR(34), 
686
  "PLT_CN" VARCHAR(34), 
687
  "INVYR" INTEGER DEFAULT 0, 
688
  "STATECD" INTEGER DEFAULT 0, 
689
  "COUNTYCD" INTEGER DEFAULT 0, 
690
  "O3PLOT" DOUBLE PRECISION, 
691
  "FIELD_ID" INTEGER DEFAULT 0, 
692
  "SPLIT_PLOTID" INTEGER DEFAULT 0, 
693
  "BIOSPCD" DOUBLE PRECISION, 
694
  "QASTATCD" INTEGER DEFAULT 0, 
695
  "CRWTYPCD" INTEGER DEFAULT 0, 
696
  "LEAFVCHR" DOUBLE PRECISION, 
697
  "INJVALID" DOUBLE PRECISION, 
698
  "O3_STATCD" DOUBLE PRECISION, 
699
  "MEASYEAR" INTEGER DEFAULT 0, 
700
  "CREATED_BY" VARCHAR(30), 
701
  "CREATED_DATE" TIMESTAMP, 
702
  "CREATED_IN_INSTANCE" VARCHAR(6), 
703
  "MODIFIED_BY" VARCHAR(30), 
704
  "MODIFIED_DATE" TIMESTAMP, 
705
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
706
);
707

  
708
--
709
-- Table structure for table 'OZONE_VISIT'
710
--
711

  
712
DROP TABLE IF EXISTS "OZONE_VISIT";
713

  
714
CREATE TABLE "OZONE_VISIT" (
715
  "CN" VARCHAR(34), 
716
  "PLT_CN" VARCHAR(34), 
717
  "INVYR" INTEGER DEFAULT 0, 
718
  "STATECD" INTEGER DEFAULT 0, 
719
  "COUNTYCD" INTEGER DEFAULT 0, 
720
  "O3PLOT" DOUBLE PRECISION, 
721
  "FIELD_ID" INTEGER DEFAULT 0, 
722
  "SPLIT_PLOTID" INTEGER DEFAULT 0, 
723
  "SMPKNDCD" INTEGER DEFAULT 0, 
724
  "MEASDAY" INTEGER DEFAULT 0, 
725
  "MEASMON" INTEGER DEFAULT 0, 
726
  "MEASYEAR" INTEGER DEFAULT 0, 
727
  "PLTSIZE" DOUBLE PRECISION, 
728
  "ASPECT" INTEGER DEFAULT 0, 
729
  "TERRPOS" DOUBLE PRECISION, 
730
  "SOILDPTH" DOUBLE PRECISION, 
731
  "SOILDRN" DOUBLE PRECISION, 
732
  "PLTDSTRB" DOUBLE PRECISION, 
733
  "CRWTYPCD" INTEGER DEFAULT 0, 
734
  "PLOTWET" DOUBLE PRECISION, 
735
  "INJCHECK" INTEGER DEFAULT 0, 
736
  "GRIDDEN" INTEGER DEFAULT 0, 
737
  "CREATED_BY" VARCHAR(30), 
738
  "CREATED_DATE" TIMESTAMP, 
739
  "CREATED_IN_INSTANCE" VARCHAR(6), 
740
  "MODIFIED_BY" VARCHAR(30), 
741
  "MODIFIED_DATE" TIMESTAMP, 
742
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
743
);
744

  
745
--
746
-- Table structure for table 'PLOT'
747
--
748

  
749
DROP TABLE IF EXISTS "PLOT";
750

  
751
CREATE TABLE "PLOT" (
752
  "CN" VARCHAR(34) NOT NULL, 
753
  "SRV_CN" VARCHAR(34), 
754
  "CTY_CN" VARCHAR(34), 
755
  "PREV_PLT_CN" VARCHAR(34), 
756
  "INVYR" INTEGER DEFAULT 0, 
757
  "STATECD" INTEGER DEFAULT 0, 
758
  "UNITCD" INTEGER DEFAULT 0, 
759
  "COUNTYCD" INTEGER DEFAULT 0, 
760
  "PLOT" INTEGER DEFAULT 0, 
761
  "PLOT_STATUS_CD" INTEGER DEFAULT 0, 
762
  "PLOT_NONSAMPLE_REASN_CD" INTEGER DEFAULT 0, 
763
  "MEASYEAR" INTEGER DEFAULT 0, 
764
  "MEASMON" INTEGER DEFAULT 0, 
765
  "MEASDAY" INTEGER DEFAULT 0, 
766
  "REMPER" FLOAT NULL DEFAULT 0, 
767
  "KINDCD" INTEGER DEFAULT 0, 
768
  "DESIGNCD" INTEGER DEFAULT 0, 
769
  "RDDISTCD" INTEGER DEFAULT 0, 
770
  "WATERCD" INTEGER DEFAULT 0, 
771
  "LAT" DOUBLE PRECISION DEFAULT 0, 
772
  "LON" DOUBLE PRECISION DEFAULT 0, 
773
  "ELEV" INTEGER DEFAULT 0, 
774
  "GROW_TYP_CD" INTEGER DEFAULT 0, 
775
  "MORT_TYP_CD" INTEGER DEFAULT 0, 
776
  "P2PANEL" INTEGER DEFAULT 0, 
777
  "P3PANEL" INTEGER DEFAULT 0, 
778
  "ECOSUBCD" VARCHAR(7), 
779
  "CONGCD" INTEGER DEFAULT 0, 
780
  "MANUAL" FLOAT NULL DEFAULT 0, 
781
  "SUBPANEL" INTEGER DEFAULT 0, 
782
  "KINDCD_NC" INTEGER DEFAULT 0, 
783
  "QA_STATUS" INTEGER DEFAULT 0, 
784
  "CREATED_BY" VARCHAR(30), 
785
  "CREATED_DATE" TIMESTAMP, 
786
  "CREATED_IN_INSTANCE" VARCHAR(6), 
787
  "MODIFIED_BY" VARCHAR(30), 
788
  "MODIFIED_DATE" TIMESTAMP, 
789
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
790
  "MICROPLOT_LOC" VARCHAR(12), 
791
  "DECLINATION" FLOAT NULL DEFAULT 0, 
792
  "EMAP_HEX" INTEGER DEFAULT 0, 
793
  "SAMP_METHOD_CD" INTEGER DEFAULT 0, 
794
  "SUBP_EXAMINE_CD" INTEGER DEFAULT 0, 
795
  "MACRO_BREAKPOINT_DIA" INTEGER DEFAULT 0, 
796
  "INTENSITY" VARCHAR(2), 
797
  "CYCLE" INTEGER DEFAULT 0, 
798
  "SUBCYCLE" INTEGER DEFAULT 0, 
799
  "ECO_UNIT_PNW" VARCHAR(10), 
800
  "TOPO_POSITION_PNW" VARCHAR(2), 
801
  "NF_SAMPLING_STATUS_CD" INTEGER, 
802
  "NF_PLOT_STATUS_CD" INTEGER, 
803
  "NF_PLOT_NONSAMPLE_REASN_CD" INTEGER, 
804
  "P2VEG_SAMPLING_STATUS_CD" INTEGER, 
805
  "P2VEG_SAMPLING_LEVEL_DETAIL_CD" INTEGER, 
806
  "INVASIVE_SAMPLING_STATUS_CD" INTEGER, 
807
  "INVASIVE_SPECIMEN_RULE_CD" INTEGER, 
808
  UNIQUE ("STATECD", "INVYR", "UNITCD", "COUNTYCD", "PLOT"), 
809
  PRIMARY KEY ("CN")
810
);
811

  
812
--
813
-- Table structure for table 'PLOTGEOM'
814
--
815

  
816
DROP TABLE IF EXISTS "PLOTGEOM";
817

  
818
CREATE TABLE "PLOTGEOM" (
819
  "CN" VARCHAR(34), 
820
  "STATECD" INTEGER, 
821
  "INVYR" INTEGER, 
822
  "UNITCD" INTEGER, 
823
  "COUNTYCD" INTEGER, 
824
  "PLOT" INTEGER, 
825
  "LAT" DOUBLE PRECISION, 
826
  "LON" DOUBLE PRECISION, 
827
  "CONGCD" INTEGER, 
828
  "ECOSUBCD" VARCHAR(7), 
829
  "HUC" INTEGER, 
830
  "EMAPHEX" INTEGER, 
831
  "FIPSCOUNTY" INTEGER, 
832
  "ROADLESSCD" VARCHAR(4), 
833
  "CREATED_BY" VARCHAR(30), 
834
  "CREATED_DATE" TIMESTAMP, 
835
  "CREATED_IN_INSTANCE" INTEGER DEFAULT 0, 
836
  "MODIFIED_BY" VARCHAR(30), 
837
  "MODIFIED_DATE" TIMESTAMP, 
838
  "MODIFIED_IN_INSTANCE" INTEGER DEFAULT 0, 
839
  "ADFORCD" INTEGER
840
);
841

  
842
--
843
-- Table structure for table 'PLOTSNAP'
844
--
845

  
846
DROP TABLE IF EXISTS "PLOTSNAP";
847

  
848
CREATE TABLE "PLOTSNAP" (
849
  "CN" VARCHAR(34), 
850
  "SRV_CN" VARCHAR(34), 
851
  "CTY_CN" VARCHAR(34), 
852
  "PREV_PLT_CN" VARCHAR(34), 
853
  "INVYR" INTEGER DEFAULT 0, 
854
  "STATECD" INTEGER DEFAULT 0, 
855
  "UNITCD" INTEGER DEFAULT 0, 
856
  "COUNTYCD" INTEGER DEFAULT 0, 
857
  "PLOT" INTEGER DEFAULT 0, 
858
  "PLOT_STATUS_CD" INTEGER DEFAULT 0, 
859
  "PLOT_NONSAMPLE_REASN_CD" INTEGER DEFAULT 0, 
860
  "MEASYEAR" INTEGER DEFAULT 0, 
861
  "MEASMON" INTEGER DEFAULT 0, 
862
  "MEASDAY" INTEGER DEFAULT 0, 
863
  "REMPER" FLOAT NULL DEFAULT 0, 
864
  "KINDCD" INTEGER DEFAULT 0, 
865
  "DESIGNCD" INTEGER DEFAULT 0, 
866
  "RDDISTCD" INTEGER DEFAULT 0, 
867
  "WATERCD" INTEGER DEFAULT 0, 
868
  "LAT" DOUBLE PRECISION DEFAULT 0, 
869
  "LON" DOUBLE PRECISION DEFAULT 0, 
870
  "ELEV" INTEGER DEFAULT 0, 
871
  "GROW_TYP_CD" INTEGER DEFAULT 0, 
872
  "MORT_TYP_CD" INTEGER DEFAULT 0, 
873
  "P2PANEL" INTEGER DEFAULT 0, 
874
  "P3PANEL" INTEGER DEFAULT 0, 
875
  "ECOSUBCD" VARCHAR(7), 
876
  "CONGCD" INTEGER DEFAULT 0, 
877
  "MANUAL" FLOAT NULL DEFAULT 0, 
878
  "SUBPANEL" INTEGER DEFAULT 0, 
879
  "KINDCD_NC" INTEGER DEFAULT 0, 
880
  "QA_STATUS" INTEGER DEFAULT 0, 
881
  "CREATED_BY" VARCHAR(30), 
882
  "CREATED_DATE" TIMESTAMP, 
883
  "CREATED_IN_INSTANCE" VARCHAR(6), 
884
  "MODIFIED_BY" VARCHAR(30), 
885
  "MODIFIED_DATE" TIMESTAMP, 
886
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
887
  "MICROPLOT_LOC" VARCHAR(12), 
888
  "DECLINATION" FLOAT NULL DEFAULT 0, 
889
  "EMAP_HEX" INTEGER DEFAULT 0, 
890
  "SAMP_METHOD_CD" INTEGER DEFAULT 0, 
891
  "SUBP_EXAMINE_CD" INTEGER DEFAULT 0, 
892
  "MACRO_BREAKPOINT_DIA" INTEGER DEFAULT 0, 
893
  "INTENSITY" VARCHAR(2), 
894
  "CYCLE" INTEGER DEFAULT 0, 
895
  "SUBCYCLE" INTEGER DEFAULT 0, 
896
  "ECO_UNIT_PNW" VARCHAR(10), 
897
  "TOPO_POSITION_PNW" VARCHAR(2), 
898
  "EVAL_GRP_CN" VARCHAR(34), 
899
  "EVAL_GRP" INTEGER DEFAULT 0, 
900
  "EXPALL" DOUBLE PRECISION, 
901
  "EXPCURR" DOUBLE PRECISION, 
902
  "EXPVOL" DOUBLE PRECISION, 
903
  "EXPGROW" DOUBLE PRECISION, 
904
  "EXPMORT" DOUBLE PRECISION, 
905
  "EXPREMV" DOUBLE PRECISION, 
906
  "ADJ_EXPALL" DOUBLE PRECISION DEFAULT 0, 
907
  "ADJ_EXPCURR" DOUBLE PRECISION, 
908
  "ADJ_EXPVOL_MACR" DOUBLE PRECISION, 
909
  "ADJ_EXPVOL_SUBP" DOUBLE PRECISION, 
910
  "ADJ_EXPVOL_MICR" DOUBLE PRECISION, 
911
  "ADJ_EXPGROW_MACR" DOUBLE PRECISION, 
912
  "ADJ_EXPGROW_SUBP" DOUBLE PRECISION, 
913
  "ADJ_EXPGROW_MICR" DOUBLE PRECISION, 
914
  "ADJ_EXPMORT_MACR" DOUBLE PRECISION, 
915
  "ADJ_EXPMORT_SUBP" DOUBLE PRECISION, 
916
  "ADJ_EXPMORT_MICR" DOUBLE PRECISION, 
917
  "ADJ_EXPREMV_MACR" DOUBLE PRECISION, 
918
  "ADJ_EXPREMV_SUBP" DOUBLE PRECISION, 
919
  "ADJ_EXPREMV_MICR" DOUBLE PRECISION
920
);
921

  
922
--
923
-- Table structure for table 'POP_ESTN_UNIT'
924
--
925

  
926
DROP TABLE IF EXISTS "POP_ESTN_UNIT";
927

  
928
CREATE TABLE "POP_ESTN_UNIT" (
929
  "CN" VARCHAR(34) NOT NULL, 
930
  "EVAL_CN" VARCHAR(34), 
931
  "RSCD" INTEGER DEFAULT 0, 
932
  "EVALID" INTEGER DEFAULT 0, 
933
  "ESTN_UNIT" INTEGER DEFAULT 0, 
934
  "ESTN_UNIT_DESCR" VARCHAR(255), 
935
  "STATECD" INTEGER DEFAULT 0, 
936
  "AREALAND_EU" DOUBLE PRECISION DEFAULT 0, 
937
  "AREATOT_EU" DOUBLE PRECISION DEFAULT 0, 
938
  "AREA_USED" DOUBLE PRECISION DEFAULT 0, 
939
  "AREA_SOURCE" VARCHAR(50), 
940
  "P1PNTCNT_EU" DOUBLE PRECISION DEFAULT 0, 
941
  "P1SOURCE" VARCHAR(30), 
942
  "CREATED_BY" VARCHAR(30), 
943
  "CREATED_DATE" TIMESTAMP, 
944
  "CREATED_IN_INSTANCE" VARCHAR(6), 
945
  "MODIFIED_BY" VARCHAR(30), 
946
  "MODIFIED_DATE" TIMESTAMP, 
947
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
948
  PRIMARY KEY ("CN")
949
);
950

  
951
--
952
-- Table structure for table 'POP_EVAL'
953
--
954

  
955
DROP TABLE IF EXISTS "POP_EVAL";
956

  
957
CREATE TABLE "POP_EVAL" (
958
  "CN" VARCHAR(34) NOT NULL, 
959
  "RSCD" INTEGER DEFAULT 0, 
960
  "EVALID" INTEGER DEFAULT 0, 
961
  "EVAL_DESCR" VARCHAR(255), 
962
  "STATECD" INTEGER DEFAULT 0, 
963
  "LOCATION_NM" VARCHAR(255), 
964
  "REPORT_YEAR_NM" VARCHAR(255), 
965
  "NOTES" TEXT, 
966
  "CREATED_BY" VARCHAR(30), 
967
  "CREATED_DATE" TIMESTAMP, 
968
  "CREATED_IN_INSTANCE" VARCHAR(6), 
969
  "MODIFIED_BY" VARCHAR(30), 
970
  "MODIFIED_DATE" TIMESTAMP, 
971
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
972
  "START_INVYR" INTEGER DEFAULT 0, 
973
  "END_INVYR" INTEGER DEFAULT 0, 
974
  PRIMARY KEY ("CN")
975
);
976

  
977
--
978
-- Table structure for table 'POP_EVAL_ATTRIBUTE'
979
--
980

  
981
DROP TABLE IF EXISTS "POP_EVAL_ATTRIBUTE";
982

  
983
CREATE TABLE "POP_EVAL_ATTRIBUTE" (
984
  "CN" VARCHAR(34), 
985
  "EVAL_CN" VARCHAR(34), 
986
  "ATTRIBUTE_NBR" INTEGER DEFAULT 0, 
987
  "STATECD" INTEGER DEFAULT 0, 
988
  "CREATED_BY" VARCHAR(30), 
989
  "CREATED_DATE" TIMESTAMP, 
990
  "CREATED_IN_INSTANCE" VARCHAR(6), 
991
  "MODIFIED_BY" VARCHAR(30), 
992
  "MODIFIED_DATE" TIMESTAMP, 
993
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
994
);
995

  
996
--
997
-- Table structure for table 'POP_EVAL_GRP'
998
--
999

  
1000
DROP TABLE IF EXISTS "POP_EVAL_GRP";
1001

  
1002
CREATE TABLE "POP_EVAL_GRP" (
1003
  "CN" VARCHAR(34) NOT NULL, 
1004
  "EVAL_CN_FOR_EXPALL" VARCHAR(34), 
1005
  "EVAL_CN_FOR_EXPCURR" VARCHAR(34), 
1006
  "EVAL_CN_FOR_EXPVOL" VARCHAR(34), 
1007
  "EVAL_CN_FOR_EXPGROW" VARCHAR(34), 
1008
  "EVAL_CN_FOR_EXPMORT" VARCHAR(34), 
1009
  "EVAL_CN_FOR_EXPREMV" VARCHAR(34), 
1010
  "RSCD" INTEGER DEFAULT 0, 
1011
  "EVAL_GRP" INTEGER DEFAULT 0, 
1012
  "EVAL_GRP_DESCR" VARCHAR(255), 
1013
  "STATECD" INTEGER DEFAULT 0, 
1014
  "LAND_ONLY" VARCHAR(1), 
1015
  "CREATED_BY" VARCHAR(30), 
1016
  "CREATED_DATE" TIMESTAMP, 
1017
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1018
  "MODIFIED_BY" VARCHAR(30), 
1019
  "MODIFIED_DATE" TIMESTAMP, 
1020
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
1021
  "NOTES" TEXT, 
1022
  PRIMARY KEY ("CN")
1023
);
1024

  
1025
--
1026
-- Table structure for table 'POP_EVAL_TYP'
1027
--
1028

  
1029
DROP TABLE IF EXISTS "POP_EVAL_TYP";
1030

  
1031
CREATE TABLE "POP_EVAL_TYP" (
1032
  "CN" VARCHAR(34) NOT NULL, 
1033
  "EVAL_GRP_CN" VARCHAR(34), 
1034
  "EVAL_CN" VARCHAR(34), 
1035
  "EVAL_TYP" VARCHAR(15), 
1036
  "STATECD" INTEGER DEFAULT 0, 
1037
  "CREATED_BY" VARCHAR(30), 
1038
  "CREATED_DATE" TIMESTAMP, 
1039
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1040
  "MODIFIED_BY" VARCHAR(30), 
1041
  "MODIFIED_DATE" TIMESTAMP, 
1042
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
1043
  PRIMARY KEY ("CN")
1044
);
1045

  
1046
--
1047
-- Table structure for table 'POP_PLOT_STRATUM_ASSGN'
1048
--
1049

  
1050
DROP TABLE IF EXISTS "POP_PLOT_STRATUM_ASSGN";
1051

  
1052
CREATE TABLE "POP_PLOT_STRATUM_ASSGN" (
1053
  "CN" VARCHAR(34) NOT NULL, 
1054
  "STRATUM_CN" VARCHAR(34), 
1055
  "PLT_CN" VARCHAR(34), 
1056
  "STATECD" INTEGER DEFAULT 0, 
1057
  "INVYR" INTEGER DEFAULT 0, 
1058
  "UNITCD" INTEGER DEFAULT 0, 
1059
  "COUNTYCD" INTEGER DEFAULT 0, 
1060
  "PLOT" INTEGER DEFAULT 0, 
1061
  "RSCD" INTEGER DEFAULT 0, 
1062
  "EVALID" INTEGER DEFAULT 0, 
1063
  "ESTN_UNIT" INTEGER DEFAULT 0, 
1064
  "STRATUMCD" INTEGER DEFAULT 0, 
1065
  "CREATED_BY" VARCHAR(30), 
1066
  "CREATED_DATE" TIMESTAMP, 
1067
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1068
  "MODIFIED_BY" VARCHAR(30), 
1069
  "MODIFIED_DATE" TIMESTAMP, 
1070
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
1071
  PRIMARY KEY ("CN")
1072
);
1073

  
1074
--
1075
-- Table structure for table 'POP_STRATUM'
1076
--
1077

  
1078
DROP TABLE IF EXISTS "POP_STRATUM";
1079

  
1080
CREATE TABLE "POP_STRATUM" (
1081
  "CN" VARCHAR(34) NOT NULL, 
1082
  "ESTN_UNIT_CN" VARCHAR(34), 
1083
  "RSCD" INTEGER DEFAULT 0, 
1084
  "EVALID" INTEGER DEFAULT 0, 
1085
  "ESTN_UNIT" INTEGER DEFAULT 0, 
1086
  "STRATUMCD" INTEGER DEFAULT 0, 
1087
  "STRATUM_DESCR" VARCHAR(255), 
1088
  "STATECD" INTEGER DEFAULT 0, 
1089
  "P1POINTCNT" DOUBLE PRECISION DEFAULT 0, 
1090
  "P2POINTCNT" DOUBLE PRECISION DEFAULT 0, 
1091
  "EXPNS" DOUBLE PRECISION DEFAULT 0, 
1092
  "ADJ_FACTOR_MACR" FLOAT NULL DEFAULT 0, 
1093
  "ADJ_FACTOR_SUBP" FLOAT NULL DEFAULT 0, 
1094
  "ADJ_FACTOR_MICR" FLOAT NULL DEFAULT 0, 
1095
  "CREATED_BY" VARCHAR(30), 
1096
  "CREATED_DATE" TIMESTAMP, 
1097
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1098
  "MODIFIED_BY" VARCHAR(30), 
1099
  "MODIFIED_DATE" TIMESTAMP, 
1100
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
1101
  PRIMARY KEY ("CN")
1102
);
1103

  
1104
--
1105
-- Table structure for table 'ref_attribute_access'
1106
--
1107

  
1108
DROP TABLE IF EXISTS "ref_attribute_access";
1109

  
1110
CREATE TABLE "ref_attribute_access" (
1111
  "ATTRIBUTE_NBR" INTEGER DEFAULT 0, 
1112
  "ATTRIBUTE_DESCR" VARCHAR(255), 
1113
  "VBA_SUMFROMWHERE" TEXT, 
1114
  "PEA_SURROGATE" INTEGER DEFAULT 0, 
1115
  "CONDTREESEED" VARCHAR(50)
1116
);
1117

  
1118
--
1119
-- Table structure for table 'REF_CITATION'
1120
--
1121

  
1122
DROP TABLE IF EXISTS "REF_CITATION";
1123

  
1124
CREATE TABLE "REF_CITATION" (
1125
  "CITATION_NBR" INTEGER DEFAULT 0, 
1126
  "CITATION" TEXT, 
1127
  "CREATED_BY" VARCHAR(30), 
1128
  "CREATED_DATE" TIMESTAMP, 
1129
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1130
  "MODIFIED_BY" VARCHAR(30), 
1131
  "MODIFIED_DATE" TIMESTAMP, 
1132
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1133
);
1134

  
1135
--
1136
-- Table structure for table 'REF_FIADB_VERSION'
1137
--
1138

  
1139
DROP TABLE IF EXISTS "REF_FIADB_VERSION";
1140

  
1141
CREATE TABLE "REF_FIADB_VERSION" (
1142
  "VERSION" VARCHAR(40), 
1143
  "DESCR" TEXT, 
1144
  "CREATED_BY" VARCHAR(30), 
1145
  "CREATED_DATE" TIMESTAMP, 
1146
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1147
  "MODIFIED_BY" VARCHAR(30), 
1148
  "MODIFIED_DATE" TIMESTAMP, 
1149
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
1150
  "INSTALL_TYPE" VARCHAR(10)
1151
);
1152

  
1153
--
1154
-- Table structure for table 'REF_FOREST_TYPE'
1155
--
1156

  
1157
DROP TABLE IF EXISTS "REF_FOREST_TYPE";
1158

  
1159
CREATE TABLE "REF_FOREST_TYPE" (
1160
  "VALUE" INTEGER DEFAULT 0, 
1161
  "MEANING" VARCHAR(80), 
1162
  "TYPGRPCD" INTEGER DEFAULT 0, 
1163
  "MANUAL_START" FLOAT NULL DEFAULT 0, 
1164
  "MANUAL_END" FLOAT NULL DEFAULT 0, 
1165
  "ALLOWED_IN_FIELD" VARCHAR(1), 
1166
  "CREATED_BY" VARCHAR(30), 
1167
  "CREATED_DATE" TIMESTAMP, 
1168
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1169
  "MODIFIED_BY" VARCHAR(30), 
1170
  "MODIFIED_DATE" TIMESTAMP, 
1171
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1172
);
1173

  
1174
--
1175
-- Table structure for table 'REF_HABTYP_DESCRIPTION'
1176
--
1177

  
1178
DROP TABLE IF EXISTS "REF_HABTYP_DESCRIPTION";
1179

  
1180
CREATE TABLE "REF_HABTYP_DESCRIPTION" (
1181
  "CN" VARCHAR(34), 
1182
  "HABTYPCD" VARCHAR(10), 
1183
  "PUB_CD" VARCHAR(10), 
1184
  "SCIENTIFIC_NAME" VARCHAR(115), 
1185
  "COMMON_NAME" VARCHAR(255), 
1186
  "VALID" VARCHAR(1), 
1187
  "CREATED_BY" VARCHAR(30), 
1188
  "CREATED_DATE" TIMESTAMP, 
1189
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1190
  "MODIFIED_BY" VARCHAR(30), 
1191
  "MODIFIED_DATE" TIMESTAMP, 
1192
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1193
);
1194

  
1195
--
1196
-- Table structure for table 'REF_HABTYP_PUBLICATION'
1197
--
1198

  
1199
DROP TABLE IF EXISTS "REF_HABTYP_PUBLICATION";
1200

  
1201
CREATE TABLE "REF_HABTYP_PUBLICATION" (
1202
  "CN" VARCHAR(34), 
1203
  "PUB_CD" VARCHAR(10), 
1204
  "TITLE" VARCHAR(200), 
1205
  "AUTHOR" VARCHAR(200), 
1206
  "TYPE" VARCHAR(10), 
1207
  "VALID" VARCHAR(1), 
1208
  "CREATED_BY" VARCHAR(30), 
1209
  "CREATED_DATE" TIMESTAMP, 
1210
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1211
  "MODIFIED_BY" VARCHAR(30), 
1212
  "MODIFIED_DATE" TIMESTAMP, 
1213
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1214
);
1215

  
1216
--
1217
-- Table structure for table 'REF_LICHEN_SPECIES'
1218
--
1219

  
1220
DROP TABLE IF EXISTS "REF_LICHEN_SPECIES";
1221

  
1222
CREATE TABLE "REF_LICHEN_SPECIES" (
1223
  "LICH_SPPCD" INTEGER DEFAULT 0, 
1224
  "YEARSTART" INTEGER DEFAULT 0, 
1225
  "YEAREND" INTEGER DEFAULT 0, 
1226
  "SPP_ACRONYM" VARCHAR(6), 
1227
  "GENUS" VARCHAR(40), 
1228
  "SPECIES" VARCHAR(50), 
1229
  "CN" VARCHAR(34), 
1230
  "CREATED_BY" VARCHAR(30), 
1231
  "CREATED_DATE" TIMESTAMP, 
1232
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1233
  "MODIFIED_BY" VARCHAR(30), 
1234
  "MODIFIED_DATE" TIMESTAMP, 
1235
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1236
);
1237

  
1238
--
1239
-- Table structure for table 'REF_LICHEN_SPP_COMMENTS'
1240
--
1241

  
1242
DROP TABLE IF EXISTS "REF_LICHEN_SPP_COMMENTS";
1243

  
1244
CREATE TABLE "REF_LICHEN_SPP_COMMENTS" (
1245
  "LICH_SPPCD" INTEGER DEFAULT 0, 
1246
  "SPP_NAME" VARCHAR(80), 
1247
  "YEAREND" INTEGER DEFAULT 0, 
1248
  "YEARSTART" INTEGER DEFAULT 0, 
1249
  "SPP_COMMENTS" TEXT, 
1250
  "CN" VARCHAR(34), 
1251
  "CREATED_BY" VARCHAR(30), 
1252
  "CREATED_DATE" TIMESTAMP, 
1253
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1254
  "MODIFIED_BY" VARCHAR(30), 
1255
  "MODIFIED_DATE" TIMESTAMP, 
1256
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1257
);
1258

  
1259
--
1260
-- Table structure for table 'REF_PLANT_DICTIONARY'
1261
--
1262

  
1263
DROP TABLE IF EXISTS "REF_PLANT_DICTIONARY";
1264

  
1265
CREATE TABLE "REF_PLANT_DICTIONARY" (
1266
  "CN" VARCHAR(34), 
1267
  "SYMBOL_TYPE" VARCHAR(20), 
1268
  "SYMBOL" VARCHAR(16), 
1269
  "SCIENTIFIC_NAME" VARCHAR(100), 
1270
  "NEW_SYMBOL" VARCHAR(16), 
1271
  "NEW_SCIENTIFIC_NAME" VARCHAR(100), 
1272
  "COMMON_NAME" VARCHAR(100), 
1273
  "CATEGORY" VARCHAR(15), 
1274
  "FAMILY" VARCHAR(25), 
1275
  "GROWTH_HABIT" VARCHAR(50), 
1276
  "DURATION" VARCHAR(50), 
1277
  "US_NATIVITY" VARCHAR(50), 
1278
  "STATE_DISTRIBUTION" TEXT, 
1279
  "XGENUS" VARCHAR(1), 
1280
  "GENUS" VARCHAR(20), 
1281
  "XSPECIES" VARCHAR(1), 
1282
  "SPECIES" VARCHAR(50), 
1283
  "SSP" VARCHAR(4), 
1284
  "SUBSPECIES" VARCHAR(30), 
1285
  "VAR" VARCHAR(4), 
1286
  "VARIETY" VARCHAR(30), 
1287
  "MANUAL_START" FLOAT NULL DEFAULT 0, 
1288
  "MANUAL_END" FLOAT NULL DEFAULT 0, 
1289
  "CREATED_BY" VARCHAR(30), 
1290
  "CREATED_DATE" TIMESTAMP, 
1291
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1292
  "MODIFIED_BY" VARCHAR(30), 
1293
  "MODIFIED_DATE" TIMESTAMP, 
1294
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1295
);
1296

  
1297
--
1298
-- Table structure for table 'REF_POP_ATTRIBUTE'
1299
--
1300

  
1301
DROP TABLE IF EXISTS "REF_POP_ATTRIBUTE";
1302

  
1303
CREATE TABLE "REF_POP_ATTRIBUTE" (
1304
  "CN" VARCHAR(34), 
1305
  "ATTRIBUTE_NBR" INTEGER DEFAULT 0, 
1306
  "ATTRIBUTE_DESCR" VARCHAR(255), 
1307
  "EXPRESSION" TEXT, 
1308
  "WHERE_CLAUSE" VARCHAR(255), 
1309
  "CREATED_BY" VARCHAR(30), 
1310
  "CREATED_DATE" TIMESTAMP, 
1311
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1312
  "MODIFIED_BY" VARCHAR(30), 
1313
  "MODIFIED_DATE" TIMESTAMP, 
1314
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
1315
  "FOOTNOTE" TEXT
1316
);
1317

  
1318
--
1319
-- Table structure for table 'REF_POP_EVAL_TYP_DESCR'
1320
--
1321

  
1322
DROP TABLE IF EXISTS "REF_POP_EVAL_TYP_DESCR";
1323

  
1324
CREATE TABLE "REF_POP_EVAL_TYP_DESCR" (
1325
  "CN" VARCHAR(34), 
1326
  "EVAL_TYP" VARCHAR(15), 
1327
  "EVAL_TYP_DESCR" VARCHAR(255), 
1328
  "CREATED_BY" VARCHAR(30), 
1329
  "CREATED_DATE" TIMESTAMP, 
1330
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1331
  "MODIFIED_BY" VARCHAR(30), 
1332
  "MODIFIED_DATE" TIMESTAMP, 
1333
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1334
);
1335

  
1336
--
1337
-- Table structure for table 'REF_PRC'
1338
--
1339

  
1340
DROP TABLE IF EXISTS "REF_PRC";
1341

  
1342
CREATE TABLE "REF_PRC" (
1343
  "CLASSNBR" INTEGER DEFAULT 0, 
1344
  "CONDTREESEED" VARCHAR(50), 
1345
  "CLASSNM" VARCHAR(50), 
1346
  "FUNCTIONNM" VARCHAR(255), 
1347
  "PAGECLASS" VARCHAR(50), 
1348
  "ROWCLASS" VARCHAR(50), 
1349
  "COLCLASS" VARCHAR(50), 
1350
  UNIQUE ("CLASSNBR")
1351
);
1352

  
1353
--
1354
-- Table structure for table 'REF_RSCDEVALID'
1355
--
1356

  
1357
DROP TABLE IF EXISTS "REF_RSCDEVALID";
1358

  
1359
CREATE TABLE "REF_RSCDEVALID" (
1360
  "rscdEvalid" INTEGER, 
1361
  "rscdEvalidLabel" VARCHAR(255)
1362
);
1363

  
1364
--
1365
-- Table structure for table 'REF_SPECIES'
1366
--
1367

  
1368
DROP TABLE IF EXISTS "REF_SPECIES";
1369

  
1370
CREATE TABLE "REF_SPECIES" (
1371
  "SPCD" INTEGER, 
1372
  "COMMON_NAME" VARCHAR(100), 
1373
  "GENUS" VARCHAR(40), 
1374
  "SPECIES" VARCHAR(50), 
1375
  "VARIETY" VARCHAR(50), 
1376
  "SUBSPECIES" VARCHAR(50), 
1377
  "SPECIES_SYMBOL" VARCHAR(8), 
1378
  "E_SPGRPCD" INTEGER DEFAULT 0, 
1379
  "W_SPGRPCD" INTEGER DEFAULT 0, 
1380
  "MAJOR_SPGRPCD" INTEGER DEFAULT 0, 
1381
  "STOCKING_SPGRPCD" INTEGER DEFAULT 0, 
1382
  "FOREST_TYPE_SPGRPCD" INTEGER DEFAULT 0, 
1383
  "EXISTS_IN_NCRS" VARCHAR(1), 
1384
  "EXISTS_IN_NERS" VARCHAR(1), 
1385
  "EXISTS_IN_PNWRS" VARCHAR(1), 
1386
  "EXISTS_IN_RMRS" VARCHAR(1), 
1387
  "EXISTS_IN_SRS" VARCHAR(1), 
1388
  "SITETREE" VARCHAR(1), 
1389
  "SFTWD_HRDWD" VARCHAR(1), 
1390
  "ST_EXISTS_IN_NCRS" VARCHAR(1), 
1391
  "ST_EXISTS_IN_NERS" VARCHAR(1), 
1392
  "ST_EXISTS_IN_PNWRS" VARCHAR(1), 
1393
  "ST_EXISTS_IN_RMRS" VARCHAR(1), 
1394
  "ST_EXISTS_IN_SRS" VARCHAR(1), 
1395
  "EAST" VARCHAR(1), 
1396
  "WEST" VARCHAR(1), 
1397
  "WOODLAND" VARCHAR(1), 
1398
  "MANUAL_START" FLOAT NULL DEFAULT 0, 
1399
  "MANUAL_END" FLOAT NULL DEFAULT 0, 
1400
  "CREATED_BY" VARCHAR(30), 
1401
  "CREATED_DATE" TIMESTAMP, 
1402
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1403
  "MODIFIED_BY" VARCHAR(30), 
1404
  "MODIFIED_DATE" TIMESTAMP, 
1405
  "MODIFIED_IN_INSTANCE" VARCHAR(6), 
1406
  "CORE" VARCHAR(1), 
1407
  "JENKINS_SPGRPCD" INTEGER DEFAULT 0, 
1408
  "JENKINS_TOTAL_B1" DOUBLE PRECISION DEFAULT 0, 
1409
  "JENKINS_TOTAL_B2" DOUBLE PRECISION DEFAULT 0, 
1410
  "JENKINS_STEM_WOOD_RATIO_B1" DOUBLE PRECISION DEFAULT 0, 
1411
  "JENKINS_STEM_WOOD_RATIO_B2" DOUBLE PRECISION DEFAULT 0, 
1412
  "JENKINS_STEM_BARK_RATIO_B1" DOUBLE PRECISION DEFAULT 0, 
1413
  "JENKINS_STEM_BARK_RATIO_B2" DOUBLE PRECISION DEFAULT 0, 
1414
  "JENKINS_FOLIAGE_RATIO_B1" DOUBLE PRECISION DEFAULT 0, 
1415
  "JENKINS_FOLIAGE_RATIO_B2" DOUBLE PRECISION DEFAULT 0, 
1416
  "JENKINS_ROOT_RATIO_B1" DOUBLE PRECISION DEFAULT 0, 
1417
  "JENKINS_ROOT_RATIO_B2" DOUBLE PRECISION DEFAULT 0, 
1418
  "JENKINS_SAPLING_ADJUSTMENT" DOUBLE PRECISION DEFAULT 0, 
1419
  "WOOD_SPGR_GREENVOL_DRYWT" DOUBLE PRECISION DEFAULT 0, 
1420
  "WOOD_SPGR_GREENVOL_DRYWT_CIT" INTEGER DEFAULT 0, 
1421
  "BARK_SPGR_GREENVOL_DRYWT" DOUBLE PRECISION DEFAULT 0, 
1422
  "BARK_SPGR_GREENVOL_DRYWT_CIT" INTEGER DEFAULT 0, 
1423
  "MC_PCT_GREEN_WOOD" DOUBLE PRECISION DEFAULT 0, 
1424
  "MC_PCT_GREEN_WOOD_CIT" INTEGER DEFAULT 0, 
1425
  "MC_PCT_GREEN_BARK" DOUBLE PRECISION DEFAULT 0, 
1426
  "MC_PCT_GREEN_BARK_CIT" INTEGER DEFAULT 0, 
1427
  "WOOD_SPGR_MC12VOL_DRYWT" DOUBLE PRECISION DEFAULT 0, 
1428
  "WOOD_SPGR_MC12VOL_DRYWT_CIT" INTEGER DEFAULT 0, 
1429
  "BARK_VOL_PCT" DOUBLE PRECISION DEFAULT 0, 
1430
  "BARK_VOL_PCT_CIT" INTEGER DEFAULT 0, 
1431
  "RAILE_STUMP_DOB_B1" DOUBLE PRECISION, 
1432
  "RAILE_STUMP_DIB_B1" DOUBLE PRECISION, 
1433
  "RAILE_STUMP_DIB_B2" DOUBLE PRECISION
1434
);
1435

  
1436
--
1437
-- Table structure for table 'REF_SPECIES_GROUP'
1438
--
1439

  
1440
DROP TABLE IF EXISTS "REF_SPECIES_GROUP";
1441

  
1442
CREATE TABLE "REF_SPECIES_GROUP" (
1443
  "SPGRPCD" INTEGER DEFAULT 0, 
1444
  "NAME" VARCHAR(35), 
1445
  "REGION" VARCHAR(8), 
1446
  "CLASS" VARCHAR(8), 
1447
  "CREATED_BY" VARCHAR(30), 
1448
  "CREATED_DATE" TIMESTAMP, 
1449
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1450
  "MODIFIED_BY" VARCHAR(30), 
1451
  "MODIFIED_DATE" TIMESTAMP, 
1452
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1453
);
1454

  
1455
--
1456
-- Table structure for table 'REF_STATE_ELEV'
1457
--
1458

  
1459
DROP TABLE IF EXISTS "REF_STATE_ELEV";
1460

  
1461
CREATE TABLE "REF_STATE_ELEV" (
1462
  "STATECD" INTEGER DEFAULT 0, 
1463
  "MIN_ELEV" INTEGER DEFAULT 0, 
1464
  "MAX_ELEV" INTEGER DEFAULT 0, 
1465
  "LOWEST_POINT" VARCHAR(30), 
1466
  "HIGHEST_POINT" VARCHAR(30), 
1467
  "CREATED_BY" VARCHAR(30), 
1468
  "CREATED_DATE" TIMESTAMP, 
1469
  "CREATED_IN_INSTANCE" VARCHAR(6), 
1470
  "MODIFIED_BY" VARCHAR(30), 
1471
  "MODIFIED_DATE" TIMESTAMP, 
1472
  "MODIFIED_IN_INSTANCE" VARCHAR(6)
1473
);
1474

  
1475
--
1476
-- Table structure for table 'ref_stcty'
1477
--
1478

  
1479
DROP TABLE IF EXISTS "ref_stcty";
1480

  
1481
CREATE TABLE "ref_stcty" (
1482
  "STCTY" DOUBLE PRECISION NOT NULL, 
1483
  "STCTYLABEL" VARCHAR(255), 
1484
  PRIMARY KEY ("STCTY")
1485
);
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff