Project

General

Profile

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

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

    
20
--
21
-- Table structure for table "aggregate_observation"
22
--
23

    
24
/*!40101 SET @saved_cs_client     = @@character_set_client */;
25
/*!40101 SET character_set_client = utf8 */;
26
CREATE TABLE "aggregate_observation" (
27
  "id" text NOT NULL,
28
  "traits" hstore DEFAULT NULL,
29
  PRIMARY KEY ("id"),
30
  /*CONSTRAINT "fk_aggregate_observation_taxon_presence1" FOREIGN KEY ("id") REFERENCES "taxon_presence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
31
) /*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)'*/;
32
/*!40101 SET character_set_client = @saved_cs_client */;
33

    
34
--
35
-- Dumping data for table "aggregate_observation"
36
--
37

    
38
/*!40000 ALTER TABLE "aggregate_observation" DISABLE KEYS */;
39
/*!40000 ALTER TABLE "aggregate_observation" ENABLE KEYS */;
40

    
41
--
42
-- Table structure for table "base_class"
43
--
44

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

    
56
--
57
-- Dumping data for table "base_class"
58
--
59

    
60
/*!40000 ALTER TABLE "base_class" DISABLE KEYS */;
61
/*!40000 ALTER TABLE "base_class" ENABLE KEYS */;
62

    
63
--
64
-- Table structure for table "collection"
65
--
66

    
67
/*!40101 SET @saved_cs_client     = @@character_set_client */;
68
/*!40101 SET character_set_client = utf8 */;
69
CREATE TABLE "collection" (
70
  "id" text NOT NULL,
71
  "institution" text NOT NULL,
72
  "name" text NOT NULL,
73
  PRIMARY KEY ("id"),
74
  /*CONSTRAINT "collection_unique" */UNIQUE ("institution","name"),
75
  /*KEY "fk_collection_organization1_idx" ("institution")*/CHECK (true),
76
  /*KEY "fk_collection_source1_idx" ("id")*/CHECK (true),
77
  /*CONSTRAINT "fk_collection_source1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
78
  /*CONSTRAINT "fk_collection_organization1" FOREIGN KEY ("institution") REFERENCES "organization" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
79
) /*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)'*/;
80
/*!40101 SET character_set_client = @saved_cs_client */;
81

    
82
--
83
-- Dumping data for table "collection"
84
--
85

    
86
/*!40000 ALTER TABLE "collection" DISABLE KEYS */;
87
/*!40000 ALTER TABLE "collection" ENABLE KEYS */;
88

    
89
--
90
-- Table structure for table "community"
91
--
92

    
93
/*!40101 SET @saved_cs_client     = @@character_set_client */;
94
/*!40101 SET character_set_client = utf8 */;
95
CREATE TABLE "community" (
96
  "id" text NOT NULL,
97
  "name" text NOT NULL,
98
  "info" hstore DEFAULT NULL,
99
  PRIMARY KEY ("id"),
100
  /*CONSTRAINT "fk_community_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
101
) /*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]])'*/;
102
/*!40101 SET character_set_client = @saved_cs_client */;
103

    
104
--
105
-- Dumping data for table "community"
106
--
107

    
108
/*!40000 ALTER TABLE "community" DISABLE KEYS */;
109
/*!40000 ALTER TABLE "community" ENABLE KEYS */;
110

    
111
--
112
-- Table structure for table "derived_class"
113
--
114

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

    
124
--
125
-- Dumping data for table "derived_class"
126
--
127

    
128
/*!40000 ALTER TABLE "derived_class" DISABLE KEYS */;
129
/*!40000 ALTER TABLE "derived_class" ENABLE KEYS */;
130

    
131
--
132
-- Table structure for table "event"
133
--
134

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

    
155
--
156
-- Dumping data for table "event"
157
--
158

    
159
/*!40000 ALTER TABLE "event" DISABLE KEYS */;
160
/*!40000 ALTER TABLE "event" ENABLE KEYS */;
161

    
162
--
163
-- Table structure for table "geocoords"
164
--
165

    
166
/*!40101 SET @saved_cs_client     = @@character_set_client */;
167
/*!40101 SET character_set_client = utf8 */;
168
CREATE TABLE "geocoords" (
169
  "id" text NOT NULL,
170
  "latitude_deg" text NOT NULL,
171
  "longitude_deg" text NOT NULL,
172
  PRIMARY KEY ("id"),
173
  /*KEY "geocoords_unique" ("latitude_deg","longitude_deg")*/CHECK (true)
174
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A numerically-defined point'*/;
175
/*!40101 SET character_set_client = @saved_cs_client */;
176

    
177
--
178
-- Dumping data for table "geocoords"
179
--
180

    
181
/*!40000 ALTER TABLE "geocoords" DISABLE KEYS */;
182
/*!40000 ALTER TABLE "geocoords" ENABLE KEYS */;
183

    
184
--
185
-- Table structure for table "geological_context"
186
--
187

    
188
/*!40101 SET @saved_cs_client     = @@character_set_client */;
189
/*!40101 SET character_set_client = utf8 */;
190
CREATE TABLE "geological_context" (
191
  "id" text NOT NULL,
192
  "name" text NOT NULL,
193
  "info" hstore DEFAULT NULL,
194
  PRIMARY KEY ("id"),
195
  /*CONSTRAINT "fk_geological_context_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
196
) /*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)'*/;
197
/*!40101 SET character_set_client = @saved_cs_client */;
198

    
199
--
200
-- Dumping data for table "geological_context"
201
--
202

    
203
/*!40000 ALTER TABLE "geological_context" DISABLE KEYS */;
204
/*!40000 ALTER TABLE "geological_context" ENABLE KEYS */;
205

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

    
210
/*!40101 SET @saved_cs_client     = @@character_set_client */;
211
/*!40101 SET character_set_client = utf8 */;
212
CREATE TABLE "geopath" (
213
  "id" text NOT NULL,
214
  "continent" text DEFAULT NULL,
215
  "country" text NOT NULL,
216
  "state_province" text DEFAULT NULL,
217
  "county" text DEFAULT NULL,
218
  "municipality" text DEFAULT NULL,
219
  "ranks" hstore DEFAULT NULL,
220
  PRIMARY KEY ("id")
221
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A named region'*/;
222
/*!40101 SET character_set_client = @saved_cs_client */;
223

    
224
--
225
-- Dumping data for table "geopath"
226
--
227

    
228
/*!40000 ALTER TABLE "geopath" DISABLE KEYS */;
229
/*!40000 ALTER TABLE "geopath" ENABLE KEYS */;
230

    
231
--
232
-- Table structure for table "geoplace"
233
--
234

    
235
/*!40101 SET @saved_cs_client     = @@character_set_client */;
236
/*!40101 SET character_set_client = utf8 */;
237
CREATE TABLE "geoplace" (
238
  "id" text NOT NULL,
239
  "geocoords" text NOT NULL,
240
  "geopath" text NOT NULL,
241
  PRIMARY KEY ("id"),
242
  /*CONSTRAINT "validatable_place_unique" */UNIQUE ("geopath","geocoords"),
243
  /*KEY "fk_geovalidation_place_path1_idx" ("geopath")*/CHECK (true),
244
  /*KEY "fk_geovalidation_coordinates1_idx" ("geocoords")*/CHECK (true),
245
  /*CONSTRAINT "fk_geovalidation_place_path1" FOREIGN KEY ("geopath") REFERENCES "geopath" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
246
  /*CONSTRAINT "fk_geovalidation_coordinates1" FOREIGN KEY ("geocoords") REFERENCES "geocoords" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
247
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
248
/*!40101 SET character_set_client = @saved_cs_client */;
249

    
250
--
251
-- Dumping data for table "geoplace"
252
--
253

    
254
/*!40000 ALTER TABLE "geoplace" DISABLE KEYS */;
255
/*!40000 ALTER TABLE "geoplace" ENABLE KEYS */;
256

    
257
--
258
-- Table structure for table "geovalidation"
259
--
260

    
261
/*!40101 SET @saved_cs_client     = @@character_set_client */;
262
/*!40101 SET character_set_client = utf8 */;
263
CREATE TABLE "geovalidation" (
264
  "id" text NOT NULL,
265
  "input_geoplace" text NOT NULL,
266
  "scrubbed_geoplace" text NOT NULL,
267
  "geovalid" integer NOT NULL,
268
  "lat_long_domain_valid" integer NOT NULL,
269
  "lat_long_in_place_ranks" hstore DEFAULT NULL,
270
  PRIMARY KEY ("id"),
271
  /*KEY "fk_geovalidation_geoplace1_idx" ("input_geoplace")*/CHECK (true),
272
  /*KEY "fk_geovalidation_geoplace2_idx" ("scrubbed_geoplace")*/CHECK (true),
273
  /*CONSTRAINT "fk_geovalidation_geoplace1" FOREIGN KEY ("input_geoplace") REFERENCES "geoplace" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
274
  /*CONSTRAINT "fk_geovalidation_geoplace2" FOREIGN KEY ("scrubbed_geoplace") REFERENCES "geoplace" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
275
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='The accuracy of the [[VegCore#Coordinates|Coordinates]], taking into account the [[VegCore#Placename|Placename]]'*/;
276
/*!40101 SET character_set_client = @saved_cs_client */;
277

    
278
--
279
-- Dumping data for table "geovalidation"
280
--
281

    
282
/*!40000 ALTER TABLE "geovalidation" DISABLE KEYS */;
283
/*!40000 ALTER TABLE "geovalidation" ENABLE KEYS */;
284

    
285
--
286
-- Table structure for table "individual"
287
--
288

    
289
/*!40101 SET @saved_cs_client     = @@character_set_client */;
290
/*!40101 SET character_set_client = utf8 */;
291
CREATE TABLE "individual" (
292
  "id" text NOT NULL,
293
  "tag" text DEFAULT NULL,
294
  "tag_history" hstore DEFAULT NULL,
295
  PRIMARY KEY ("id"),
296
  /*CONSTRAINT "fk_individual_record1" FOREIGN KEY ("id") REFERENCES "taxon_occurrence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
297
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A distinct biological organism'*/;
298
/*!40101 SET character_set_client = @saved_cs_client */;
299

    
300
--
301
-- Dumping data for table "individual"
302
--
303

    
304
/*!40000 ALTER TABLE "individual" DISABLE KEYS */;
305
/*!40000 ALTER TABLE "individual" ENABLE KEYS */;
306

    
307
--
308
-- Table structure for table "individual_observation"
309
--
310

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

    
325
--
326
-- Dumping data for table "individual_observation"
327
--
328

    
329
/*!40000 ALTER TABLE "individual_observation" DISABLE KEYS */;
330
/*!40000 ALTER TABLE "individual_observation" ENABLE KEYS */;
331

    
332
--
333
-- Table structure for table "method"
334
--
335

    
336
/*!40101 SET @saved_cs_client     = @@character_set_client */;
337
/*!40101 SET character_set_client = utf8 */;
338
CREATE TABLE "method" (
339
  "id" text NOT NULL,
340
  "parent" text NOT NULL,
341
  "info" hstore DEFAULT NULL,
342
  PRIMARY KEY ("id"),
343
  /*KEY "fk_method_method1_idx" ("parent")*/CHECK (true),
344
  /*CONSTRAINT "fk_method_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
345
  /*CONSTRAINT "fk_method_method1" FOREIGN KEY ("parent") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
346
) /*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)'*/;
347
/*!40101 SET character_set_client = @saved_cs_client */;
348

    
349
--
350
-- Dumping data for table "method"
351
--
352

    
353
/*!40000 ALTER TABLE "method" DISABLE KEYS */;
354
/*!40000 ALTER TABLE "method" ENABLE KEYS */;
355

    
356
--
357
-- Table structure for table "organization"
358
--
359

    
360
/*!40101 SET @saved_cs_client     = @@character_set_client */;
361
/*!40101 SET character_set_client = utf8 */;
362
CREATE TABLE "organization" (
363
  "id" text NOT NULL,
364
  "info" hstore DEFAULT NULL,
365
  PRIMARY KEY ("id"),
366
  /*CONSTRAINT "fk_organization_party1" FOREIGN KEY ("id") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
367
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
368
/*!40101 SET character_set_client = @saved_cs_client */;
369

    
370
--
371
-- Dumping data for table "organization"
372
--
373

    
374
/*!40000 ALTER TABLE "organization" DISABLE KEYS */;
375
/*!40000 ALTER TABLE "organization" ENABLE KEYS */;
376

    
377
--
378
-- Table structure for table "party"
379
--
380

    
381
/*!40101 SET @saved_cs_client     = @@character_set_client */;
382
/*!40101 SET character_set_client = utf8 */;
383
CREATE TABLE "party" (
384
  "id" text NOT NULL,
385
  "organization" text DEFAULT NULL,
386
  "info" hstore DEFAULT NULL,
387
  PRIMARY KEY ("id"),
388
  /*KEY "fk_party_organization1_idx" ("organization")*/CHECK (true),
389
  /*CONSTRAINT "fk_party_organization1" FOREIGN KEY ("organization") REFERENCES "organization" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
390
  /*CONSTRAINT "fk_collection_source10" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
391
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
392
/*!40101 SET character_set_client = @saved_cs_client */;
393

    
394
--
395
-- Dumping data for table "party"
396
--
397

    
398
/*!40000 ALTER TABLE "party" DISABLE KEYS */;
399
/*!40000 ALTER TABLE "party" ENABLE KEYS */;
400

    
401
--
402
-- Table structure for table "party_list"
403
--
404

    
405
/*!40101 SET @saved_cs_client     = @@character_set_client */;
406
/*!40101 SET character_set_client = utf8 */;
407
CREATE TABLE "party_list" (
408
  "id" text NOT NULL,
409
  "count" integer NOT NULL,
410
  PRIMARY KEY ("id"),
411
  /*CONSTRAINT "fk_collection_source100" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
412
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
413
/*!40101 SET character_set_client = @saved_cs_client */;
414

    
415
--
416
-- Dumping data for table "party_list"
417
--
418

    
419
/*!40000 ALTER TABLE "party_list" DISABLE KEYS */;
420
/*!40000 ALTER TABLE "party_list" ENABLE KEYS */;
421

    
422
--
423
-- Table structure for table "party_list_entry"
424
--
425

    
426
/*!40101 SET @saved_cs_client     = @@character_set_client */;
427
/*!40101 SET character_set_client = utf8 */;
428
CREATE TABLE "party_list_entry" (
429
  "id" text NOT NULL,
430
  "entry" text NOT NULL,
431
  "sort_order" integer DEFAULT NULL,
432
  PRIMARY KEY ("id","entry"),
433
  /*KEY "fk_party_list_has_party_party1_idx" ("entry")*/CHECK (true),
434
  /*KEY "fk_party_list_has_party_party_list1_idx" ("id")*/CHECK (true),
435
  /*CONSTRAINT "fk_party_list_has_party_party_list1" FOREIGN KEY ("id") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
436
  /*CONSTRAINT "fk_party_list_has_party_party1" FOREIGN KEY ("entry") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
437
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
438
/*!40101 SET character_set_client = @saved_cs_client */;
439

    
440
--
441
-- Dumping data for table "party_list_entry"
442
--
443

    
444
/*!40000 ALTER TABLE "party_list_entry" DISABLE KEYS */;
445
/*!40000 ALTER TABLE "party_list_entry" ENABLE KEYS */;
446

    
447
--
448
-- Table structure for table "place"
449
--
450

    
451
/*!40101 SET @saved_cs_client     = @@character_set_client */;
452
/*!40101 SET character_set_client = utf8 */;
453
CREATE TABLE "place" (
454
  "id" text NOT NULL,
455
  "parent" text NOT NULL,
456
  "geocoords" text DEFAULT NULL,
457
  "geopath" text DEFAULT NULL,
458
  "locality" text DEFAULT NULL,
459
  "coords" hstore DEFAULT NULL /*COMMENT 'for verbatim coordinates, etc.'*/,
460
  PRIMARY KEY ("id"),
461
  /*KEY "fk_place_coordinates1_idx" ("geocoords")*/CHECK (true),
462
  /*KEY "fk_place1_idx" ("parent")*/CHECK (true),
463
  /*KEY "fk_place_place_path1_idx" ("geopath")*/CHECK (true),
464
  /*CONSTRAINT "fk_place_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
465
  /*CONSTRAINT "fk_place_coordinates1" FOREIGN KEY ("geocoords") REFERENCES "geocoords" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
466
  /*CONSTRAINT "fk_place1" FOREIGN KEY ("parent") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
467
  /*CONSTRAINT "fk_place_place_path1" FOREIGN KEY ("geopath") REFERENCES "geopath" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
468
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"A spatial region" ("DwC":http://rs.tdwg.org/dwc/terms/#dcterms:Location) or point'*/;
469
/*!40101 SET character_set_client = @saved_cs_client */;
470

    
471
--
472
-- Dumping data for table "place"
473
--
474

    
475
/*!40000 ALTER TABLE "place" DISABLE KEYS */;
476
/*!40000 ALTER TABLE "place" ENABLE KEYS */;
477

    
478
--
479
-- Table structure for table "place_observation"
480
--
481

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

    
504
--
505
-- Dumping data for table "place_observation"
506
--
507

    
508
/*!40000 ALTER TABLE "place_observation" DISABLE KEYS */;
509
/*!40000 ALTER TABLE "place_observation" ENABLE KEYS */;
510

    
511
--
512
-- Table structure for table "plot"
513
--
514

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

    
530
--
531
-- Dumping data for table "plot"
532
--
533

    
534
/*!40000 ALTER TABLE "plot" DISABLE KEYS */;
535
/*!40000 ALTER TABLE "plot" ENABLE KEYS */;
536

    
537
--
538
-- Table structure for table "project"
539
--
540

    
541
/*!40101 SET @saved_cs_client     = @@character_set_client */;
542
/*!40101 SET character_set_client = utf8 */;
543
CREATE TABLE "project" (
544
  "id" text NOT NULL,
545
  "name" text NOT NULL,
546
  "info" hstore DEFAULT NULL,
547
  PRIMARY KEY ("id"),
548
  /*CONSTRAINT "fk_project_event1" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
549
) /*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)'*/;
550
/*!40101 SET character_set_client = @saved_cs_client */;
551

    
552
--
553
-- Dumping data for table "project"
554
--
555

    
556
/*!40000 ALTER TABLE "project" DISABLE KEYS */;
557
/*!40000 ALTER TABLE "project" ENABLE KEYS */;
558

    
559
--
560
-- Table structure for table "record"
561
--
562

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

    
578
--
579
-- Dumping data for table "record"
580
--
581

    
582
/*!40000 ALTER TABLE "record" DISABLE KEYS */;
583
/*!40000 ALTER TABLE "record" ENABLE KEYS */;
584

    
585
--
586
-- Table structure for table "referenced_class"
587
--
588

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

    
598
--
599
-- Dumping data for table "referenced_class"
600
--
601

    
602
/*!40000 ALTER TABLE "referenced_class" DISABLE KEYS */;
603
/*!40000 ALTER TABLE "referenced_class" ENABLE KEYS */;
604

    
605
--
606
-- Table structure for table "relationship"
607
--
608

    
609
/*!40101 SET @saved_cs_client     = @@character_set_client */;
610
/*!40101 SET character_set_client = utf8 */;
611
CREATE TABLE "relationship" (
612
  "id" text NOT NULL,
613
  "record" text NOT NULL,
614
  "related_record" text NOT NULL,
615
  "info" hstore DEFAULT NULL,
616
  PRIMARY KEY ("id"),
617
  /*KEY "fk_relationship_record1_idx" ("record")*/CHECK (true),
618
  /*KEY "fk_relationship_related_record_idx" ("related_record")*/CHECK (true),
619
  /*CONSTRAINT "fk_relationship_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
620
  /*CONSTRAINT "fk_relationship_record2" FOREIGN KEY ("record") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
621
  /*CONSTRAINT "fk_relationship_related_record" FOREIGN KEY ("related_record") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
622
) /*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)'*/;
623
/*!40101 SET character_set_client = @saved_cs_client */;
624

    
625
--
626
-- Dumping data for table "relationship"
627
--
628

    
629
/*!40000 ALTER TABLE "relationship" DISABLE KEYS */;
630
/*!40000 ALTER TABLE "relationship" ENABLE KEYS */;
631

    
632
--
633
-- Table structure for table "sampling_event"
634
--
635

    
636
/*!40101 SET @saved_cs_client     = @@character_set_client */;
637
/*!40101 SET character_set_client = utf8 */;
638
CREATE TABLE "sampling_event" (
639
  "id" text NOT NULL,
640
  "method" text DEFAULT NULL,
641
  PRIMARY KEY ("id"),
642
  /*KEY "fk_sampling_event_method1_idx" ("method")*/CHECK (true),
643
  /*CONSTRAINT "fk_sampling_event_method1" FOREIGN KEY ("method") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
644
  /*CONSTRAINT "fk_project_event10" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
645
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
646
/*!40101 SET character_set_client = @saved_cs_client */;
647

    
648
--
649
-- Dumping data for table "sampling_event"
650
--
651

    
652
/*!40000 ALTER TABLE "sampling_event" DISABLE KEYS */;
653
/*!40000 ALTER TABLE "sampling_event" ENABLE KEYS */;
654

    
655
--
656
-- Table structure for table "soil_observation"
657
--
658

    
659
/*!40101 SET @saved_cs_client     = @@character_set_client */;
660
/*!40101 SET character_set_client = utf8 */;
661
CREATE TABLE "soil_observation" (
662
  "id" text NOT NULL,
663
  "observations" hstore DEFAULT NULL,
664
  PRIMARY KEY ("id"),
665
  /*CONSTRAINT "fk_soil_observation_place_observation1" FOREIGN KEY ("id") REFERENCES "place_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
666
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A sampling of a [[VegCore#Location|Location]]''s soil'*/;
667
/*!40101 SET character_set_client = @saved_cs_client */;
668

    
669
--
670
-- Dumping data for table "soil_observation"
671
--
672

    
673
/*!40000 ALTER TABLE "soil_observation" DISABLE KEYS */;
674
/*!40000 ALTER TABLE "soil_observation" ENABLE KEYS */;
675

    
676
--
677
-- Table structure for table "source"
678
--
679

    
680
/*!40101 SET @saved_cs_client     = @@character_set_client */;
681
/*!40101 SET character_set_client = utf8 */;
682
CREATE TABLE "source" (
683
  "id" text NOT NULL,
684
  "parent" text NOT NULL,
685
  "name" text NOT NULL,
686
  "first_publisher" text DEFAULT NULL,
687
  "owner" text DEFAULT NULL,
688
  "info" hstore DEFAULT NULL,
689
  PRIMARY KEY ("id"),
690
  /*CONSTRAINT "source_unique" */UNIQUE ("parent","name"),
691
  /*KEY "fk_source1_idx" ("parent")*/CHECK (true),
692
  /*KEY "fk_source_party1_idx" ("owner")*/CHECK (true),
693
  /*KEY "fk_source_party2_idx" ("first_publisher")*/CHECK (true),
694
  /*CONSTRAINT "fk_source1" FOREIGN KEY ("parent") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
695
  /*CONSTRAINT "fk_source_party1" FOREIGN KEY ("owner") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
696
  /*CONSTRAINT "fk_source_party2" FOREIGN KEY ("first_publisher") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
697
) /*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)'*/;
698
/*!40101 SET character_set_client = @saved_cs_client */;
699

    
700
--
701
-- Dumping data for table "source"
702
--
703

    
704
/*!40000 ALTER TABLE "source" DISABLE KEYS */;
705
/*!40000 ALTER TABLE "source" ENABLE KEYS */;
706

    
707
--
708
-- Table structure for table "specimen"
709
--
710

    
711
/*!40101 SET @saved_cs_client     = @@character_set_client */;
712
/*!40101 SET character_set_client = utf8 */;
713
CREATE TABLE "specimen" (
714
  "id" text NOT NULL,
715
  "individual" text DEFAULT NULL,
716
  "code_in_individual" text DEFAULT NULL,
717
  "collection_event" text DEFAULT NULL,
718
  "orig_collection" text DEFAULT NULL,
719
  "barcode" text DEFAULT NULL,
720
  "accession_number" text DEFAULT NULL,
721
  "specimenholder_institutions" text DEFAULT NULL,
722
  "current_collection" text DEFAULT NULL,
723
  "owner_collection" text DEFAULT NULL,
724
  PRIMARY KEY ("id"),
725
  /*CONSTRAINT "specimen_unique_in_individual" */UNIQUE ("individual","code_in_individual"),
726
  /*CONSTRAINT "specimen_unique_by_collection_event" */UNIQUE ("collection_event"),
727
  /*CONSTRAINT "specimen_unique_in_collection_by_barcode" */UNIQUE ("orig_collection","barcode"),
728
  /*CONSTRAINT "specimen_unique_in_collection_by_accession_number" */UNIQUE ("orig_collection","accession_number"),
729
  /*KEY "fk_specimen_collection1_idx" ("orig_collection")*/CHECK (true),
730
  /*KEY "fk_specimen_taxon_observation1_idx" ("collection_event")*/CHECK (true),
731
  /*KEY "fk_specimen_individual1_idx" ("individual")*/CHECK (true),
732
  /*KEY "fk_specimen_collection2_idx" ("current_collection")*/CHECK (true),
733
  /*KEY "fk_specimen_organization3_idx" ("owner_collection")*/CHECK (true),
734
  /*KEY "fk_specimen_party_list1_idx" ("specimenholder_institutions")*/CHECK (true),
735
  /*CONSTRAINT "fk_specimen_organization3" FOREIGN KEY ("owner_collection") REFERENCES "collection" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
736
  /*CONSTRAINT "fk_specimen_taxon_observation1" FOREIGN KEY ("collection_event") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
737
  /*CONSTRAINT "fk_specimen_individual1" FOREIGN KEY ("individual") REFERENCES "individual" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
738
  /*CONSTRAINT "fk_specimen_collection2" FOREIGN KEY ("current_collection") REFERENCES "collection" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
739
  /*CONSTRAINT "fk_specimen_party_list1" FOREIGN KEY ("specimenholder_institutions") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
740
  /*CONSTRAINT "fk_specimen_collection1" FOREIGN KEY ("orig_collection") REFERENCES "collection" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
741
  /*CONSTRAINT "fk_specimen_taxon_occurrence1" FOREIGN KEY ("id") REFERENCES "taxon_occurrence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
742
) /*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'*/;
743
/*!40101 SET character_set_client = @saved_cs_client */;
744

    
745
--
746
-- Dumping data for table "specimen"
747
--
748

    
749
/*!40000 ALTER TABLE "specimen" DISABLE KEYS */;
750
/*!40000 ALTER TABLE "specimen" ENABLE KEYS */;
751

    
752
--
753
-- Table structure for table "specimen_observation"
754
--
755

    
756
/*!40101 SET @saved_cs_client     = @@character_set_client */;
757
/*!40101 SET character_set_client = utf8 */;
758
CREATE TABLE "specimen_observation" (
759
  "id" text NOT NULL,
760
  "specimen" text NOT NULL,
761
  "traits" hstore DEFAULT NULL,
762
  PRIMARY KEY ("id"),
763
  /*KEY "fk_specimen_observation_specimen1_idx" ("specimen")*/CHECK (true),
764
  /*CONSTRAINT "fk_specimen_taxon_occurrence10" FOREIGN KEY ("id") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
765
  /*CONSTRAINT "fk_specimen_observation_specimen1" FOREIGN KEY ("specimen") REFERENCES "specimen" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
766
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
767
/*!40101 SET character_set_client = @saved_cs_client */;
768

    
769
--
770
-- Dumping data for table "specimen_observation"
771
--
772

    
773
/*!40000 ALTER TABLE "specimen_observation" DISABLE KEYS */;
774
/*!40000 ALTER TABLE "specimen_observation" ENABLE KEYS */;
775

    
776
--
777
-- Table structure for table "stem"
778
--
779

    
780
/*!40101 SET @saved_cs_client     = @@character_set_client */;
781
/*!40101 SET character_set_client = utf8 */;
782
CREATE TABLE "stem" (
783
  "id" text NOT NULL,
784
  "individual" text NOT NULL,
785
  PRIMARY KEY ("id"),
786
  /*KEY "fk_stem_individual1_idx" ("individual")*/CHECK (true),
787
  /*CONSTRAINT "fk_stem_individual1" FOREIGN KEY ("individual") REFERENCES "individual" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
788
  /*CONSTRAINT "fk_stem_individual2" FOREIGN KEY ("id") REFERENCES "individual" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
789
) /*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)'*/;
790
/*!40101 SET character_set_client = @saved_cs_client */;
791

    
792
--
793
-- Dumping data for table "stem"
794
--
795

    
796
/*!40000 ALTER TABLE "stem" DISABLE KEYS */;
797
/*!40000 ALTER TABLE "stem" ENABLE KEYS */;
798

    
799
--
800
-- Table structure for table "stem_observation"
801
--
802

    
803
/*!40101 SET @saved_cs_client     = @@character_set_client */;
804
/*!40101 SET character_set_client = utf8 */;
805
CREATE TABLE "stem_observation" (
806
  "id" text NOT NULL,
807
  "individual_observation" text NOT NULL,
808
  "stem" text DEFAULT NULL,
809
  "traits" hstore DEFAULT NULL,
810
  PRIMARY KEY ("id"),
811
  /*CONSTRAINT "stem_observation_unique" */UNIQUE ("individual_observation","stem"),
812
  /*KEY "fk_stem_observation_individual_observation1_idx" ("individual_observation")*/CHECK (true),
813
  /*KEY "fk_stem_observation_stem1_idx" ("stem")*/CHECK (true),
814
  /*CONSTRAINT "fk_stem_observation_stem1" FOREIGN KEY ("stem") REFERENCES "stem" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
815
  /*CONSTRAINT "fk_stem_observation_individual_observation1" FOREIGN KEY ("individual_observation") REFERENCES "individual_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
816
  /*CONSTRAINT "fk_stem_observation_individual_observation2" FOREIGN KEY ("id") REFERENCES "individual_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
817
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of a [[VegCore#Stem|Stem]]'*/;
818
/*!40101 SET character_set_client = @saved_cs_client */;
819

    
820
--
821
-- Dumping data for table "stem_observation"
822
--
823

    
824
/*!40000 ALTER TABLE "stem_observation" DISABLE KEYS */;
825
/*!40000 ALTER TABLE "stem_observation" ENABLE KEYS */;
826

    
827
--
828
-- Table structure for table "stratum"
829
--
830

    
831
/*!40101 SET @saved_cs_client     = @@character_set_client */;
832
/*!40101 SET character_set_client = utf8 */;
833
CREATE TABLE "stratum" (
834
  "id" text NOT NULL,
835
  "name" text NOT NULL,
836
  "info" hstore DEFAULT NULL,
837
  PRIMARY KEY ("id"),
838
  /*CONSTRAINT "fk_place_path_record10" FOREIGN KEY ("id") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
839
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
840
/*!40101 SET character_set_client = @saved_cs_client */;
841

    
842
--
843
-- Dumping data for table "stratum"
844
--
845

    
846
/*!40000 ALTER TABLE "stratum" DISABLE KEYS */;
847
/*!40000 ALTER TABLE "stratum" ENABLE KEYS */;
848

    
849
--
850
-- Table structure for table "subplot"
851
--
852

    
853
/*!40101 SET @saved_cs_client     = @@character_set_client */;
854
/*!40101 SET character_set_client = utf8 */;
855
CREATE TABLE "subplot" (
856
  "id" text NOT NULL,
857
  "x_m" double precision DEFAULT NULL,
858
  "y_m" double precision DEFAULT NULL,
859
  "coords" hstore DEFAULT NULL,
860
  PRIMARY KEY ("id"),
861
  /*CONSTRAINT "fk_subplot_plot1" FOREIGN KEY ("id") REFERENCES "plot" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
862
) /*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)'*/;
863
/*!40101 SET character_set_client = @saved_cs_client */;
864

    
865
--
866
-- Dumping data for table "subplot"
867
--
868

    
869
/*!40000 ALTER TABLE "subplot" DISABLE KEYS */;
870
/*!40000 ALTER TABLE "subplot" ENABLE KEYS */;
871

    
872
--
873
-- Table structure for table "taxon_absence"
874
--
875

    
876
/*!40101 SET @saved_cs_client     = @@character_set_client */;
877
/*!40101 SET character_set_client = utf8 */;
878
CREATE TABLE "taxon_absence" (
879
  "id" text NOT NULL,
880
  "taxon_concept" text NOT NULL,
881
  PRIMARY KEY ("id"),
882
  /*KEY "fk_taxon_presence_taxon_name1_idx" ("taxon_concept")*/CHECK (true),
883
  /*CONSTRAINT "fk_taxon_observation_taxon_occurrence10" FOREIGN KEY ("id") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
884
  /*CONSTRAINT "fk_taxon_presence_taxon_name10" FOREIGN KEY ("taxon_concept") REFERENCES "taxon_concept" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
885
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation that a [[VegCore#Taxon|Taxon]]''s does _not_ exist in a place'*/;
886
/*!40101 SET character_set_client = @saved_cs_client */;
887

    
888
--
889
-- Dumping data for table "taxon_absence"
890
--
891

    
892
/*!40000 ALTER TABLE "taxon_absence" DISABLE KEYS */;
893
/*!40000 ALTER TABLE "taxon_absence" ENABLE KEYS */;
894

    
895
--
896
-- Table structure for table "taxon_assertion"
897
--
898

    
899
/*!40101 SET @saved_cs_client     = @@character_set_client */;
900
/*!40101 SET character_set_client = utf8 */;
901
CREATE TABLE "taxon_assertion" (
902
  "id" text NOT NULL,
903
  "string" text NOT NULL /*COMMENT 'for parsed_taxon_assertion, this is the TNRS input name, not the concatenated matched name'*/,
904
  "taxon" text DEFAULT NULL,
905
  "cf_aff" text DEFAULT NULL,
906
  "annotations" hstore DEFAULT NULL,
907
  PRIMARY KEY ("id"),
908
  /*KEY "fk_taxon_assertion_taxon_string1_idx" ("string")*/CHECK (true),
909
  /*KEY "fk_taxon_assertion_taxon_name1_idx" ("taxon")*/CHECK (true),
910
  /*CONSTRAINT "fk_qualified_taxon_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
911
  /*CONSTRAINT "fk_taxon_assertion_taxon_string1" FOREIGN KEY ("string") REFERENCES "taxon_string" ("string") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
912
  /*CONSTRAINT "fk_taxon_assertion_taxon_name1" FOREIGN KEY ("taxon") REFERENCES "taxon_name" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
913
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
914
/*!40101 SET character_set_client = @saved_cs_client */;
915

    
916
--
917
-- Dumping data for table "taxon_assertion"
918
--
919

    
920
/*!40000 ALTER TABLE "taxon_assertion" DISABLE KEYS */;
921
/*!40000 ALTER TABLE "taxon_assertion" ENABLE KEYS */;
922

    
923
--
924
-- Table structure for table "taxon_concept"
925
--
926

    
927
/*!40101 SET @saved_cs_client     = @@character_set_client */;
928
/*!40101 SET character_set_client = utf8 */;
929
CREATE TABLE "taxon_concept" (
930
  "id" text NOT NULL,
931
  "according_to" text NOT NULL,
932
  "parent" text NOT NULL,
933
  "accepted_taxon_concept" text DEFAULT NULL,
934
  PRIMARY KEY ("id"),
935
  /*CONSTRAINT "taxon_concept_unique_name" */UNIQUE ("according_to"),
936
  /*KEY "fk_taxon_taxon1_idx" ("parent")*/CHECK (true),
937
  /*KEY "fk_taxon_concept_source1_idx" ("according_to")*/CHECK (true),
938
  /*KEY "fk_taxon_concept_taxon_concept1_idx" ("accepted_taxon_concept")*/CHECK (true),
939
  /*CONSTRAINT "fk_taxon_taxon1" FOREIGN KEY ("parent") REFERENCES "taxon_concept" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
940
  /*CONSTRAINT "fk_taxon_concept_source1" FOREIGN KEY ("according_to") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
941
  /*CONSTRAINT "fk_taxon_concept_taxon_concept1" FOREIGN KEY ("accepted_taxon_concept") REFERENCES "taxon_concept" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
942
  /*CONSTRAINT "fk_taxon_concept_taxon_name1" FOREIGN KEY ("id") REFERENCES "taxon_name" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
943
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A [[VegCore#Taxon|Taxon]] described by a specific [[VegCore#Reference|Reference]]'*/;
944
/*!40101 SET character_set_client = @saved_cs_client */;
945

    
946
--
947
-- Dumping data for table "taxon_concept"
948
--
949

    
950
/*!40000 ALTER TABLE "taxon_concept" DISABLE KEYS */;
951
/*!40000 ALTER TABLE "taxon_concept" ENABLE KEYS */;
952

    
953
--
954
-- Table structure for table "taxon_determination"
955
--
956

    
957
/*!40101 SET @saved_cs_client     = @@character_set_client */;
958
/*!40101 SET character_set_client = utf8 */;
959
CREATE TABLE "taxon_determination" (
960
  "id" text NOT NULL,
961
  "taxon_observation" text NOT NULL,
962
  "identified_by" text DEFAULT NULL,
963
  "taxon_assertion" text NOT NULL,
964
  "fit_info" hstore DEFAULT NULL,
965
  PRIMARY KEY ("id"),
966
  /*CONSTRAINT "taxon_determination_unique" */UNIQUE ("taxon_assertion","identified_by"),
967
  /*KEY "fk_taxon_occurrence_has_qualified_taxon1_idx" ("taxon_assertion")*/CHECK (true),
968
  /*KEY "fk_taxon_determination_party_list1_idx" ("identified_by")*/CHECK (true),
969
  /*KEY "fk_taxon_determination_taxon_observation1_idx" ("taxon_observation")*/CHECK (true),
970
  /*CONSTRAINT "fk_taxon_occurrence_has_qualified_taxon1" FOREIGN KEY ("taxon_assertion") REFERENCES "taxon_assertion" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
971
  /*CONSTRAINT "fk_taxon_determination_party_list1" FOREIGN KEY ("identified_by") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
972
  /*CONSTRAINT "fk_taxon_determination_taxon_observation1" FOREIGN KEY ("taxon_observation") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
973
  /*CONSTRAINT "fk_taxon_determination_sampling_event1" FOREIGN KEY ("id") REFERENCES "sampling_event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
974
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An assertion that a [[VegCore#TaxonOccurrence|TaxonOccurrence]] is a particular [[VegCore#Taxon|Taxon]]'*/;
975
/*!40101 SET character_set_client = @saved_cs_client */;
976

    
977
--
978
-- Dumping data for table "taxon_determination"
979
--
980

    
981
/*!40000 ALTER TABLE "taxon_determination" DISABLE KEYS */;
982
/*!40000 ALTER TABLE "taxon_determination" ENABLE KEYS */;
983

    
984
--
985
-- Table structure for table "taxon_name"
986
--
987

    
988
/*!40101 SET @saved_cs_client     = @@character_set_client */;
989
/*!40101 SET character_set_client = utf8 */;
990
CREATE TABLE "taxon_name" (
991
  "id" text NOT NULL,
992
  "unique_name" text NOT NULL,
993
  "formal_name" text DEFAULT NULL,
994
  "taxon_name" text DEFAULT NULL,
995
  "author" text DEFAULT NULL,
996
  "common_name" text DEFAULT NULL,
997
  "rank" text DEFAULT NULL,
998
  PRIMARY KEY ("id"),
999
  /*KEY "fk_taxon_concept_taxon_string10_idx" ("unique_name")*/CHECK (true),
1000
  /*CONSTRAINT "fk_taxon_record10" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1001
  /*CONSTRAINT "fk_taxon_concept_taxon_string10" FOREIGN KEY ("unique_name") REFERENCES "taxon_string" ("string") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1002
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
1003
/*!40101 SET character_set_client = @saved_cs_client */;
1004

    
1005
--
1006
-- Dumping data for table "taxon_name"
1007
--
1008

    
1009
/*!40000 ALTER TABLE "taxon_name" DISABLE KEYS */;
1010
/*!40000 ALTER TABLE "taxon_name" ENABLE KEYS */;
1011

    
1012
--
1013
-- Table structure for table "taxon_observation"
1014
--
1015

    
1016
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1017
/*!40101 SET character_set_client = utf8 */;
1018
CREATE TABLE "taxon_observation" (
1019
  "id" text NOT NULL,
1020
  "taxon_occurrence" text NOT NULL,
1021
  "collectors" text DEFAULT NULL,
1022
  "collector_number" text DEFAULT NULL,
1023
  "voucher" text DEFAULT NULL,
1024
  "growth_form" text DEFAULT NULL,
1025
  "cultivated" integer DEFAULT NULL,
1026
  "traits" hstore DEFAULT NULL,
1027
  PRIMARY KEY ("id"),
1028
  /*KEY "fk_taxon_observation_taxon_occurrence2_idx" ("taxon_occurrence")*/CHECK (true),
1029
  /*KEY "fk_taxon_observation_specimen1_idx" ("voucher")*/CHECK (true),
1030
  /*KEY "fk_taxon_observation_party_list1_idx" ("collectors")*/CHECK (true),
1031
  /*CONSTRAINT "fk_taxon_observation_party_list1" FOREIGN KEY ("collectors") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1032
  /*CONSTRAINT "fk_taxon_observation_sampling_event1" FOREIGN KEY ("id") REFERENCES "sampling_event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1033
  /*CONSTRAINT "fk_taxon_observation_specimen1" FOREIGN KEY ("voucher") REFERENCES "specimen" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1034
  /*CONSTRAINT "fk_taxon_observation_taxon_occurrence2" FOREIGN KEY ("taxon_occurrence") REFERENCES "taxon_occurrence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1035
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
1036
/*!40101 SET character_set_client = @saved_cs_client */;
1037

    
1038
--
1039
-- Dumping data for table "taxon_observation"
1040
--
1041

    
1042
/*!40000 ALTER TABLE "taxon_observation" DISABLE KEYS */;
1043
/*!40000 ALTER TABLE "taxon_observation" ENABLE KEYS */;
1044

    
1045
--
1046
-- Table structure for table "taxon_occurrence"
1047
--
1048

    
1049
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1050
/*!40101 SET character_set_client = utf8 */;
1051
CREATE TABLE "taxon_occurrence" (
1052
  "id" text NOT NULL,
1053
  "current_determination" text DEFAULT NULL,
1054
  "original_determination" text DEFAULT NULL,
1055
  PRIMARY KEY ("id"),
1056
  /*KEY "fk_taxon_occurrence_taxon_determination1_idx" ("original_determination")*/CHECK (true),
1057
  /*KEY "fk_taxon_occurrence_taxon_determination2_idx" ("current_determination")*/CHECK (true),
1058
  /*CONSTRAINT "fk_taxon_occurrence_taxon_determination1" FOREIGN KEY ("original_determination") REFERENCES "taxon_determination" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1059
  /*CONSTRAINT "fk_taxon_occurrence_taxon_determination2" FOREIGN KEY ("current_determination") REFERENCES "taxon_determination" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1060
  /*CONSTRAINT "fk_taxon_occurrence_event1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1061
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Any entity on which [[VegCore#TaxonDetermination|TaxonDetermination]]s can be made'*/;
1062
/*!40101 SET character_set_client = @saved_cs_client */;
1063

    
1064
--
1065
-- Dumping data for table "taxon_occurrence"
1066
--
1067

    
1068
/*!40000 ALTER TABLE "taxon_occurrence" DISABLE KEYS */;
1069
/*!40000 ALTER TABLE "taxon_occurrence" ENABLE KEYS */;
1070

    
1071
--
1072
-- Table structure for table "taxon_path"
1073
--
1074

    
1075
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1076
/*!40101 SET character_set_client = utf8 */;
1077
CREATE TABLE "taxon_path" (
1078
  "id" text NOT NULL,
1079
  "family" text DEFAULT NULL,
1080
  "genus" text DEFAULT NULL,
1081
  "specific_epithet" text DEFAULT NULL,
1082
  "ranks" hstore DEFAULT NULL,
1083
  PRIMARY KEY ("id"),
1084
  /*CONSTRAINT "fk_taxon_path_taxon_name1" FOREIGN KEY ("id") REFERENCES "taxon_name" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1085
) /*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)'*/;
1086
/*!40101 SET character_set_client = @saved_cs_client */;
1087

    
1088
--
1089
-- Dumping data for table "taxon_path"
1090
--
1091

    
1092
/*!40000 ALTER TABLE "taxon_path" DISABLE KEYS */;
1093
/*!40000 ALTER TABLE "taxon_path" ENABLE KEYS */;
1094

    
1095
--
1096
-- Table structure for table "taxon_presence"
1097
--
1098

    
1099
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1100
/*!40101 SET character_set_client = utf8 */;
1101
CREATE TABLE "taxon_presence" (
1102
  "id" text NOT NULL,
1103
  "taxon_concept" text NOT NULL,
1104
  "traits" hstore DEFAULT NULL,
1105
  PRIMARY KEY ("id"),
1106
  /*KEY "fk_taxon_presence_taxon_name1_idx" ("taxon_concept")*/CHECK (true),
1107
  /*CONSTRAINT "fk_taxon_observation_taxon_occurrence1" FOREIGN KEY ("id") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1108
  /*CONSTRAINT "fk_taxon_presence_taxon_name1" FOREIGN KEY ("taxon_concept") REFERENCES "taxon_concept" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1109
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of just a [[VegCore#Taxon|Taxon]]''s _presence_'*/;
1110
/*!40101 SET character_set_client = @saved_cs_client */;
1111

    
1112
--
1113
-- Dumping data for table "taxon_presence"
1114
--
1115

    
1116
/*!40000 ALTER TABLE "taxon_presence" DISABLE KEYS */;
1117
/*!40000 ALTER TABLE "taxon_presence" ENABLE KEYS */;
1118

    
1119
--
1120
-- Table structure for table "taxon_scrub"
1121
--
1122

    
1123
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1124
/*!40101 SET character_set_client = utf8 */;
1125
CREATE TABLE "taxon_scrub" (
1126
  "id" text NOT NULL,
1127
  "input_string" text NOT NULL,
1128
  "parsed_taxon_assertion" text NOT NULL,
1129
  "matched_taxon_concept" text DEFAULT NULL,
1130
  "match_score" float DEFAULT NULL,
1131
  "match_info" hstore DEFAULT NULL,
1132
  PRIMARY KEY ("id"),
1133
  /*KEY "fk_parsed_taxon_assertion_taxon_name1_idx" ("matched_taxon_concept")*/CHECK (true),
1134
  /*KEY "fk_taxon_scrub_taxon_assertion1_idx" ("parsed_taxon_assertion")*/CHECK (true),
1135
  /*KEY "fk_taxon_scrub_taxon_string1_idx" ("input_string")*/CHECK (true),
1136
  /*CONSTRAINT "fk_parsed_taxon_assertion_taxon_name1" FOREIGN KEY ("matched_taxon_concept") REFERENCES "taxon_concept" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1137
  /*CONSTRAINT "fk_taxon_scrub_taxon_assertion1" FOREIGN KEY ("parsed_taxon_assertion") REFERENCES "taxon_assertion" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1138
  /*CONSTRAINT "fk_taxon_scrub_taxon_string1" FOREIGN KEY ("input_string") REFERENCES "taxon_string" ("string") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1139
  /*CONSTRAINT "fk_taxon_scrub_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1140
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
1141
/*!40101 SET character_set_client = @saved_cs_client */;
1142

    
1143
--
1144
-- Dumping data for table "taxon_scrub"
1145
--
1146

    
1147
/*!40000 ALTER TABLE "taxon_scrub" DISABLE KEYS */;
1148
/*!40000 ALTER TABLE "taxon_scrub" ENABLE KEYS */;
1149

    
1150
--
1151
-- Table structure for table "taxon_string"
1152
--
1153

    
1154
/*!40101 SET @saved_cs_client     = @@character_set_client */;
1155
/*!40101 SET character_set_client = utf8 */;
1156
CREATE TABLE "taxon_string" (
1157
  "string" text NOT NULL,
1158
  PRIMARY KEY ("string")
1159
) /*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)'*/;
1160
/*!40101 SET character_set_client = @saved_cs_client */;
1161

    
1162
--
1163
-- Dumping data for table "taxon_string"
1164
--
1165

    
1166
/*!40000 ALTER TABLE "taxon_string" DISABLE KEYS */;
1167
/*!40000 ALTER TABLE "taxon_string" ENABLE KEYS */;
1168
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
1169

    
1170
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
1171
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
1172
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
1173
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
1174
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
1175
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
1176
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
1177

    
1178
-- Dump completed
(9-9/14)