Project

General

Profile

1
-- MySQL dump 10.13  Distrib 5.5.32, for debian-linux-gnu (x86_64)
2
--
3
-- Host: localhost    Database: VegCore
4
-- ------------------------------------------------------
5
-- Server version	5.5.32-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 utf8 */;
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' */;
16
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17

    
18
--
19
-- Table structure for table `aggregate_observation`
20
--
21

    
22
/*!40101 SET @saved_cs_client     = @@character_set_client */;
23
/*!40101 SET character_set_client = utf8 */;
24
CREATE TABLE `aggregate_observation` (
25
  `id` varbinary(767) NOT NULL,
26
  `traits` set('hstore') COLLATE utf8_bin DEFAULT NULL,
27
  PRIMARY KEY (`id`),
28
  CONSTRAINT `fk_aggregate_observation_taxon_presence1` FOREIGN KEY (`id`) REFERENCES `taxon_presence` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
29
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"An observation applying to all occurrences of an organism based on an aggregation factor" ("VegX":http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/aggregateOrganismObservations/aggregateOrganismObservation)';
30
/*!40101 SET character_set_client = @saved_cs_client */;
31

    
32
--
33
-- Dumping data for table `aggregate_observation`
34
--
35

    
36
/*!40000 ALTER TABLE `aggregate_observation` DISABLE KEYS */;
37
/*!40000 ALTER TABLE `aggregate_observation` ENABLE KEYS */;
38

    
39
--
40
-- Table structure for table `base_class`
41
--
42

    
43
/*!40101 SET @saved_cs_client     = @@character_set_client */;
44
/*!40101 SET character_set_client = utf8 */;
45
CREATE TABLE `base_class` (
46
  `id` varbinary(767) NOT NULL,
47
  `referenced_class` varbinary(767) NOT NULL,
48
  PRIMARY KEY (`id`),
49
  KEY `fk_base_class_referenced_class1_idx` (`referenced_class`),
50
  CONSTRAINT `fk_base_class_referenced_class1` FOREIGN KEY (`referenced_class`) REFERENCES `referenced_class` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
51
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
52
/*!40101 SET character_set_client = @saved_cs_client */;
53

    
54
--
55
-- Dumping data for table `base_class`
56
--
57

    
58
/*!40000 ALTER TABLE `base_class` DISABLE KEYS */;
59
/*!40000 ALTER TABLE `base_class` ENABLE KEYS */;
60

    
61
--
62
-- Table structure for table `collection`
63
--
64

    
65
/*!40101 SET @saved_cs_client     = @@character_set_client */;
66
/*!40101 SET character_set_client = utf8 */;
67
CREATE TABLE `collection` (
68
  `id` varbinary(767) NOT NULL,
69
  `institution` varbinary(767) NOT NULL,
70
  `name` varbinary(767) NOT NULL,
71
  PRIMARY KEY (`id`),
72
  UNIQUE KEY `collection_unique` (`institution`,`name`),
73
  KEY `fk_collection_organization1_idx` (`institution`),
74
  KEY `fk_collection_source1_idx` (`id`),
75
  CONSTRAINT `fk_collection_source1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
76
  CONSTRAINT `fk_collection_organization1` FOREIGN KEY (`institution`) REFERENCES `organization` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
77
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"the collection within the institution where a specimen is held" ("Brad Boyle":https://projects.nceas.ucsb.edu/nceas/attachments/download/621/vegbien_identifier_examples.xlsx#terms/collectionCode)';
78
/*!40101 SET character_set_client = @saved_cs_client */;
79

    
80
--
81
-- Dumping data for table `collection`
82
--
83

    
84
/*!40000 ALTER TABLE `collection` DISABLE KEYS */;
85
/*!40000 ALTER TABLE `collection` ENABLE KEYS */;
86

    
87
--
88
-- Table structure for table `community`
89
--
90

    
91
/*!40101 SET @saved_cs_client     = @@character_set_client */;
92
/*!40101 SET character_set_client = utf8 */;
93
CREATE TABLE `community` (
94
  `id` varbinary(767) NOT NULL,
95
  `name` varbinary(767) NOT NULL,
96
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
97
  PRIMARY KEY (`id`),
98
  CONSTRAINT `fk_community_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
99
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"A community type is an abstract grouping of organisms that tend to co-occur on the landscape due to shared ecological requirements or preferences. May be designated by syntaxon or physiognomic types." ([[VegCore#VegX|VegX]])';
100
/*!40101 SET character_set_client = @saved_cs_client */;
101

    
102
--
103
-- Dumping data for table `community`
104
--
105

    
106
/*!40000 ALTER TABLE `community` DISABLE KEYS */;
107
/*!40000 ALTER TABLE `community` ENABLE KEYS */;
108

    
109
--
110
-- Table structure for table `derived_class`
111
--
112

    
113
/*!40101 SET @saved_cs_client     = @@character_set_client */;
114
/*!40101 SET character_set_client = utf8 */;
115
CREATE TABLE `derived_class` (
116
  `id` varbinary(767) NOT NULL,
117
  PRIMARY KEY (`id`),
118
  CONSTRAINT `fk_derived_class_base_class1` FOREIGN KEY (`id`) REFERENCES `base_class` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
119
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
120
/*!40101 SET character_set_client = @saved_cs_client */;
121

    
122
--
123
-- Dumping data for table `derived_class`
124
--
125

    
126
/*!40000 ALTER TABLE `derived_class` DISABLE KEYS */;
127
/*!40000 ALTER TABLE `derived_class` ENABLE KEYS */;
128

    
129
--
130
-- Table structure for table `event`
131
--
132

    
133
/*!40101 SET @saved_cs_client     = @@character_set_client */;
134
/*!40101 SET character_set_client = utf8 */;
135
CREATE TABLE `event` (
136
  `id` varbinary(767) NOT NULL,
137
  `parent` varbinary(767) NOT NULL,
138
  `name` varbinary(767) DEFAULT NULL,
139
  `date_range` varbinary(767) DEFAULT NULL,
140
  `place` varbinary(767) DEFAULT NULL,
141
  `participants` varbinary(767) DEFAULT NULL,
142
  PRIMARY KEY (`id`),
143
  KEY `fk_event_place1_idx` (`place`),
144
  KEY `fk_event1_idx` (`parent`),
145
  KEY `fk_event_party_list1_idx` (`participants`),
146
  CONSTRAINT `fk_event_party_list1` FOREIGN KEY (`participants`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
147
  CONSTRAINT `fk_event1` FOREIGN KEY (`parent`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
148
  CONSTRAINT `fk_event_place1` FOREIGN KEY (`place`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
149
  CONSTRAINT `fk_event_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
150
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"an action that occurs at a place and during a period of time" ("DwC":http://rs.tdwg.org/dwc/terms/#Event)';
151
/*!40101 SET character_set_client = @saved_cs_client */;
152

    
153
--
154
-- Dumping data for table `event`
155
--
156

    
157
/*!40000 ALTER TABLE `event` DISABLE KEYS */;
158
/*!40000 ALTER TABLE `event` ENABLE KEYS */;
159

    
160
--
161
-- Table structure for table `geological_context`
162
--
163

    
164
/*!40101 SET @saved_cs_client     = @@character_set_client */;
165
/*!40101 SET character_set_client = utf8 */;
166
CREATE TABLE `geological_context` (
167
  `id` varbinary(767) NOT NULL,
168
  `name` varbinary(767) NOT NULL,
169
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
170
  PRIMARY KEY (`id`),
171
  CONSTRAINT `fk_geological_context_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
172
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"information pertaining to a location within a geological context, such as stratigraphy" ("DwC":http://rs.tdwg.org/dwc/terms/#GeologicalContext)';
173
/*!40101 SET character_set_client = @saved_cs_client */;
174

    
175
--
176
-- Dumping data for table `geological_context`
177
--
178

    
179
/*!40000 ALTER TABLE `geological_context` DISABLE KEYS */;
180
/*!40000 ALTER TABLE `geological_context` ENABLE KEYS */;
181

    
182
--
183
-- Table structure for table `geopath`
184
--
185

    
186
/*!40101 SET @saved_cs_client     = @@character_set_client */;
187
/*!40101 SET character_set_client = utf8 */;
188
CREATE TABLE `geopath` (
189
  `id` varbinary(767) NOT NULL,
190
  `continent` varbinary(767) DEFAULT NULL,
191
  `country` varbinary(767) DEFAULT NULL,
192
  `state_province` varbinary(767) DEFAULT NULL,
193
  `county` varbinary(767) DEFAULT NULL,
194
  `municipality` varbinary(767) DEFAULT NULL,
195
  `ranks` set('hstore') COLLATE utf8_bin DEFAULT NULL,
196
  PRIMARY KEY (`id`)
197
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A named region';
198
/*!40101 SET character_set_client = @saved_cs_client */;
199

    
200
--
201
-- Dumping data for table `geopath`
202
--
203

    
204
/*!40000 ALTER TABLE `geopath` DISABLE KEYS */;
205
/*!40000 ALTER TABLE `geopath` ENABLE KEYS */;
206

    
207
--
208
-- Table structure for table `geoplace`
209
--
210

    
211
/*!40101 SET @saved_cs_client     = @@character_set_client */;
212
/*!40101 SET character_set_client = utf8 */;
213
CREATE TABLE `geoplace` (
214
  `id` varbinary(767) NOT NULL,
215
  `latitude_deg` varbinary(767) NOT NULL,
216
  `longitude_deg` varbinary(767) NOT NULL,
217
  `footprint_geom_WKT` varbinary(767) NOT NULL DEFAULT 'point',
218
  PRIMARY KEY (`id`),
219
  CONSTRAINT `fk_geoplace_place1` FOREIGN KEY (`id`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
220
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A numerically-defined point';
221
/*!40101 SET character_set_client = @saved_cs_client */;
222

    
223
--
224
-- Dumping data for table `geoplace`
225
--
226

    
227
/*!40000 ALTER TABLE `geoplace` DISABLE KEYS */;
228
/*!40000 ALTER TABLE `geoplace` ENABLE KEYS */;
229

    
230
--
231
-- Table structure for table `georeferencing`
232
--
233

    
234
/*!40101 SET @saved_cs_client     = @@character_set_client */;
235
/*!40101 SET character_set_client = utf8 */;
236
CREATE TABLE `georeferencing` (
237
  `id` varbinary(767) NOT NULL,
238
  `input_place` varbinary(767) NOT NULL,
239
  `georeferenced_by` varbinary(767) DEFAULT NULL,
240
  `geoplace` varbinary(767) DEFAULT NULL,
241
  PRIMARY KEY (`id`),
242
  KEY `fk_georef_place1_idx` (`input_place`),
243
  KEY `fk_georeferencing_party_list1_idx` (`georeferenced_by`),
244
  KEY `fk_georeferencing_geoplace1_idx` (`geoplace`),
245
  CONSTRAINT `fk_georeferencing_geoplace1` FOREIGN KEY (`geoplace`) REFERENCES `geoplace` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
246
  CONSTRAINT `fk_georeferencing_party_list1` FOREIGN KEY (`georeferenced_by`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
247
  CONSTRAINT `fk_georef_place1` FOREIGN KEY (`input_place`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
248
  CONSTRAINT `fk_geovalidation_record100` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
249
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='also stored GNRS results';
250
/*!40101 SET character_set_client = @saved_cs_client */;
251

    
252
--
253
-- Dumping data for table `georeferencing`
254
--
255

    
256
/*!40000 ALTER TABLE `georeferencing` DISABLE KEYS */;
257
/*!40000 ALTER TABLE `georeferencing` ENABLE KEYS */;
258

    
259
--
260
-- Table structure for table `geovalidation`
261
--
262

    
263
/*!40101 SET @saved_cs_client     = @@character_set_client */;
264
/*!40101 SET character_set_client = utf8 */;
265
CREATE TABLE `geovalidation` (
266
  `id` varbinary(767) NOT NULL,
267
  `input_geoplace` varbinary(767) NOT NULL,
268
  `corrected_geoplace` varbinary(767) DEFAULT NULL,
269
  `geovalid` tinyint(1) NOT NULL,
270
  `lat_long_domain_valid` tinyint(1) NOT NULL,
271
  `lat_long_in_place_ranks` set('hstore') COLLATE utf8_bin DEFAULT NULL,
272
  PRIMARY KEY (`id`),
273
  KEY `fk_geovalidation_geoplace1_idx` (`input_geoplace`),
274
  KEY `fk_geovalidation_geoplace2_idx` (`corrected_geoplace`),
275
  CONSTRAINT `fk_geovalidation_geoplace1` FOREIGN KEY (`input_geoplace`) REFERENCES `scrubbed_geoplace` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
276
  CONSTRAINT `fk_geovalidation_geoplace2` FOREIGN KEY (`corrected_geoplace`) REFERENCES `scrubbed_geoplace` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
277
  CONSTRAINT `fk_geovalidation_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
278
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='The accuracy of the [[VegCore#Coordinates|Coordinates]], taking into account the [[VegCore#Placename|Placename]]';
279
/*!40101 SET character_set_client = @saved_cs_client */;
280

    
281
--
282
-- Dumping data for table `geovalidation`
283
--
284

    
285
/*!40000 ALTER TABLE `geovalidation` DISABLE KEYS */;
286
/*!40000 ALTER TABLE `geovalidation` ENABLE KEYS */;
287

    
288
--
289
-- Table structure for table `individual`
290
--
291

    
292
/*!40101 SET @saved_cs_client     = @@character_set_client */;
293
/*!40101 SET character_set_client = utf8 */;
294
CREATE TABLE `individual` (
295
  `id` varbinary(767) NOT NULL,
296
  `tag` varbinary(767) DEFAULT NULL,
297
  `tag_history` set('hstore') COLLATE utf8_bin DEFAULT NULL,
298
  PRIMARY KEY (`id`),
299
  CONSTRAINT `fk_individual_record1` FOREIGN KEY (`id`) REFERENCES `reobservable` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
300
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A distinct biological organism';
301
/*!40101 SET character_set_client = @saved_cs_client */;
302

    
303
--
304
-- Dumping data for table `individual`
305
--
306

    
307
/*!40000 ALTER TABLE `individual` DISABLE KEYS */;
308
/*!40000 ALTER TABLE `individual` ENABLE KEYS */;
309

    
310
--
311
-- Table structure for table `individual_observation`
312
--
313

    
314
/*!40101 SET @saved_cs_client     = @@character_set_client */;
315
/*!40101 SET character_set_client = utf8 */;
316
CREATE TABLE `individual_observation` (
317
  `id` varbinary(767) NOT NULL,
318
  `individual` varbinary(767) DEFAULT NULL,
319
  `code` varbinary(767) DEFAULT NULL,
320
  `traits` set('hstore') COLLATE utf8_bin DEFAULT NULL,
321
  PRIMARY KEY (`id`),
322
  KEY `fk_individual_observation_individual1_idx` (`individual`),
323
  CONSTRAINT `fk_individual_observation_individual1` FOREIGN KEY (`individual`) REFERENCES `individual` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
324
  CONSTRAINT `fk_individual_observation_taxon_occurrence1` FOREIGN KEY (`id`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
325
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of an [[VegCore#Individual|Individual]]';
326
/*!40101 SET character_set_client = @saved_cs_client */;
327

    
328
--
329
-- Dumping data for table `individual_observation`
330
--
331

    
332
/*!40000 ALTER TABLE `individual_observation` DISABLE KEYS */;
333
/*!40000 ALTER TABLE `individual_observation` ENABLE KEYS */;
334

    
335
--
336
-- Table structure for table `method`
337
--
338

    
339
/*!40101 SET @saved_cs_client     = @@character_set_client */;
340
/*!40101 SET character_set_client = utf8 */;
341
CREATE TABLE `method` (
342
  `id` varbinary(767) NOT NULL,
343
  `parent` varbinary(767) NOT NULL,
344
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
345
  PRIMARY KEY (`id`),
346
  KEY `fk_method_method1_idx` (`parent`),
347
  CONSTRAINT `fk_method_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
348
  CONSTRAINT `fk_method_method1` FOREIGN KEY (`parent`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
349
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"A specific method definition followed in the creation of the dataset. Each method links to a protocol and literature citation reference. A protocol may have many method or steps." ("VegX":http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/methods/method)';
350
/*!40101 SET character_set_client = @saved_cs_client */;
351

    
352
--
353
-- Dumping data for table `method`
354
--
355

    
356
/*!40000 ALTER TABLE `method` DISABLE KEYS */;
357
/*!40000 ALTER TABLE `method` ENABLE KEYS */;
358

    
359
--
360
-- Table structure for table `organization`
361
--
362

    
363
/*!40101 SET @saved_cs_client     = @@character_set_client */;
364
/*!40101 SET character_set_client = utf8 */;
365
CREATE TABLE `organization` (
366
  `id` varbinary(767) NOT NULL,
367
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
368
  PRIMARY KEY (`id`),
369
  CONSTRAINT `fk_organization_party1` FOREIGN KEY (`id`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
370
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
371
/*!40101 SET character_set_client = @saved_cs_client */;
372

    
373
--
374
-- Dumping data for table `organization`
375
--
376

    
377
/*!40000 ALTER TABLE `organization` DISABLE KEYS */;
378
/*!40000 ALTER TABLE `organization` ENABLE KEYS */;
379

    
380
--
381
-- Table structure for table `party`
382
--
383

    
384
/*!40101 SET @saved_cs_client     = @@character_set_client */;
385
/*!40101 SET character_set_client = utf8 */;
386
CREATE TABLE `party` (
387
  `id` varbinary(767) NOT NULL,
388
  `organization` varbinary(767) DEFAULT NULL,
389
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
390
  PRIMARY KEY (`id`),
391
  KEY `fk_party_organization1_idx` (`organization`),
392
  CONSTRAINT `fk_party_organization1` FOREIGN KEY (`organization`) REFERENCES `organization` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
393
  CONSTRAINT `fk_collection_source10` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
394
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
395
/*!40101 SET character_set_client = @saved_cs_client */;
396

    
397
--
398
-- Dumping data for table `party`
399
--
400

    
401
/*!40000 ALTER TABLE `party` DISABLE KEYS */;
402
/*!40000 ALTER TABLE `party` ENABLE KEYS */;
403

    
404
--
405
-- Table structure for table `party_list`
406
--
407

    
408
/*!40101 SET @saved_cs_client     = @@character_set_client */;
409
/*!40101 SET character_set_client = utf8 */;
410
CREATE TABLE `party_list` (
411
  `id` varbinary(767) NOT NULL,
412
  `count` int(11) NOT NULL,
413
  PRIMARY KEY (`id`),
414
  CONSTRAINT `fk_collection_source100` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
415
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
416
/*!40101 SET character_set_client = @saved_cs_client */;
417

    
418
--
419
-- Dumping data for table `party_list`
420
--
421

    
422
/*!40000 ALTER TABLE `party_list` DISABLE KEYS */;
423
/*!40000 ALTER TABLE `party_list` ENABLE KEYS */;
424

    
425
--
426
-- Table structure for table `party_list_entry`
427
--
428

    
429
/*!40101 SET @saved_cs_client     = @@character_set_client */;
430
/*!40101 SET character_set_client = utf8 */;
431
CREATE TABLE `party_list_entry` (
432
  `id` varbinary(767) NOT NULL,
433
  `entry` varbinary(767) NOT NULL,
434
  `sort_order` int(11) DEFAULT NULL,
435
  PRIMARY KEY (`id`,`entry`),
436
  KEY `fk_party_list_has_party_party1_idx` (`entry`),
437
  KEY `fk_party_list_has_party_party_list1_idx` (`id`),
438
  CONSTRAINT `fk_party_list_has_party_party_list1` FOREIGN KEY (`id`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
439
  CONSTRAINT `fk_party_list_has_party_party1` FOREIGN KEY (`entry`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
440
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
441
/*!40101 SET character_set_client = @saved_cs_client */;
442

    
443
--
444
-- Dumping data for table `party_list_entry`
445
--
446

    
447
/*!40000 ALTER TABLE `party_list_entry` DISABLE KEYS */;
448
/*!40000 ALTER TABLE `party_list_entry` ENABLE KEYS */;
449

    
450
--
451
-- Table structure for table `place`
452
--
453

    
454
/*!40101 SET @saved_cs_client     = @@character_set_client */;
455
/*!40101 SET character_set_client = utf8 */;
456
CREATE TABLE `place` (
457
  `id` varbinary(767) NOT NULL,
458
  `parent` varbinary(767) DEFAULT NULL,
459
  `rank` varbinary(767) DEFAULT NULL,
460
  `name` varbinary(767) DEFAULT NULL,
461
  `geopath` varbinary(767) DEFAULT NULL,
462
  `locality` varbinary(767) DEFAULT NULL,
463
  `verbatim` set('hstore') COLLATE utf8_bin DEFAULT NULL COMMENT 'for verbatim coordinates, etc.',
464
  PRIMARY KEY (`id`),
465
  KEY `fk_place1_idx` (`parent`),
466
  KEY `fk_place_geopath1_idx` (`geopath`),
467
  CONSTRAINT `fk_place1` FOREIGN KEY (`parent`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
468
  CONSTRAINT `fk_place_geopath1` FOREIGN KEY (`geopath`) REFERENCES `geopath` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
469
  CONSTRAINT `fk_place_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
470
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"A spatial region" ("DwC":http://rs.tdwg.org/dwc/terms/#dcterms:Location) or point';
471
/*!40101 SET character_set_client = @saved_cs_client */;
472

    
473
--
474
-- Dumping data for table `place`
475
--
476

    
477
/*!40000 ALTER TABLE `place` DISABLE KEYS */;
478
/*!40000 ALTER TABLE `place` ENABLE KEYS */;
479

    
480
--
481
-- Table structure for table `place_observation`
482
--
483

    
484
/*!40101 SET @saved_cs_client     = @@character_set_client */;
485
/*!40101 SET character_set_client = utf8 */;
486
CREATE TABLE `place_observation` (
487
  `id` varbinary(767) NOT NULL,
488
  `place` varbinary(767) NOT NULL,
489
  `elevation_m` double DEFAULT NULL,
490
  `slope_incline_deg` double DEFAULT NULL,
491
  `slope_direction_deg_N` double DEFAULT NULL,
492
  `geological_context` varbinary(767) DEFAULT NULL,
493
  `community` varbinary(767) DEFAULT NULL,
494
  `observations` set('hstore') COLLATE utf8_bin DEFAULT NULL,
495
  PRIMARY KEY (`id`),
496
  KEY `fk_place_observation_place1_idx` (`place`),
497
  KEY `fk_place_observation_geological_context1_idx` (`geological_context`),
498
  KEY `fk_place_observation_community1_idx` (`community`),
499
  CONSTRAINT `fk_place_observation_place1` FOREIGN KEY (`place`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
500
  CONSTRAINT `fk_place_observation_geological_context1` FOREIGN KEY (`geological_context`) REFERENCES `geological_context` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
501
  CONSTRAINT `fk_place_observation_community1` FOREIGN KEY (`community`) REFERENCES `community` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
502
  CONSTRAINT `fk_place_observation_sampling_event1` FOREIGN KEY (`id`) REFERENCES `sampling_event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
503
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A sampling of a [[VegCore#Location|Location]]';
504
/*!40101 SET character_set_client = @saved_cs_client */;
505

    
506
--
507
-- Dumping data for table `place_observation`
508
--
509

    
510
/*!40000 ALTER TABLE `place_observation` DISABLE KEYS */;
511
/*!40000 ALTER TABLE `place_observation` ENABLE KEYS */;
512

    
513
--
514
-- Table structure for table `plot`
515
--
516

    
517
/*!40101 SET @saved_cs_client     = @@character_set_client */;
518
/*!40101 SET character_set_client = utf8 */;
519
CREATE TABLE `plot` (
520
  `id` varbinary(767) NOT NULL,
521
  `name` varbinary(767) DEFAULT NULL,
522
  `area_m2` double DEFAULT NULL,
523
  `shape` varbinary(767) DEFAULT NULL,
524
  `bounding_box_rect` varbinary(767) DEFAULT NULL,
525
  `footprint_geom_WKT` varbinary(767) DEFAULT NULL,
526
  `dimensions` set('hstore') COLLATE utf8_bin DEFAULT NULL,
527
  PRIMARY KEY (`id`),
528
  CONSTRAINT `fk_subplot_place1` FOREIGN KEY (`id`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
529
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
530
/*!40101 SET character_set_client = @saved_cs_client */;
531

    
532
--
533
-- Dumping data for table `plot`
534
--
535

    
536
/*!40000 ALTER TABLE `plot` DISABLE KEYS */;
537
/*!40000 ALTER TABLE `plot` ENABLE KEYS */;
538

    
539
--
540
-- Table structure for table `project`
541
--
542

    
543
/*!40101 SET @saved_cs_client     = @@character_set_client */;
544
/*!40101 SET character_set_client = utf8 */;
545
CREATE TABLE `project` (
546
  `id` varbinary(767) NOT NULL,
547
  `name` varbinary(767) NOT NULL,
548
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
549
  PRIMARY KEY (`id`),
550
  CONSTRAINT `fk_project_event1` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
551
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A "project established to collect vegetation plot data. Each plot originates as part of a project." ("VegBank":http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=project&entity=dba_tabledescription&where=where_tablename)';
552
/*!40101 SET character_set_client = @saved_cs_client */;
553

    
554
--
555
-- Dumping data for table `project`
556
--
557

    
558
/*!40000 ALTER TABLE `project` DISABLE KEYS */;
559
/*!40000 ALTER TABLE `project` ENABLE KEYS */;
560

    
561
--
562
-- Table structure for table `record`
563
--
564

    
565
/*!40101 SET @saved_cs_client     = @@character_set_client */;
566
/*!40101 SET character_set_client = utf8 */;
567
CREATE TABLE `record` (
568
  `id` varbinary(767) NOT NULL,
569
  `source` varbinary(767) NOT NULL,
570
  `source_id_scope` varbinary(767) DEFAULT NULL,
571
  `source_record_id` varbinary(767) DEFAULT NULL,
572
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
573
  PRIMARY KEY (`id`),
574
  UNIQUE KEY `record_unique` (`source`,`source_id_scope`,`source_record_id`),
575
  KEY `fk_record_source1_idx` (`source`),
576
  CONSTRAINT `fk_record_source1` FOREIGN KEY (`source`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
577
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
578
/*!40101 SET character_set_client = @saved_cs_client */;
579

    
580
--
581
-- Dumping data for table `record`
582
--
583

    
584
/*!40000 ALTER TABLE `record` DISABLE KEYS */;
585
/*!40000 ALTER TABLE `record` ENABLE KEYS */;
586

    
587
--
588
-- Table structure for table `referenced_class`
589
--
590

    
591
/*!40101 SET @saved_cs_client     = @@character_set_client */;
592
/*!40101 SET character_set_client = utf8 */;
593
CREATE TABLE `referenced_class` (
594
  `id` varbinary(767) NOT NULL,
595
  PRIMARY KEY (`id`),
596
  CONSTRAINT `fk_example_record10` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
597
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
598
/*!40101 SET character_set_client = @saved_cs_client */;
599

    
600
--
601
-- Dumping data for table `referenced_class`
602
--
603

    
604
/*!40000 ALTER TABLE `referenced_class` DISABLE KEYS */;
605
/*!40000 ALTER TABLE `referenced_class` ENABLE KEYS */;
606

    
607
--
608
-- Table structure for table `relationship`
609
--
610

    
611
/*!40101 SET @saved_cs_client     = @@character_set_client */;
612
/*!40101 SET character_set_client = utf8 */;
613
CREATE TABLE `relationship` (
614
  `id` varbinary(767) NOT NULL,
615
  `record` varbinary(767) NOT NULL,
616
  `related_record` varbinary(767) NOT NULL,
617
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
618
  PRIMARY KEY (`id`),
619
  KEY `fk_relationship_record1_idx` (`record`),
620
  KEY `fk_relationship_related_record_idx` (`related_record`),
621
  CONSTRAINT `fk_relationship_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
622
  CONSTRAINT `fk_relationship_record2` FOREIGN KEY (`record`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
623
  CONSTRAINT `fk_relationship_related_record` FOREIGN KEY (`related_record`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
624
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"information pertaining to relationships between resources (instances of data records, such as Occurrences, Taxa, Locations, Events)" ("DwC":http://rs.tdwg.org/dwc/terms/#ResourceRelationship)';
625
/*!40101 SET character_set_client = @saved_cs_client */;
626

    
627
--
628
-- Dumping data for table `relationship`
629
--
630

    
631
/*!40000 ALTER TABLE `relationship` DISABLE KEYS */;
632
/*!40000 ALTER TABLE `relationship` ENABLE KEYS */;
633

    
634
--
635
-- Table structure for table `reobservable`
636
--
637

    
638
/*!40101 SET @saved_cs_client     = @@character_set_client */;
639
/*!40101 SET character_set_client = utf8 */;
640
CREATE TABLE `reobservable` (
641
  `id` varbinary(767) NOT NULL,
642
  `current_determination` varbinary(767) DEFAULT NULL,
643
  `original_determination` varbinary(767) DEFAULT NULL,
644
  PRIMARY KEY (`id`),
645
  KEY `fk_taxon_occurrence_taxon_determination1_idx` (`original_determination`),
646
  KEY `fk_taxon_occurrence_taxon_determination2_idx` (`current_determination`),
647
  CONSTRAINT `fk_taxon_occurrence_taxon_determination1` FOREIGN KEY (`original_determination`) REFERENCES `taxon_determination` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
648
  CONSTRAINT `fk_taxon_occurrence_taxon_determination2` FOREIGN KEY (`current_determination`) REFERENCES `taxon_determination` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
649
  CONSTRAINT `fk_taxon_occurrence_event1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
650
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Any entity on which [[VegCore#TaxonDetermination|TaxonDetermination]]s can be made';
651
/*!40101 SET character_set_client = @saved_cs_client */;
652

    
653
--
654
-- Dumping data for table `reobservable`
655
--
656

    
657
/*!40000 ALTER TABLE `reobservable` DISABLE KEYS */;
658
/*!40000 ALTER TABLE `reobservable` ENABLE KEYS */;
659

    
660
--
661
-- Table structure for table `sampling_event`
662
--
663

    
664
/*!40101 SET @saved_cs_client     = @@character_set_client */;
665
/*!40101 SET character_set_client = utf8 */;
666
CREATE TABLE `sampling_event` (
667
  `id` varbinary(767) NOT NULL,
668
  `method` varbinary(767) DEFAULT NULL,
669
  PRIMARY KEY (`id`),
670
  KEY `fk_sampling_event_method1_idx` (`method`),
671
  CONSTRAINT `fk_sampling_event_method1` FOREIGN KEY (`method`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
672
  CONSTRAINT `fk_project_event10` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
673
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
674
/*!40101 SET character_set_client = @saved_cs_client */;
675

    
676
--
677
-- Dumping data for table `sampling_event`
678
--
679

    
680
/*!40000 ALTER TABLE `sampling_event` DISABLE KEYS */;
681
/*!40000 ALTER TABLE `sampling_event` ENABLE KEYS */;
682

    
683
--
684
-- Table structure for table `scrubbed_geoplace`
685
--
686

    
687
/*!40101 SET @saved_cs_client     = @@character_set_client */;
688
/*!40101 SET character_set_client = utf8 */;
689
CREATE TABLE `scrubbed_geoplace` (
690
  `id` varbinary(767) NOT NULL,
691
  `parent_geoplace` varbinary(767) NOT NULL,
692
  PRIMARY KEY (`id`),
693
  KEY `fk_geoplace_geoplace1_idx` (`parent_geoplace`),
694
  CONSTRAINT `fk_geoplace_geoplace1` FOREIGN KEY (`parent_geoplace`) REFERENCES `scrubbed_geoplace` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
695
  CONSTRAINT `fk_nested_geoplace_geoplace1` FOREIGN KEY (`id`) REFERENCES `geoplace` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
696
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='stores only scrubbed geoplaces (GADM places, and distinct point coordinates that GNRS says should be located within them)';
697
/*!40101 SET character_set_client = @saved_cs_client */;
698

    
699
--
700
-- Dumping data for table `scrubbed_geoplace`
701
--
702

    
703
/*!40000 ALTER TABLE `scrubbed_geoplace` DISABLE KEYS */;
704
/*!40000 ALTER TABLE `scrubbed_geoplace` ENABLE KEYS */;
705

    
706
--
707
-- Table structure for table `soil_observation`
708
--
709

    
710
/*!40101 SET @saved_cs_client     = @@character_set_client */;
711
/*!40101 SET character_set_client = utf8 */;
712
CREATE TABLE `soil_observation` (
713
  `id` varbinary(767) NOT NULL,
714
  `observations` set('hstore') COLLATE utf8_bin DEFAULT NULL,
715
  PRIMARY KEY (`id`),
716
  CONSTRAINT `fk_soil_observation_place_observation1` FOREIGN KEY (`id`) REFERENCES `place_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
717
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A sampling of a [[VegCore#Location|Location]]''s soil';
718
/*!40101 SET character_set_client = @saved_cs_client */;
719

    
720
--
721
-- Dumping data for table `soil_observation`
722
--
723

    
724
/*!40000 ALTER TABLE `soil_observation` DISABLE KEYS */;
725
/*!40000 ALTER TABLE `soil_observation` ENABLE KEYS */;
726

    
727
--
728
-- Table structure for table `source`
729
--
730

    
731
/*!40101 SET @saved_cs_client     = @@character_set_client */;
732
/*!40101 SET character_set_client = utf8 */;
733
CREATE TABLE `source` (
734
  `id` varbinary(767) NOT NULL,
735
  `parent` varbinary(767) NOT NULL,
736
  `name` varbinary(767) NOT NULL,
737
  `first_publisher` varbinary(767) DEFAULT NULL,
738
  `owner` varbinary(767) DEFAULT NULL,
739
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
740
  PRIMARY KEY (`id`),
741
  UNIQUE KEY `source_unique` (`parent`,`name`),
742
  KEY `fk_source1_idx` (`parent`),
743
  KEY `fk_source_party1_idx` (`owner`),
744
  KEY `fk_source_party2_idx` (`first_publisher`),
745
  CONSTRAINT `fk_source1` FOREIGN KEY (`parent`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
746
  CONSTRAINT `fk_source_party1` FOREIGN KEY (`owner`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
747
  CONSTRAINT `fk_source_party2` FOREIGN KEY (`first_publisher`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
748
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='a "reference [...] cited within the database" ("VegBank":http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=reference&entity=dba_tabledescription&where=where_tablename)';
749
/*!40101 SET character_set_client = @saved_cs_client */;
750

    
751
--
752
-- Dumping data for table `source`
753
--
754

    
755
/*!40000 ALTER TABLE `source` DISABLE KEYS */;
756
/*!40000 ALTER TABLE `source` ENABLE KEYS */;
757

    
758
--
759
-- Table structure for table `specimen`
760
--
761

    
762
/*!40101 SET @saved_cs_client     = @@character_set_client */;
763
/*!40101 SET character_set_client = utf8 */;
764
CREATE TABLE `specimen` (
765
  `id` varbinary(767) NOT NULL,
766
  `individual` varbinary(767) DEFAULT NULL,
767
  `code_in_individual` varbinary(767) DEFAULT NULL,
768
  `collection_event` varbinary(767) DEFAULT NULL,
769
  `orig_collection` varbinary(767) DEFAULT NULL,
770
  `barcode` varbinary(767) DEFAULT NULL,
771
  `accession_number` varbinary(767) DEFAULT NULL,
772
  `specimenholder_institutions` varbinary(767) DEFAULT NULL,
773
  `current_collection` varbinary(767) DEFAULT NULL,
774
  `owner_collection` varbinary(767) DEFAULT NULL,
775
  PRIMARY KEY (`id`),
776
  UNIQUE KEY `specimen_unique_in_individual` (`individual`,`code_in_individual`),
777
  UNIQUE KEY `specimen_unique_by_collection_event` (`collection_event`),
778
  UNIQUE KEY `specimen_unique_in_collection_by_barcode` (`orig_collection`,`barcode`),
779
  UNIQUE KEY `specimen_unique_in_collection_by_accession_number` (`orig_collection`,`accession_number`),
780
  KEY `fk_specimen_collection1_idx` (`orig_collection`),
781
  KEY `fk_specimen_taxon_observation1_idx` (`collection_event`),
782
  KEY `fk_specimen_individual1_idx` (`individual`),
783
  KEY `fk_specimen_collection2_idx` (`current_collection`),
784
  KEY `fk_specimen_organization3_idx` (`owner_collection`),
785
  KEY `fk_specimen_party_list1_idx` (`specimenholder_institutions`),
786
  CONSTRAINT `fk_specimen_organization3` FOREIGN KEY (`owner_collection`) REFERENCES `collection` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
787
  CONSTRAINT `fk_specimen_taxon_observation1` FOREIGN KEY (`collection_event`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
788
  CONSTRAINT `fk_specimen_individual1` FOREIGN KEY (`individual`) REFERENCES `individual` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
789
  CONSTRAINT `fk_specimen_collection2` FOREIGN KEY (`current_collection`) REFERENCES `collection` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
790
  CONSTRAINT `fk_specimen_party_list1` FOREIGN KEY (`specimenholder_institutions`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
791
  CONSTRAINT `fk_specimen_collection1` FOREIGN KEY (`orig_collection`) REFERENCES `collection` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
792
  CONSTRAINT `fk_specimen_taxon_occurrence1` FOREIGN KEY (`id`) REFERENCES `reobservable` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
793
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A "part of a plant" ("Wikipedia":http://en.wikipedia.org/wiki/Specimen) which was collected from it';
794
/*!40101 SET character_set_client = @saved_cs_client */;
795

    
796
--
797
-- Dumping data for table `specimen`
798
--
799

    
800
/*!40000 ALTER TABLE `specimen` DISABLE KEYS */;
801
/*!40000 ALTER TABLE `specimen` ENABLE KEYS */;
802

    
803
--
804
-- Table structure for table `specimen_observation`
805
--
806

    
807
/*!40101 SET @saved_cs_client     = @@character_set_client */;
808
/*!40101 SET character_set_client = utf8 */;
809
CREATE TABLE `specimen_observation` (
810
  `id` varbinary(767) NOT NULL,
811
  `specimen` varbinary(767) NOT NULL,
812
  `description` varbinary(767) DEFAULT NULL,
813
  `traits` set('hstore') COLLATE utf8_bin DEFAULT NULL,
814
  PRIMARY KEY (`id`),
815
  KEY `fk_specimen_observation_specimen1_idx` (`specimen`),
816
  CONSTRAINT `fk_specimen_taxon_occurrence10` FOREIGN KEY (`id`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
817
  CONSTRAINT `fk_specimen_observation_specimen1` FOREIGN KEY (`specimen`) REFERENCES `specimen` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
818
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
819
/*!40101 SET character_set_client = @saved_cs_client */;
820

    
821
--
822
-- Dumping data for table `specimen_observation`
823
--
824

    
825
/*!40000 ALTER TABLE `specimen_observation` DISABLE KEYS */;
826
/*!40000 ALTER TABLE `specimen_observation` ENABLE KEYS */;
827

    
828
--
829
-- Table structure for table `stem`
830
--
831

    
832
/*!40101 SET @saved_cs_client     = @@character_set_client */;
833
/*!40101 SET character_set_client = utf8 */;
834
CREATE TABLE `stem` (
835
  `id` varbinary(767) NOT NULL,
836
  `individual` varbinary(767) DEFAULT NULL,
837
  PRIMARY KEY (`id`),
838
  KEY `fk_stem_individual1_idx` (`individual`),
839
  CONSTRAINT `fk_stem_individual1` FOREIGN KEY (`individual`) REFERENCES `individual` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
840
  CONSTRAINT `fk_stem_individual2` FOREIGN KEY (`id`) REFERENCES `individual` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
841
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An "individual tree stem" ("VegBank":http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemlocation&entity=dba_tabledescription&where=where_tablename)';
842
/*!40101 SET character_set_client = @saved_cs_client */;
843

    
844
--
845
-- Dumping data for table `stem`
846
--
847

    
848
/*!40000 ALTER TABLE `stem` DISABLE KEYS */;
849
/*!40000 ALTER TABLE `stem` ENABLE KEYS */;
850

    
851
--
852
-- Table structure for table `stem_observation`
853
--
854

    
855
/*!40101 SET @saved_cs_client     = @@character_set_client */;
856
/*!40101 SET character_set_client = utf8 */;
857
CREATE TABLE `stem_observation` (
858
  `id` varbinary(767) NOT NULL,
859
  `individual_observation` varbinary(767) DEFAULT NULL,
860
  `stem` varbinary(767) DEFAULT NULL,
861
  `traits` set('hstore') COLLATE utf8_bin DEFAULT NULL,
862
  PRIMARY KEY (`id`),
863
  UNIQUE KEY `stem_observation_unique` (`individual_observation`,`stem`),
864
  KEY `fk_stem_observation_individual_observation1_idx` (`individual_observation`),
865
  KEY `fk_stem_observation_stem1_idx` (`stem`),
866
  CONSTRAINT `fk_stem_observation_stem1` FOREIGN KEY (`stem`) REFERENCES `stem` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
867
  CONSTRAINT `fk_stem_observation_individual_observation1` FOREIGN KEY (`individual_observation`) REFERENCES `individual_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
868
  CONSTRAINT `fk_stem_observation_individual_observation2` FOREIGN KEY (`id`) REFERENCES `individual_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
869
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of a [[VegCore#Stem|Stem]]';
870
/*!40101 SET character_set_client = @saved_cs_client */;
871

    
872
--
873
-- Dumping data for table `stem_observation`
874
--
875

    
876
/*!40000 ALTER TABLE `stem_observation` DISABLE KEYS */;
877
/*!40000 ALTER TABLE `stem_observation` ENABLE KEYS */;
878

    
879
--
880
-- Table structure for table `stratum`
881
--
882

    
883
/*!40101 SET @saved_cs_client     = @@character_set_client */;
884
/*!40101 SET character_set_client = utf8 */;
885
CREATE TABLE `stratum` (
886
  `id` varbinary(767) NOT NULL,
887
  `name` varbinary(767) NOT NULL,
888
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
889
  PRIMARY KEY (`id`),
890
  CONSTRAINT `fk_place_path_record10` FOREIGN KEY (`id`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
891
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
892
/*!40101 SET character_set_client = @saved_cs_client */;
893

    
894
--
895
-- Dumping data for table `stratum`
896
--
897

    
898
/*!40000 ALTER TABLE `stratum` DISABLE KEYS */;
899
/*!40000 ALTER TABLE `stratum` ENABLE KEYS */;
900

    
901
--
902
-- Table structure for table `subplot`
903
--
904

    
905
/*!40101 SET @saved_cs_client     = @@character_set_client */;
906
/*!40101 SET character_set_client = utf8 */;
907
CREATE TABLE `subplot` (
908
  `id` varbinary(767) NOT NULL,
909
  `x_m` double DEFAULT NULL,
910
  `y_m` double DEFAULT NULL,
911
  `coords` set('hstore') COLLATE utf8_bin DEFAULT NULL,
912
  PRIMARY KEY (`id`),
913
  CONSTRAINT `fk_subplot_plot1` FOREIGN KEY (`id`) REFERENCES `plot` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
914
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"subplot, line, or any other subsample  or subdivision of plot" ("SALVIAS":http://salvias.net/Documents/salvias_data_dictionary.html#Plot_data/subplot)';
915
/*!40101 SET character_set_client = @saved_cs_client */;
916

    
917
--
918
-- Dumping data for table `subplot`
919
--
920

    
921
/*!40000 ALTER TABLE `subplot` DISABLE KEYS */;
922
/*!40000 ALTER TABLE `subplot` ENABLE KEYS */;
923

    
924
--
925
-- Table structure for table `taxon_absence`
926
--
927

    
928
/*!40101 SET @saved_cs_client     = @@character_set_client */;
929
/*!40101 SET character_set_client = utf8 */;
930
CREATE TABLE `taxon_absence` (
931
  `id` varbinary(767) NOT NULL,
932
  PRIMARY KEY (`id`),
933
  CONSTRAINT `fk_taxon_absence_taxon_determination1` FOREIGN KEY (`id`) REFERENCES `taxon_determination` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
934
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation that a [[VegCore#Taxon|Taxon]]''s does _not_ exist in a place';
935
/*!40101 SET character_set_client = @saved_cs_client */;
936

    
937
--
938
-- Dumping data for table `taxon_absence`
939
--
940

    
941
/*!40000 ALTER TABLE `taxon_absence` DISABLE KEYS */;
942
/*!40000 ALTER TABLE `taxon_absence` ENABLE KEYS */;
943

    
944
--
945
-- Table structure for table `taxon_assertion`
946
--
947

    
948
/*!40101 SET @saved_cs_client     = @@character_set_client */;
949
/*!40101 SET character_set_client = utf8 */;
950
CREATE TABLE `taxon_assertion` (
951
  `id` varbinary(767) NOT NULL,
952
  `string` varbinary(767) NOT NULL COMMENT 'for parsed_taxon_assertion, this is the TNRS input name, not the concatenated matched name',
953
  `taxon` varbinary(767) DEFAULT NULL,
954
  `cf_aff` varbinary(767) DEFAULT NULL,
955
  `annotations` set('hstore') COLLATE utf8_bin DEFAULT NULL,
956
  PRIMARY KEY (`id`),
957
  KEY `fk_taxon_assertion_taxon_string1_idx` (`string`),
958
  KEY `fk_taxon_assertion_taxon_name1_idx` (`taxon`),
959
  CONSTRAINT `fk_qualified_taxon_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
960
  CONSTRAINT `fk_taxon_assertion_taxon_string1` FOREIGN KEY (`string`) REFERENCES `taxon_string` (`string`) ON DELETE CASCADE ON UPDATE CASCADE,
961
  CONSTRAINT `fk_taxon_assertion_taxon_name1` FOREIGN KEY (`taxon`) REFERENCES `taxon_name` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
962
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
963
/*!40101 SET character_set_client = @saved_cs_client */;
964

    
965
--
966
-- Dumping data for table `taxon_assertion`
967
--
968

    
969
/*!40000 ALTER TABLE `taxon_assertion` DISABLE KEYS */;
970
/*!40000 ALTER TABLE `taxon_assertion` ENABLE KEYS */;
971

    
972
--
973
-- Table structure for table `taxon_concept`
974
--
975

    
976
/*!40101 SET @saved_cs_client     = @@character_set_client */;
977
/*!40101 SET character_set_client = utf8 */;
978
CREATE TABLE `taxon_concept` (
979
  `id` varbinary(767) NOT NULL,
980
  `according_to` varbinary(767) NOT NULL,
981
  `parent` varbinary(767) NOT NULL,
982
  `accepted_taxon_concept` varbinary(767) DEFAULT NULL,
983
  PRIMARY KEY (`id`),
984
  UNIQUE KEY `taxon_concept_unique_name` (`according_to`),
985
  KEY `fk_taxon_taxon1_idx` (`parent`),
986
  KEY `fk_taxon_concept_source1_idx` (`according_to`),
987
  KEY `fk_taxon_concept_taxon_concept1_idx` (`accepted_taxon_concept`),
988
  CONSTRAINT `fk_taxon_taxon1` FOREIGN KEY (`parent`) REFERENCES `taxon_concept` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
989
  CONSTRAINT `fk_taxon_concept_source1` FOREIGN KEY (`according_to`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
990
  CONSTRAINT `fk_taxon_concept_taxon_concept1` FOREIGN KEY (`accepted_taxon_concept`) REFERENCES `taxon_concept` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
991
  CONSTRAINT `fk_taxon_concept_taxon_name1` FOREIGN KEY (`id`) REFERENCES `taxon_name` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
992
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A [[VegCore#Taxon|Taxon]] described by a specific [[VegCore#Reference|Reference]]';
993
/*!40101 SET character_set_client = @saved_cs_client */;
994

    
995
--
996
-- Dumping data for table `taxon_concept`
997
--
998

    
999
/*!40000 ALTER TABLE `taxon_concept` DISABLE KEYS */;
1000
/*!40000 ALTER TABLE `taxon_concept` ENABLE KEYS */;
1001

    
1002
--
1003
-- Table structure for table `taxon_determination`
1004
--
1005

    
1006
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1007
/*!40101 SET character_set_client = utf8 */;
1008
CREATE TABLE `taxon_determination` (
1009
  `id` varbinary(767) NOT NULL,
1010
  `identified_by` varbinary(767) DEFAULT NULL,
1011
  `taxon_assertion` varbinary(767) NOT NULL,
1012
  `fit_info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
1013
  PRIMARY KEY (`id`),
1014
  UNIQUE KEY `taxon_determination_unique` (`taxon_assertion`,`identified_by`),
1015
  KEY `fk_taxon_occurrence_has_qualified_taxon1_idx` (`taxon_assertion`),
1016
  KEY `fk_taxon_determination_party_list1_idx` (`identified_by`),
1017
  CONSTRAINT `fk_taxon_occurrence_has_qualified_taxon1` FOREIGN KEY (`taxon_assertion`) REFERENCES `taxon_assertion` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1018
  CONSTRAINT `fk_taxon_determination_party_list1` FOREIGN KEY (`identified_by`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1019
  CONSTRAINT `fk_taxon_determination_taxon_observation1` FOREIGN KEY (`id`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1020
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An assertion that a [[VegCore#TaxonOccurrence|TaxonOccurrence]] is a particular [[VegCore#Taxon|Taxon]]';
1021
/*!40101 SET character_set_client = @saved_cs_client */;
1022

    
1023
--
1024
-- Dumping data for table `taxon_determination`
1025
--
1026

    
1027
/*!40000 ALTER TABLE `taxon_determination` DISABLE KEYS */;
1028
/*!40000 ALTER TABLE `taxon_determination` ENABLE KEYS */;
1029

    
1030
--
1031
-- Table structure for table `taxon_name`
1032
--
1033

    
1034
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1035
/*!40101 SET character_set_client = utf8 */;
1036
CREATE TABLE `taxon_name` (
1037
  `id` varbinary(767) NOT NULL,
1038
  `unique_name` varbinary(767) NOT NULL,
1039
  `formal_name` varbinary(767) DEFAULT NULL,
1040
  `taxon_name` varbinary(767) DEFAULT NULL,
1041
  `author` varbinary(767) DEFAULT NULL,
1042
  `common_name` varbinary(767) DEFAULT NULL,
1043
  `rank` varbinary(767) DEFAULT NULL,
1044
  `taxon_path` varbinary(767) DEFAULT NULL,
1045
  PRIMARY KEY (`id`),
1046
  KEY `fk_taxon_concept_taxon_string10_idx` (`unique_name`),
1047
  KEY `fk_taxon_name_taxon_path1_idx` (`taxon_path`),
1048
  CONSTRAINT `fk_taxon_record10` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1049
  CONSTRAINT `fk_taxon_concept_taxon_string10` FOREIGN KEY (`unique_name`) REFERENCES `taxon_string` (`string`) ON DELETE CASCADE ON UPDATE CASCADE,
1050
  CONSTRAINT `fk_taxon_name_taxon_path1` FOREIGN KEY (`taxon_path`) REFERENCES `taxon_path` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1051
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
1052
/*!40101 SET character_set_client = @saved_cs_client */;
1053

    
1054
--
1055
-- Dumping data for table `taxon_name`
1056
--
1057

    
1058
/*!40000 ALTER TABLE `taxon_name` DISABLE KEYS */;
1059
/*!40000 ALTER TABLE `taxon_name` ENABLE KEYS */;
1060

    
1061
--
1062
-- Table structure for table `taxon_observation`
1063
--
1064

    
1065
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1066
/*!40101 SET character_set_client = utf8 */;
1067
CREATE TABLE `taxon_observation` (
1068
  `id` varbinary(767) NOT NULL,
1069
  `collectors` varbinary(767) DEFAULT NULL,
1070
  `collector_number` varbinary(767) DEFAULT NULL,
1071
  `voucher` varbinary(767) DEFAULT NULL,
1072
  `growth_form` varbinary(767) DEFAULT NULL,
1073
  `cultivated` tinyint(1) DEFAULT NULL,
1074
  `traits` set('hstore') COLLATE utf8_bin DEFAULT NULL,
1075
  PRIMARY KEY (`id`),
1076
  KEY `fk_taxon_observation_specimen1_idx` (`voucher`),
1077
  KEY `fk_taxon_observation_party_list1_idx` (`collectors`),
1078
  CONSTRAINT `fk_taxon_observation_party_list1` FOREIGN KEY (`collectors`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1079
  CONSTRAINT `fk_taxon_observation_sampling_event1` FOREIGN KEY (`id`) REFERENCES `sampling_event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1080
  CONSTRAINT `fk_taxon_observation_specimen1` FOREIGN KEY (`voucher`) REFERENCES `specimen` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1081
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
1082
/*!40101 SET character_set_client = @saved_cs_client */;
1083

    
1084
--
1085
-- Dumping data for table `taxon_observation`
1086
--
1087

    
1088
/*!40000 ALTER TABLE `taxon_observation` DISABLE KEYS */;
1089
/*!40000 ALTER TABLE `taxon_observation` ENABLE KEYS */;
1090

    
1091
--
1092
-- Table structure for table `taxon_path`
1093
--
1094

    
1095
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1096
/*!40101 SET character_set_client = utf8 */;
1097
CREATE TABLE `taxon_path` (
1098
  `id` varbinary(767) NOT NULL,
1099
  `family` varbinary(767) DEFAULT NULL,
1100
  `genus` varbinary(767) DEFAULT NULL,
1101
  `specific_epithet` varbinary(767) DEFAULT NULL,
1102
  `ranks` set('hstore') COLLATE utf8_bin DEFAULT NULL,
1103
  PRIMARY KEY (`id`)
1104
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"a group of one (or more) populations of organism(s), which a taxonomist adjudges to be a unit" ("Wikipedia":http://en.wikipedia.org/wiki/Taxon)';
1105
/*!40101 SET character_set_client = @saved_cs_client */;
1106

    
1107
--
1108
-- Dumping data for table `taxon_path`
1109
--
1110

    
1111
/*!40000 ALTER TABLE `taxon_path` DISABLE KEYS */;
1112
/*!40000 ALTER TABLE `taxon_path` ENABLE KEYS */;
1113

    
1114
--
1115
-- Table structure for table `taxon_presence`
1116
--
1117

    
1118
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1119
/*!40101 SET character_set_client = utf8 */;
1120
CREATE TABLE `taxon_presence` (
1121
  `id` varbinary(767) NOT NULL,
1122
  `occurrence_status` varbinary(767) DEFAULT NULL,
1123
  `traits` set('hstore') COLLATE utf8_bin DEFAULT NULL,
1124
  PRIMARY KEY (`id`),
1125
  CONSTRAINT `fk_taxon_presence_taxon_determination1` FOREIGN KEY (`id`) REFERENCES `taxon_determination` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1126
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of just a [[VegCore#Taxon|Taxon]]''s _presence_';
1127
/*!40101 SET character_set_client = @saved_cs_client */;
1128

    
1129
--
1130
-- Dumping data for table `taxon_presence`
1131
--
1132

    
1133
/*!40000 ALTER TABLE `taxon_presence` DISABLE KEYS */;
1134
/*!40000 ALTER TABLE `taxon_presence` ENABLE KEYS */;
1135

    
1136
--
1137
-- Table structure for table `taxon_scrub`
1138
--
1139

    
1140
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1141
/*!40101 SET character_set_client = utf8 */;
1142
CREATE TABLE `taxon_scrub` (
1143
  `id` varbinary(767) NOT NULL,
1144
  `input_string` varbinary(767) NOT NULL,
1145
  `parsed_taxon_assertion` varbinary(767) NOT NULL,
1146
  `matched_taxon_concept` varbinary(767) DEFAULT NULL,
1147
  `match_score` float DEFAULT NULL,
1148
  `match_info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
1149
  PRIMARY KEY (`id`),
1150
  KEY `fk_parsed_taxon_assertion_taxon_name1_idx` (`matched_taxon_concept`),
1151
  KEY `fk_taxon_scrub_taxon_assertion1_idx` (`parsed_taxon_assertion`),
1152
  KEY `fk_taxon_scrub_taxon_string1_idx` (`input_string`),
1153
  CONSTRAINT `fk_parsed_taxon_assertion_taxon_name1` FOREIGN KEY (`matched_taxon_concept`) REFERENCES `taxon_concept` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1154
  CONSTRAINT `fk_taxon_scrub_taxon_assertion1` FOREIGN KEY (`parsed_taxon_assertion`) REFERENCES `taxon_assertion` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1155
  CONSTRAINT `fk_taxon_scrub_taxon_string1` FOREIGN KEY (`input_string`) REFERENCES `taxon_string` (`string`) ON DELETE CASCADE ON UPDATE CASCADE,
1156
  CONSTRAINT `fk_taxon_scrub_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1157
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
1158
/*!40101 SET character_set_client = @saved_cs_client */;
1159

    
1160
--
1161
-- Dumping data for table `taxon_scrub`
1162
--
1163

    
1164
/*!40000 ALTER TABLE `taxon_scrub` DISABLE KEYS */;
1165
/*!40000 ALTER TABLE `taxon_scrub` ENABLE KEYS */;
1166

    
1167
--
1168
-- Table structure for table `taxon_string`
1169
--
1170

    
1171
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1172
/*!40101 SET character_set_client = utf8 */;
1173
CREATE TABLE `taxon_string` (
1174
  `string` varbinary(767) NOT NULL,
1175
  PRIMARY KEY (`string`)
1176
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='to get the parsed_taxon_assertion (TNRS result) for a taxon_string, join using taxon_string.string<-taxon_assertion(string)::parsed_taxon_assertion[source=''TNRS.version''] (see wiki.vegpath.org/SQL_dotpaths)';
1177
/*!40101 SET character_set_client = @saved_cs_client */;
1178

    
1179
--
1180
-- Dumping data for table `taxon_string`
1181
--
1182

    
1183
/*!40000 ALTER TABLE `taxon_string` DISABLE KEYS */;
1184
/*!40000 ALTER TABLE `taxon_string` ENABLE KEYS */;
1185
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1186

    
1187
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
1188
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
1189
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
1190
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1191
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1192
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
1193
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
1194

    
1195
-- Dump completed
(8-8/14)