1
|
/*
|
2
|
* DDL file to generate the database schema for the H2 test database
|
3
|
*/
|
4
|
|
5
|
-- These settings where taken from the original 001-cdm.h2.sql file:
|
6
|
|
7
|
SET CLUSTER '';
|
8
|
SET DEFAULT_TABLE_TYPE 0;
|
9
|
SET WRITE_DELAY 500;
|
10
|
SET DEFAULT_LOCK_TIMEOUT 2000;
|
11
|
SET CACHE_SIZE 16384;
|
12
|
|
13
|
CREATE USER IF NOT EXISTS EDIT PASSWORD '' ADMIN;
|
14
|
CREATE SEQUENCE PUBLIC.SYSTEM_SEQUENCE_10A55F0A_EE57_42DB_8046_6240A60AD0EC START WITH 4 BELONGS_TO_TABLE;
|
15
|
|
16
|
-- DDL generated by class DdlCreator using maven antrun plugin:
|
17
|
-- ===========================================================
|
18
|
|
19
|
create table PUBLIC.ADDRESS (
|
20
|
ID integer not null,
|
21
|
CREATED timestamp,
|
22
|
UUID varchar(36),
|
23
|
UPDATED timestamp,
|
24
|
LOCALITY varchar(255),
|
25
|
LOCATION_ERRORRADIUS integer,
|
26
|
LOCATION_LATITUDE double,
|
27
|
LOCATION_LONGITUDE double,
|
28
|
POBOX varchar(255),
|
29
|
POSTCODE varchar(255),
|
30
|
REGION varchar(255),
|
31
|
STREET varchar(255),
|
32
|
CREATEDBY_ID integer,
|
33
|
UPDATEDBY_ID integer,
|
34
|
COUNTRY_ID integer,
|
35
|
LOCATION_REFERENCESYSTEM_ID integer,
|
36
|
primary key (ID)
|
37
|
);
|
38
|
|
39
|
create table PUBLIC.ADDRESS_AUD (
|
40
|
ID integer not null,
|
41
|
REV integer not null,
|
42
|
REVTYPE tinyint,
|
43
|
CREATED timestamp,
|
44
|
UUID varchar(36),
|
45
|
UPDATED timestamp,
|
46
|
LOCALITY varchar(255),
|
47
|
LOCATION_ERRORRADIUS integer,
|
48
|
LOCATION_LATITUDE double,
|
49
|
LOCATION_LONGITUDE double,
|
50
|
POBOX varchar(255),
|
51
|
POSTCODE varchar(255),
|
52
|
REGION varchar(255),
|
53
|
STREET varchar(255),
|
54
|
CREATEDBY_ID integer,
|
55
|
UPDATEDBY_ID integer,
|
56
|
COUNTRY_ID integer,
|
57
|
LOCATION_REFERENCESYSTEM_ID integer,
|
58
|
primary key (ID, REV)
|
59
|
);
|
60
|
|
61
|
create table PUBLIC.AGENTBASE (
|
62
|
DTYPE varchar(31) not null,
|
63
|
ID integer not null,
|
64
|
CREATED timestamp,
|
65
|
UUID varchar(36),
|
66
|
UPDATED timestamp,
|
67
|
LSID_AUTHORITY varchar(255),
|
68
|
LSID_LSID varchar(255),
|
69
|
LSID_NAMESPACE varchar(255),
|
70
|
LSID_OBJECT varchar(255),
|
71
|
LSID_REVISION varchar(255),
|
72
|
PROTECTEDTITLECACHE boolean not null,
|
73
|
TITLECACHE varchar(800),
|
74
|
CODE varchar(255),
|
75
|
NAME varchar(255),
|
76
|
COLLECTORTITLECACHE varchar(800),
|
77
|
NOMENCLATURALTITLECACHE varchar(800),
|
78
|
COLLECTORTITLE varchar(255),
|
79
|
FAMILYNAME varchar(255),
|
80
|
GIVENNAME varchar(255),
|
81
|
INITIALS varchar(80),
|
82
|
LIFESPAN_END varchar(255),
|
83
|
LIFESPAN_FREETEXT varchar(255),
|
84
|
LIFESPAN_START varchar(255),
|
85
|
NOMENCLATURALTITLE varchar(255),
|
86
|
ORCID varchar(16),
|
87
|
PREFIX varchar(255),
|
88
|
SUFFIX varchar(255),
|
89
|
HASMOREMEMBERS boolean,
|
90
|
PROTECTEDCOLLECTORTITLECACHE boolean,
|
91
|
PROTECTEDNOMENCLATURALTITLECACHE boolean,
|
92
|
CREATEDBY_ID integer,
|
93
|
UPDATEDBY_ID integer,
|
94
|
ISPARTOF_ID integer,
|
95
|
primary key (ID)
|
96
|
);
|
97
|
|
98
|
create table PUBLIC.AGENTBASE_ADDRESS (
|
99
|
AGENTBASE_ID integer not null,
|
100
|
CONTACT_ADDRESSES_ID integer not null,
|
101
|
primary key (AGENTBASE_ID, CONTACT_ADDRESSES_ID)
|
102
|
);
|
103
|
|
104
|
create table PUBLIC.AGENTBASE_ADDRESS_AUD (
|
105
|
REV integer not null,
|
106
|
AGENTBASE_ID integer not null,
|
107
|
CONTACT_ADDRESSES_ID integer not null,
|
108
|
REVTYPE tinyint,
|
109
|
primary key (REV, AGENTBASE_ID, CONTACT_ADDRESSES_ID)
|
110
|
);
|
111
|
|
112
|
create table PUBLIC.AGENTBASE_AGENTBASE (
|
113
|
TEAM_ID integer not null,
|
114
|
TEAMMEMBERS_ID integer not null,
|
115
|
SORTINDEX integer not null,
|
116
|
primary key (TEAM_ID, SORTINDEX)
|
117
|
);
|
118
|
|
119
|
create table PUBLIC.AGENTBASE_AGENTBASE_AUD (
|
120
|
REV integer not null,
|
121
|
TEAM_ID integer not null,
|
122
|
TEAMMEMBERS_ID integer not null,
|
123
|
SORTINDEX integer not null,
|
124
|
REVTYPE tinyint,
|
125
|
primary key (REV, TEAM_ID, TEAMMEMBERS_ID, SORTINDEX)
|
126
|
);
|
127
|
|
128
|
create table PUBLIC.AGENTBASE_ANNOTATION (
|
129
|
AGENTBASE_ID integer not null,
|
130
|
ANNOTATIONS_ID integer not null,
|
131
|
primary key (AGENTBASE_ID, ANNOTATIONS_ID)
|
132
|
);
|
133
|
|
134
|
create table PUBLIC.AGENTBASE_ANNOTATION_AUD (
|
135
|
REV integer not null,
|
136
|
AGENTBASE_ID integer not null,
|
137
|
ANNOTATIONS_ID integer not null,
|
138
|
REVTYPE tinyint,
|
139
|
primary key (REV, AGENTBASE_ID, ANNOTATIONS_ID)
|
140
|
);
|
141
|
|
142
|
create table PUBLIC.AGENTBASE_AUD (
|
143
|
ID integer not null,
|
144
|
REV integer not null,
|
145
|
DTYPE varchar(31) not null,
|
146
|
REVTYPE tinyint,
|
147
|
CREATED timestamp,
|
148
|
UUID varchar(36),
|
149
|
UPDATED timestamp,
|
150
|
LSID_AUTHORITY varchar(255),
|
151
|
LSID_LSID varchar(255),
|
152
|
LSID_NAMESPACE varchar(255),
|
153
|
LSID_OBJECT varchar(255),
|
154
|
LSID_REVISION varchar(255),
|
155
|
PROTECTEDTITLECACHE boolean,
|
156
|
TITLECACHE varchar(800),
|
157
|
CREATEDBY_ID integer,
|
158
|
UPDATEDBY_ID integer,
|
159
|
CODE varchar(255),
|
160
|
NAME varchar(255),
|
161
|
ISPARTOF_ID integer,
|
162
|
COLLECTORTITLECACHE varchar(800),
|
163
|
NOMENCLATURALTITLECACHE varchar(800),
|
164
|
HASMOREMEMBERS boolean,
|
165
|
PROTECTEDCOLLECTORTITLECACHE boolean,
|
166
|
PROTECTEDNOMENCLATURALTITLECACHE boolean,
|
167
|
COLLECTORTITLE varchar(255),
|
168
|
FAMILYNAME varchar(255),
|
169
|
GIVENNAME varchar(255),
|
170
|
INITIALS varchar(80),
|
171
|
LIFESPAN_END varchar(255),
|
172
|
LIFESPAN_FREETEXT varchar(255),
|
173
|
LIFESPAN_START varchar(255),
|
174
|
NOMENCLATURALTITLE varchar(255),
|
175
|
ORCID varchar(16),
|
176
|
PREFIX varchar(255),
|
177
|
SUFFIX varchar(255),
|
178
|
primary key (ID, REV)
|
179
|
);
|
180
|
|
181
|
create table PUBLIC.AGENTBASE_CONTACT_EMAILADDRESSES (
|
182
|
AGENTBASE_ID integer not null,
|
183
|
CONTACT_EMAILADDRESSES_ELEMENT varchar(255)
|
184
|
);
|
185
|
|
186
|
create table PUBLIC.AGENTBASE_CONTACT_EMAILADDRESSES_AUD (
|
187
|
REV integer not null,
|
188
|
AGENTBASE_ID integer not null,
|
189
|
CONTACT_EMAILADDRESSES_ELEMENT varchar(255) not null,
|
190
|
REVTYPE tinyint,
|
191
|
primary key (REV, AGENTBASE_ID, CONTACT_EMAILADDRESSES_ELEMENT)
|
192
|
);
|
193
|
|
194
|
create table PUBLIC.AGENTBASE_CONTACT_FAXNUMBERS (
|
195
|
AGENTBASE_ID integer not null,
|
196
|
CONTACT_FAXNUMBERS_ELEMENT varchar(255)
|
197
|
);
|
198
|
|
199
|
create table PUBLIC.AGENTBASE_CONTACT_FAXNUMBERS_AUD (
|
200
|
REV integer not null,
|
201
|
AGENTBASE_ID integer not null,
|
202
|
CONTACT_FAXNUMBERS_ELEMENT varchar(255) not null,
|
203
|
REVTYPE tinyint,
|
204
|
primary key (REV, AGENTBASE_ID, CONTACT_FAXNUMBERS_ELEMENT)
|
205
|
);
|
206
|
|
207
|
create table PUBLIC.AGENTBASE_CONTACT_PHONENUMBERS (
|
208
|
AGENTBASE_ID integer not null,
|
209
|
CONTACT_PHONENUMBERS_ELEMENT varchar(255)
|
210
|
);
|
211
|
|
212
|
create table PUBLIC.AGENTBASE_CONTACT_PHONENUMBERS_AUD (
|
213
|
REV integer not null,
|
214
|
AGENTBASE_ID integer not null,
|
215
|
CONTACT_PHONENUMBERS_ELEMENT varchar(255) not null,
|
216
|
REVTYPE tinyint,
|
217
|
primary key (REV, AGENTBASE_ID, CONTACT_PHONENUMBERS_ELEMENT)
|
218
|
);
|
219
|
|
220
|
create table PUBLIC.AGENTBASE_CONTACT_URLS (
|
221
|
AGENTBASE_ID integer not null,
|
222
|
CONTACT_URLS_ELEMENT varchar(255)
|
223
|
);
|
224
|
|
225
|
create table PUBLIC.AGENTBASE_CONTACT_URLS_AUD (
|
226
|
REV integer not null,
|
227
|
AGENTBASE_ID integer not null,
|
228
|
CONTACT_URLS_ELEMENT varchar(255) not null,
|
229
|
REVTYPE tinyint,
|
230
|
primary key (REV, AGENTBASE_ID, CONTACT_URLS_ELEMENT)
|
231
|
);
|
232
|
|
233
|
create table PUBLIC.AGENTBASE_CREDIT (
|
234
|
AGENTBASE_ID integer not null,
|
235
|
CREDITS_ID integer not null,
|
236
|
SORTINDEX integer not null,
|
237
|
primary key (AGENTBASE_ID, SORTINDEX)
|
238
|
);
|
239
|
|
240
|
create table PUBLIC.AGENTBASE_CREDIT_AUD (
|
241
|
REV integer not null,
|
242
|
AGENTBASE_ID integer not null,
|
243
|
CREDITS_ID integer not null,
|
244
|
SORTINDEX integer not null,
|
245
|
REVTYPE tinyint,
|
246
|
primary key (REV, AGENTBASE_ID, CREDITS_ID, SORTINDEX)
|
247
|
);
|
248
|
|
249
|
create table PUBLIC.AGENTBASE_DEFINEDTERMBASE (
|
250
|
INSTITUTION_ID integer not null,
|
251
|
TYPES_ID integer not null,
|
252
|
primary key (INSTITUTION_ID, TYPES_ID)
|
253
|
);
|
254
|
|
255
|
create table PUBLIC.AGENTBASE_DEFINEDTERMBASE_AUD (
|
256
|
REV integer not null,
|
257
|
INSTITUTION_ID integer not null,
|
258
|
TYPES_ID integer not null,
|
259
|
REVTYPE tinyint,
|
260
|
primary key (REV, INSTITUTION_ID, TYPES_ID)
|
261
|
);
|
262
|
|
263
|
create table PUBLIC.AGENTBASE_EXTENSION (
|
264
|
AGENTBASE_ID integer not null,
|
265
|
EXTENSIONS_ID integer not null,
|
266
|
primary key (AGENTBASE_ID, EXTENSIONS_ID)
|
267
|
);
|
268
|
|
269
|
create table PUBLIC.AGENTBASE_EXTENSION_AUD (
|
270
|
REV integer not null,
|
271
|
AGENTBASE_ID integer not null,
|
272
|
EXTENSIONS_ID integer not null,
|
273
|
REVTYPE tinyint,
|
274
|
primary key (REV, AGENTBASE_ID, EXTENSIONS_ID)
|
275
|
);
|
276
|
|
277
|
create table PUBLIC.AGENTBASE_EXTERNALLINK (
|
278
|
AGENTBASE_ID integer not null,
|
279
|
LINKS_ID integer not null,
|
280
|
primary key (AGENTBASE_ID, LINKS_ID)
|
281
|
);
|
282
|
|
283
|
create table PUBLIC.AGENTBASE_EXTERNALLINK_AUD (
|
284
|
REV integer not null,
|
285
|
AGENTBASE_ID integer not null,
|
286
|
LINKS_ID integer not null,
|
287
|
REVTYPE tinyint,
|
288
|
primary key (REV, AGENTBASE_ID, LINKS_ID)
|
289
|
);
|
290
|
|
291
|
create table PUBLIC.AGENTBASE_IDENTIFIER (
|
292
|
AGENTBASE_ID integer not null,
|
293
|
IDENTIFIERS_ID integer not null,
|
294
|
SORTINDEX integer not null,
|
295
|
primary key (AGENTBASE_ID, SORTINDEX)
|
296
|
);
|
297
|
|
298
|
create table PUBLIC.AGENTBASE_IDENTIFIER_AUD (
|
299
|
REV integer not null,
|
300
|
AGENTBASE_ID integer not null,
|
301
|
IDENTIFIERS_ID integer not null,
|
302
|
SORTINDEX integer not null,
|
303
|
REVTYPE tinyint,
|
304
|
primary key (REV, AGENTBASE_ID, IDENTIFIERS_ID, SORTINDEX)
|
305
|
);
|
306
|
|
307
|
create table PUBLIC.AGENTBASE_MARKER (
|
308
|
AGENTBASE_ID integer not null,
|
309
|
MARKERS_ID integer not null,
|
310
|
primary key (AGENTBASE_ID, MARKERS_ID)
|
311
|
);
|
312
|
|
313
|
create table PUBLIC.AGENTBASE_MARKER_AUD (
|
314
|
REV integer not null,
|
315
|
AGENTBASE_ID integer not null,
|
316
|
MARKERS_ID integer not null,
|
317
|
REVTYPE tinyint,
|
318
|
primary key (REV, AGENTBASE_ID, MARKERS_ID)
|
319
|
);
|
320
|
|
321
|
create table PUBLIC.AGENTBASE_MEDIA (
|
322
|
AGENTBASE_ID integer not null,
|
323
|
MEDIA_ID integer not null,
|
324
|
primary key (AGENTBASE_ID, MEDIA_ID)
|
325
|
);
|
326
|
|
327
|
create table PUBLIC.AGENTBASE_MEDIA_AUD (
|
328
|
REV integer not null,
|
329
|
AGENTBASE_ID integer not null,
|
330
|
MEDIA_ID integer not null,
|
331
|
REVTYPE tinyint,
|
332
|
primary key (REV, AGENTBASE_ID, MEDIA_ID)
|
333
|
);
|
334
|
|
335
|
create table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE (
|
336
|
AGENTBASE_ID integer not null,
|
337
|
SOURCES_ID integer not null,
|
338
|
primary key (AGENTBASE_ID, SOURCES_ID)
|
339
|
);
|
340
|
|
341
|
create table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE_AUD (
|
342
|
REV integer not null,
|
343
|
AGENTBASE_ID integer not null,
|
344
|
SOURCES_ID integer not null,
|
345
|
REVTYPE tinyint,
|
346
|
primary key (REV, AGENTBASE_ID, SOURCES_ID)
|
347
|
);
|
348
|
|
349
|
create table PUBLIC.AGENTBASE_RIGHTSINFO (
|
350
|
AGENTBASE_ID integer not null,
|
351
|
RIGHTS_ID integer not null,
|
352
|
primary key (AGENTBASE_ID, RIGHTS_ID)
|
353
|
);
|
354
|
|
355
|
create table PUBLIC.AGENTBASE_RIGHTSINFO_AUD (
|
356
|
REV integer not null,
|
357
|
AGENTBASE_ID integer not null,
|
358
|
RIGHTS_ID integer not null,
|
359
|
REVTYPE tinyint,
|
360
|
primary key (REV, AGENTBASE_ID, RIGHTS_ID)
|
361
|
);
|
362
|
|
363
|
create table PUBLIC.AMPLIFICATION (
|
364
|
ID integer not null,
|
365
|
CREATED timestamp,
|
366
|
UUID varchar(36),
|
367
|
UPDATED timestamp,
|
368
|
DESCRIPTION varchar(255),
|
369
|
TIMEPERIOD_END varchar(255),
|
370
|
TIMEPERIOD_FREETEXT varchar(255),
|
371
|
TIMEPERIOD_START varchar(255),
|
372
|
ELECTROPHORESISVOLTAGE double,
|
373
|
GELCONCENTRATION double,
|
374
|
GELRUNNINGTIME double,
|
375
|
LABELCACHE varchar(255),
|
376
|
LADDERUSED varchar(255),
|
377
|
CREATEDBY_ID integer,
|
378
|
UPDATEDBY_ID integer,
|
379
|
ACTOR_ID integer,
|
380
|
DNAMARKER_ID integer,
|
381
|
FORWARDPRIMER_ID integer,
|
382
|
INSTITUTION_ID integer,
|
383
|
PURIFICATION_ID integer,
|
384
|
REVERSEPRIMER_ID integer,
|
385
|
primary key (ID)
|
386
|
);
|
387
|
|
388
|
create table PUBLIC.AMPLIFICATION_ANNOTATION (
|
389
|
AMPLIFICATION_ID integer not null,
|
390
|
ANNOTATIONS_ID integer not null,
|
391
|
primary key (AMPLIFICATION_ID, ANNOTATIONS_ID)
|
392
|
);
|
393
|
|
394
|
create table PUBLIC.AMPLIFICATION_ANNOTATION_AUD (
|
395
|
REV integer not null,
|
396
|
AMPLIFICATION_ID integer not null,
|
397
|
ANNOTATIONS_ID integer not null,
|
398
|
REVTYPE tinyint,
|
399
|
primary key (REV, AMPLIFICATION_ID, ANNOTATIONS_ID)
|
400
|
);
|
401
|
|
402
|
create table PUBLIC.AMPLIFICATION_AUD (
|
403
|
ID integer not null,
|
404
|
REV integer not null,
|
405
|
REVTYPE tinyint,
|
406
|
CREATED timestamp,
|
407
|
UUID varchar(36),
|
408
|
UPDATED timestamp,
|
409
|
DESCRIPTION varchar(255),
|
410
|
TIMEPERIOD_END varchar(255),
|
411
|
TIMEPERIOD_FREETEXT varchar(255),
|
412
|
TIMEPERIOD_START varchar(255),
|
413
|
ELECTROPHORESISVOLTAGE double,
|
414
|
GELCONCENTRATION double,
|
415
|
GELRUNNINGTIME double,
|
416
|
LABELCACHE varchar(255),
|
417
|
LADDERUSED varchar(255),
|
418
|
CREATEDBY_ID integer,
|
419
|
UPDATEDBY_ID integer,
|
420
|
ACTOR_ID integer,
|
421
|
DNAMARKER_ID integer,
|
422
|
FORWARDPRIMER_ID integer,
|
423
|
INSTITUTION_ID integer,
|
424
|
PURIFICATION_ID integer,
|
425
|
REVERSEPRIMER_ID integer,
|
426
|
primary key (ID, REV)
|
427
|
);
|
428
|
|
429
|
create table PUBLIC.AMPLIFICATION_MARKER (
|
430
|
AMPLIFICATION_ID integer not null,
|
431
|
MARKERS_ID integer not null,
|
432
|
primary key (AMPLIFICATION_ID, MARKERS_ID)
|
433
|
);
|
434
|
|
435
|
create table PUBLIC.AMPLIFICATION_MARKER_AUD (
|
436
|
REV integer not null,
|
437
|
AMPLIFICATION_ID integer not null,
|
438
|
MARKERS_ID integer not null,
|
439
|
REVTYPE tinyint,
|
440
|
primary key (REV, AMPLIFICATION_ID, MARKERS_ID)
|
441
|
);
|
442
|
|
443
|
create table PUBLIC.AMPLIFICATIONRESULT (
|
444
|
ID integer not null,
|
445
|
CREATED timestamp,
|
446
|
UUID varchar(36),
|
447
|
UPDATED timestamp,
|
448
|
SUCCESSTEXT varchar(255),
|
449
|
SUCCESSFUL boolean,
|
450
|
CREATEDBY_ID integer,
|
451
|
UPDATEDBY_ID integer,
|
452
|
AMPLIFICATION_ID integer,
|
453
|
CLONING_ID integer,
|
454
|
DNASAMPLE_ID integer,
|
455
|
GELPHOTO_ID integer,
|
456
|
primary key (ID)
|
457
|
);
|
458
|
|
459
|
create table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION (
|
460
|
AMPLIFICATIONRESULT_ID integer not null,
|
461
|
ANNOTATIONS_ID integer not null,
|
462
|
primary key (AMPLIFICATIONRESULT_ID, ANNOTATIONS_ID)
|
463
|
);
|
464
|
|
465
|
create table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION_AUD (
|
466
|
REV integer not null,
|
467
|
AMPLIFICATIONRESULT_ID integer not null,
|
468
|
ANNOTATIONS_ID integer not null,
|
469
|
REVTYPE tinyint,
|
470
|
primary key (REV, AMPLIFICATIONRESULT_ID, ANNOTATIONS_ID)
|
471
|
);
|
472
|
|
473
|
create table PUBLIC.AMPLIFICATIONRESULT_AUD (
|
474
|
ID integer not null,
|
475
|
REV integer not null,
|
476
|
REVTYPE tinyint,
|
477
|
CREATED timestamp,
|
478
|
UUID varchar(36),
|
479
|
UPDATED timestamp,
|
480
|
SUCCESSTEXT varchar(255),
|
481
|
SUCCESSFUL boolean,
|
482
|
CREATEDBY_ID integer,
|
483
|
UPDATEDBY_ID integer,
|
484
|
AMPLIFICATION_ID integer,
|
485
|
CLONING_ID integer,
|
486
|
DNASAMPLE_ID integer,
|
487
|
GELPHOTO_ID integer,
|
488
|
primary key (ID, REV)
|
489
|
);
|
490
|
|
491
|
create table PUBLIC.AMPLIFICATIONRESULT_MARKER (
|
492
|
AMPLIFICATIONRESULT_ID integer not null,
|
493
|
MARKERS_ID integer not null,
|
494
|
primary key (AMPLIFICATIONRESULT_ID, MARKERS_ID)
|
495
|
);
|
496
|
|
497
|
create table PUBLIC.AMPLIFICATIONRESULT_MARKER_AUD (
|
498
|
REV integer not null,
|
499
|
AMPLIFICATIONRESULT_ID integer not null,
|
500
|
MARKERS_ID integer not null,
|
501
|
REVTYPE tinyint,
|
502
|
primary key (REV, AMPLIFICATIONRESULT_ID, MARKERS_ID)
|
503
|
);
|
504
|
|
505
|
create table PUBLIC.ANNOTATION (
|
506
|
ID integer not null,
|
507
|
CREATED timestamp,
|
508
|
UUID varchar(36),
|
509
|
UPDATED timestamp,
|
510
|
TEXT clob,
|
511
|
LINKBACKURI clob,
|
512
|
CREATEDBY_ID integer,
|
513
|
UPDATEDBY_ID integer,
|
514
|
LANGUAGE_ID integer,
|
515
|
ANNOTATIONTYPE_ID integer,
|
516
|
COMMENTATOR_ID integer,
|
517
|
primary key (ID)
|
518
|
);
|
519
|
|
520
|
create table PUBLIC.ANNOTATION_ANNOTATION (
|
521
|
ANNOTATION_ID integer not null,
|
522
|
ANNOTATIONS_ID integer not null,
|
523
|
primary key (ANNOTATION_ID, ANNOTATIONS_ID)
|
524
|
);
|
525
|
|
526
|
create table PUBLIC.ANNOTATION_ANNOTATION_AUD (
|
527
|
REV integer not null,
|
528
|
ANNOTATION_ID integer not null,
|
529
|
ANNOTATIONS_ID integer not null,
|
530
|
REVTYPE tinyint,
|
531
|
primary key (REV, ANNOTATION_ID, ANNOTATIONS_ID)
|
532
|
);
|
533
|
|
534
|
create table PUBLIC.ANNOTATION_AUD (
|
535
|
ID integer not null,
|
536
|
REV integer not null,
|
537
|
REVTYPE tinyint,
|
538
|
CREATED timestamp,
|
539
|
UUID varchar(36),
|
540
|
UPDATED timestamp,
|
541
|
TEXT clob,
|
542
|
LINKBACKURI clob,
|
543
|
CREATEDBY_ID integer,
|
544
|
UPDATEDBY_ID integer,
|
545
|
LANGUAGE_ID integer,
|
546
|
ANNOTATIONTYPE_ID integer,
|
547
|
COMMENTATOR_ID integer,
|
548
|
primary key (ID, REV)
|
549
|
);
|
550
|
|
551
|
create table PUBLIC.ANNOTATION_MARKER (
|
552
|
ANNOTATION_ID integer not null,
|
553
|
MARKERS_ID integer not null,
|
554
|
primary key (ANNOTATION_ID, MARKERS_ID)
|
555
|
);
|
556
|
|
557
|
create table PUBLIC.ANNOTATION_MARKER_AUD (
|
558
|
REV integer not null,
|
559
|
ANNOTATION_ID integer not null,
|
560
|
MARKERS_ID integer not null,
|
561
|
REVTYPE tinyint,
|
562
|
primary key (REV, ANNOTATION_ID, MARKERS_ID)
|
563
|
);
|
564
|
|
565
|
create table PUBLIC.AUDITEVENT (
|
566
|
REVISIONNUMBER integer not null,
|
567
|
DATE timestamp,
|
568
|
TIMESTAMP bigint,
|
569
|
UUID varchar(255),
|
570
|
primary key (REVISIONNUMBER)
|
571
|
);
|
572
|
|
573
|
create table PUBLIC.AUTHORITY (
|
574
|
DTYPE varchar(31) not null,
|
575
|
ID integer not null,
|
576
|
CREATED timestamp,
|
577
|
UUID varchar(36),
|
578
|
OPERATIONS varchar(255),
|
579
|
PERMISSIONCLASS varchar(255),
|
580
|
PROPERTY varchar(255),
|
581
|
TARGETUUID varchar(36),
|
582
|
ROLE varchar(255),
|
583
|
CREATEDBY_ID integer,
|
584
|
primary key (ID)
|
585
|
);
|
586
|
|
587
|
create table PUBLIC.CDMLINK (
|
588
|
DTYPE varchar(31) not null,
|
589
|
ID integer not null,
|
590
|
CREATED timestamp,
|
591
|
UUID varchar(36),
|
592
|
UPDATED timestamp,
|
593
|
ENDPOS integer,
|
594
|
STARTPOS integer,
|
595
|
CREATEDBY_ID integer,
|
596
|
UPDATEDBY_ID integer,
|
597
|
TAXON_ID integer,
|
598
|
AGENT_ID integer,
|
599
|
ANNOTATION_ID integer,
|
600
|
KEY_ID integer,
|
601
|
LANGUAGESTRING_ID integer,
|
602
|
MEDIA_ID integer,
|
603
|
OCCURRENCE_ID integer,
|
604
|
REFERENCE_ID integer,
|
605
|
SOURCE_ID integer,
|
606
|
TAXONNAME_ID integer,
|
607
|
DESCRIPTION_ID integer,
|
608
|
primary key (ID)
|
609
|
);
|
610
|
|
611
|
create table PUBLIC.CDMLINK_AUD (
|
612
|
ID integer not null,
|
613
|
REV integer not null,
|
614
|
DTYPE varchar(31) not null,
|
615
|
REVTYPE tinyint,
|
616
|
CREATED timestamp,
|
617
|
UUID varchar(36),
|
618
|
UPDATED timestamp,
|
619
|
CREATEDBY_ID integer,
|
620
|
UPDATEDBY_ID integer,
|
621
|
TAXON_ID integer,
|
622
|
ENDPOS integer,
|
623
|
STARTPOS integer,
|
624
|
AGENT_ID integer,
|
625
|
ANNOTATION_ID integer,
|
626
|
KEY_ID integer,
|
627
|
LANGUAGESTRING_ID integer,
|
628
|
MEDIA_ID integer,
|
629
|
OCCURRENCE_ID integer,
|
630
|
REFERENCE_ID integer,
|
631
|
SOURCE_ID integer,
|
632
|
TAXONNAME_ID integer,
|
633
|
DESCRIPTION_ID integer,
|
634
|
primary key (ID, REV)
|
635
|
);
|
636
|
|
637
|
create table PUBLIC.CDMMETADATA (
|
638
|
ID integer not null,
|
639
|
CREATED timestamp,
|
640
|
UUID varchar(36),
|
641
|
PROPERTYNAME varchar(20),
|
642
|
VALUE varchar(255),
|
643
|
CREATEDBY_ID integer,
|
644
|
primary key (ID)
|
645
|
);
|
646
|
|
647
|
create table PUBLIC.CDMPREFERENCE (
|
648
|
KEY_PREDICATE varchar(100) not null,
|
649
|
KEY_SUBJECT varchar(100) not null,
|
650
|
ALLOWOVERRIDE boolean not null,
|
651
|
VALUE clob,
|
652
|
primary key (KEY_PREDICATE, KEY_SUBJECT)
|
653
|
);
|
654
|
|
655
|
create table PUBLIC.CLASSIFICATION (
|
656
|
ID integer not null,
|
657
|
CREATED timestamp,
|
658
|
UUID varchar(36),
|
659
|
UPDATED timestamp,
|
660
|
LSID_AUTHORITY varchar(255),
|
661
|
LSID_LSID varchar(255),
|
662
|
LSID_NAMESPACE varchar(255),
|
663
|
LSID_OBJECT varchar(255),
|
664
|
LSID_REVISION varchar(255),
|
665
|
PROTECTEDTITLECACHE boolean not null,
|
666
|
TITLECACHE varchar(800),
|
667
|
TIMEPERIOD_END varchar(255),
|
668
|
TIMEPERIOD_FREETEXT varchar(255),
|
669
|
TIMEPERIOD_START varchar(255),
|
670
|
CREATEDBY_ID integer,
|
671
|
UPDATEDBY_ID integer,
|
672
|
NAME_ID integer,
|
673
|
ROOTNODE_ID integer,
|
674
|
SOURCE_ID integer,
|
675
|
primary key (ID)
|
676
|
);
|
677
|
|
678
|
create table PUBLIC.CLASSIFICATION_ANNOTATION (
|
679
|
CLASSIFICATION_ID integer not null,
|
680
|
ANNOTATIONS_ID integer not null,
|
681
|
primary key (CLASSIFICATION_ID, ANNOTATIONS_ID)
|
682
|
);
|
683
|
|
684
|
create table PUBLIC.CLASSIFICATION_ANNOTATION_AUD (
|
685
|
REV integer not null,
|
686
|
CLASSIFICATION_ID integer not null,
|
687
|
ANNOTATIONS_ID integer not null,
|
688
|
REVTYPE tinyint,
|
689
|
primary key (REV, CLASSIFICATION_ID, ANNOTATIONS_ID)
|
690
|
);
|
691
|
|
692
|
create table PUBLIC.CLASSIFICATION_AUD (
|
693
|
ID integer not null,
|
694
|
REV integer not null,
|
695
|
REVTYPE tinyint,
|
696
|
CREATED timestamp,
|
697
|
UUID varchar(36),
|
698
|
UPDATED timestamp,
|
699
|
LSID_AUTHORITY varchar(255),
|
700
|
LSID_LSID varchar(255),
|
701
|
LSID_NAMESPACE varchar(255),
|
702
|
LSID_OBJECT varchar(255),
|
703
|
LSID_REVISION varchar(255),
|
704
|
PROTECTEDTITLECACHE boolean,
|
705
|
TITLECACHE varchar(800),
|
706
|
TIMEPERIOD_END varchar(255),
|
707
|
TIMEPERIOD_FREETEXT varchar(255),
|
708
|
TIMEPERIOD_START varchar(255),
|
709
|
CREATEDBY_ID integer,
|
710
|
UPDATEDBY_ID integer,
|
711
|
NAME_ID integer,
|
712
|
ROOTNODE_ID integer,
|
713
|
SOURCE_ID integer,
|
714
|
primary key (ID, REV)
|
715
|
);
|
716
|
|
717
|
create table PUBLIC.CLASSIFICATION_CREDIT (
|
718
|
CLASSIFICATION_ID integer not null,
|
719
|
CREDITS_ID integer not null,
|
720
|
SORTINDEX integer not null,
|
721
|
primary key (CLASSIFICATION_ID, SORTINDEX)
|
722
|
);
|
723
|
|
724
|
create table PUBLIC.CLASSIFICATION_CREDIT_AUD (
|
725
|
REV integer not null,
|
726
|
CLASSIFICATION_ID integer not null,
|
727
|
CREDITS_ID integer not null,
|
728
|
SORTINDEX integer not null,
|
729
|
REVTYPE tinyint,
|
730
|
primary key (REV, CLASSIFICATION_ID, CREDITS_ID, SORTINDEX)
|
731
|
);
|
732
|
|
733
|
create table PUBLIC.CLASSIFICATION_DESCRIPTION (
|
734
|
CLASSIFICATION_ID integer not null,
|
735
|
DESCRIPTION_ID integer not null,
|
736
|
DESCRIPTION_MAPKEY_ID integer not null,
|
737
|
primary key (CLASSIFICATION_ID, DESCRIPTION_MAPKEY_ID)
|
738
|
);
|
739
|
|
740
|
create table PUBLIC.CLASSIFICATION_DESCRIPTION_AUD (
|
741
|
REV integer not null,
|
742
|
CLASSIFICATION_ID integer not null,
|
743
|
DESCRIPTION_ID integer not null,
|
744
|
DESCRIPTION_MAPKEY_ID integer not null,
|
745
|
REVTYPE tinyint,
|
746
|
primary key (REV, CLASSIFICATION_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID)
|
747
|
);
|
748
|
|
749
|
create table PUBLIC.CLASSIFICATION_EXTENSION (
|
750
|
CLASSIFICATION_ID integer not null,
|
751
|
EXTENSIONS_ID integer not null,
|
752
|
primary key (CLASSIFICATION_ID, EXTENSIONS_ID)
|
753
|
);
|
754
|
|
755
|
create table PUBLIC.CLASSIFICATION_EXTENSION_AUD (
|
756
|
REV integer not null,
|
757
|
CLASSIFICATION_ID integer not null,
|
758
|
EXTENSIONS_ID integer not null,
|
759
|
REVTYPE tinyint,
|
760
|
primary key (REV, CLASSIFICATION_ID, EXTENSIONS_ID)
|
761
|
);
|
762
|
|
763
|
create table PUBLIC.CLASSIFICATION_EXTERNALLINK (
|
764
|
CLASSIFICATION_ID integer not null,
|
765
|
LINKS_ID integer not null,
|
766
|
primary key (CLASSIFICATION_ID, LINKS_ID)
|
767
|
);
|
768
|
|
769
|
create table PUBLIC.CLASSIFICATION_EXTERNALLINK_AUD (
|
770
|
REV integer not null,
|
771
|
CLASSIFICATION_ID integer not null,
|
772
|
LINKS_ID integer not null,
|
773
|
REVTYPE tinyint,
|
774
|
primary key (REV, CLASSIFICATION_ID, LINKS_ID)
|
775
|
);
|
776
|
|
777
|
create table PUBLIC.CLASSIFICATION_GEOSCOPE (
|
778
|
CLASSIFICATION_ID integer not null,
|
779
|
GEOSCOPES_ID integer not null,
|
780
|
primary key (CLASSIFICATION_ID, GEOSCOPES_ID)
|
781
|
);
|
782
|
|
783
|
create table PUBLIC.CLASSIFICATION_GEOSCOPE_AUD (
|
784
|
REV integer not null,
|
785
|
CLASSIFICATION_ID integer not null,
|
786
|
GEOSCOPES_ID integer not null,
|
787
|
REVTYPE tinyint,
|
788
|
primary key (REV, CLASSIFICATION_ID, GEOSCOPES_ID)
|
789
|
);
|
790
|
|
791
|
create table PUBLIC.CLASSIFICATION_IDENTIFIER (
|
792
|
CLASSIFICATION_ID integer not null,
|
793
|
IDENTIFIERS_ID integer not null,
|
794
|
SORTINDEX integer not null,
|
795
|
primary key (CLASSIFICATION_ID, SORTINDEX)
|
796
|
);
|
797
|
|
798
|
create table PUBLIC.CLASSIFICATION_IDENTIFIER_AUD (
|
799
|
REV integer not null,
|
800
|
CLASSIFICATION_ID integer not null,
|
801
|
IDENTIFIERS_ID integer not null,
|
802
|
SORTINDEX integer not null,
|
803
|
REVTYPE tinyint,
|
804
|
primary key (REV, CLASSIFICATION_ID, IDENTIFIERS_ID, SORTINDEX)
|
805
|
);
|
806
|
|
807
|
create table PUBLIC.CLASSIFICATION_MARKER (
|
808
|
CLASSIFICATION_ID integer not null,
|
809
|
MARKERS_ID integer not null,
|
810
|
primary key (CLASSIFICATION_ID, MARKERS_ID)
|
811
|
);
|
812
|
|
813
|
create table PUBLIC.CLASSIFICATION_MARKER_AUD (
|
814
|
REV integer not null,
|
815
|
CLASSIFICATION_ID integer not null,
|
816
|
MARKERS_ID integer not null,
|
817
|
REVTYPE tinyint,
|
818
|
primary key (REV, CLASSIFICATION_ID, MARKERS_ID)
|
819
|
);
|
820
|
|
821
|
create table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE (
|
822
|
CLASSIFICATION_ID integer not null,
|
823
|
SOURCES_ID integer not null,
|
824
|
primary key (CLASSIFICATION_ID, SOURCES_ID)
|
825
|
);
|
826
|
|
827
|
create table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE_AUD (
|
828
|
REV integer not null,
|
829
|
CLASSIFICATION_ID integer not null,
|
830
|
SOURCES_ID integer not null,
|
831
|
REVTYPE tinyint,
|
832
|
primary key (REV, CLASSIFICATION_ID, SOURCES_ID)
|
833
|
);
|
834
|
|
835
|
create table PUBLIC.CLASSIFICATION_RIGHTSINFO (
|
836
|
CLASSIFICATION_ID integer not null,
|
837
|
RIGHTS_ID integer not null,
|
838
|
primary key (CLASSIFICATION_ID, RIGHTS_ID)
|
839
|
);
|
840
|
|
841
|
create table PUBLIC.CLASSIFICATION_RIGHTSINFO_AUD (
|
842
|
REV integer not null,
|
843
|
CLASSIFICATION_ID integer not null,
|
844
|
RIGHTS_ID integer not null,
|
845
|
REVTYPE tinyint,
|
846
|
primary key (REV, CLASSIFICATION_ID, RIGHTS_ID)
|
847
|
);
|
848
|
|
849
|
create table PUBLIC.COLLECTION (
|
850
|
ID integer not null,
|
851
|
CREATED timestamp,
|
852
|
UUID varchar(36),
|
853
|
UPDATED timestamp,
|
854
|
LSID_AUTHORITY varchar(255),
|
855
|
LSID_LSID varchar(255),
|
856
|
LSID_NAMESPACE varchar(255),
|
857
|
LSID_OBJECT varchar(255),
|
858
|
LSID_REVISION varchar(255),
|
859
|
PROTECTEDTITLECACHE boolean not null,
|
860
|
TITLECACHE varchar(800),
|
861
|
CODE varchar(255),
|
862
|
CODESTANDARD varchar(255),
|
863
|
NAME varchar(255),
|
864
|
TOWNORLOCATION varchar(255),
|
865
|
CREATEDBY_ID integer,
|
866
|
UPDATEDBY_ID integer,
|
867
|
INSTITUTE_ID integer,
|
868
|
SUPERCOLLECTION_ID integer,
|
869
|
primary key (ID)
|
870
|
);
|
871
|
|
872
|
create table PUBLIC.COLLECTION_ANNOTATION (
|
873
|
COLLECTION_ID integer not null,
|
874
|
ANNOTATIONS_ID integer not null,
|
875
|
primary key (COLLECTION_ID, ANNOTATIONS_ID)
|
876
|
);
|
877
|
|
878
|
create table PUBLIC.COLLECTION_ANNOTATION_AUD (
|
879
|
REV integer not null,
|
880
|
COLLECTION_ID integer not null,
|
881
|
ANNOTATIONS_ID integer not null,
|
882
|
REVTYPE tinyint,
|
883
|
primary key (REV, COLLECTION_ID, ANNOTATIONS_ID)
|
884
|
);
|
885
|
|
886
|
create table PUBLIC.COLLECTION_AUD (
|
887
|
ID integer not null,
|
888
|
REV integer not null,
|
889
|
REVTYPE tinyint,
|
890
|
CREATED timestamp,
|
891
|
UUID varchar(36),
|
892
|
UPDATED timestamp,
|
893
|
LSID_AUTHORITY varchar(255),
|
894
|
LSID_LSID varchar(255),
|
895
|
LSID_NAMESPACE varchar(255),
|
896
|
LSID_OBJECT varchar(255),
|
897
|
LSID_REVISION varchar(255),
|
898
|
PROTECTEDTITLECACHE boolean,
|
899
|
TITLECACHE varchar(800),
|
900
|
CODE varchar(255),
|
901
|
CODESTANDARD varchar(255),
|
902
|
NAME varchar(255),
|
903
|
TOWNORLOCATION varchar(255),
|
904
|
CREATEDBY_ID integer,
|
905
|
UPDATEDBY_ID integer,
|
906
|
INSTITUTE_ID integer,
|
907
|
SUPERCOLLECTION_ID integer,
|
908
|
primary key (ID, REV)
|
909
|
);
|
910
|
|
911
|
create table PUBLIC.COLLECTION_CREDIT (
|
912
|
COLLECTION_ID integer not null,
|
913
|
CREDITS_ID integer not null,
|
914
|
SORTINDEX integer not null,
|
915
|
primary key (COLLECTION_ID, SORTINDEX)
|
916
|
);
|
917
|
|
918
|
create table PUBLIC.COLLECTION_CREDIT_AUD (
|
919
|
REV integer not null,
|
920
|
COLLECTION_ID integer not null,
|
921
|
CREDITS_ID integer not null,
|
922
|
SORTINDEX integer not null,
|
923
|
REVTYPE tinyint,
|
924
|
primary key (REV, COLLECTION_ID, CREDITS_ID, SORTINDEX)
|
925
|
);
|
926
|
|
927
|
create table PUBLIC.COLLECTION_EXTENSION (
|
928
|
COLLECTION_ID integer not null,
|
929
|
EXTENSIONS_ID integer not null,
|
930
|
primary key (COLLECTION_ID, EXTENSIONS_ID)
|
931
|
);
|
932
|
|
933
|
create table PUBLIC.COLLECTION_EXTENSION_AUD (
|
934
|
REV integer not null,
|
935
|
COLLECTION_ID integer not null,
|
936
|
EXTENSIONS_ID integer not null,
|
937
|
REVTYPE tinyint,
|
938
|
primary key (REV, COLLECTION_ID, EXTENSIONS_ID)
|
939
|
);
|
940
|
|
941
|
create table PUBLIC.COLLECTION_EXTERNALLINK (
|
942
|
COLLECTION_ID integer not null,
|
943
|
LINKS_ID integer not null,
|
944
|
primary key (COLLECTION_ID, LINKS_ID)
|
945
|
);
|
946
|
|
947
|
create table PUBLIC.COLLECTION_EXTERNALLINK_AUD (
|
948
|
REV integer not null,
|
949
|
COLLECTION_ID integer not null,
|
950
|
LINKS_ID integer not null,
|
951
|
REVTYPE tinyint,
|
952
|
primary key (REV, COLLECTION_ID, LINKS_ID)
|
953
|
);
|
954
|
|
955
|
create table PUBLIC.COLLECTION_IDENTIFIER (
|
956
|
COLLECTION_ID integer not null,
|
957
|
IDENTIFIERS_ID integer not null,
|
958
|
SORTINDEX integer not null,
|
959
|
primary key (COLLECTION_ID, SORTINDEX)
|
960
|
);
|
961
|
|
962
|
create table PUBLIC.COLLECTION_IDENTIFIER_AUD (
|
963
|
REV integer not null,
|
964
|
COLLECTION_ID integer not null,
|
965
|
IDENTIFIERS_ID integer not null,
|
966
|
SORTINDEX integer not null,
|
967
|
REVTYPE tinyint,
|
968
|
primary key (REV, COLLECTION_ID, IDENTIFIERS_ID, SORTINDEX)
|
969
|
);
|
970
|
|
971
|
create table PUBLIC.COLLECTION_MARKER (
|
972
|
COLLECTION_ID integer not null,
|
973
|
MARKERS_ID integer not null,
|
974
|
primary key (COLLECTION_ID, MARKERS_ID)
|
975
|
);
|
976
|
|
977
|
create table PUBLIC.COLLECTION_MARKER_AUD (
|
978
|
REV integer not null,
|
979
|
COLLECTION_ID integer not null,
|
980
|
MARKERS_ID integer not null,
|
981
|
REVTYPE tinyint,
|
982
|
primary key (REV, COLLECTION_ID, MARKERS_ID)
|
983
|
);
|
984
|
|
985
|
create table PUBLIC.COLLECTION_MEDIA (
|
986
|
COLLECTION_ID integer not null,
|
987
|
MEDIA_ID integer not null,
|
988
|
primary key (COLLECTION_ID, MEDIA_ID)
|
989
|
);
|
990
|
|
991
|
create table PUBLIC.COLLECTION_MEDIA_AUD (
|
992
|
REV integer not null,
|
993
|
COLLECTION_ID integer not null,
|
994
|
MEDIA_ID integer not null,
|
995
|
REVTYPE tinyint,
|
996
|
primary key (REV, COLLECTION_ID, MEDIA_ID)
|
997
|
);
|
998
|
|
999
|
create table PUBLIC.COLLECTION_ORIGINALSOURCEBASE (
|
1000
|
COLLECTION_ID integer not null,
|
1001
|
SOURCES_ID integer not null,
|
1002
|
primary key (COLLECTION_ID, SOURCES_ID)
|
1003
|
);
|
1004
|
|
1005
|
create table PUBLIC.COLLECTION_ORIGINALSOURCEBASE_AUD (
|
1006
|
REV integer not null,
|
1007
|
COLLECTION_ID integer not null,
|
1008
|
SOURCES_ID integer not null,
|
1009
|
REVTYPE tinyint,
|
1010
|
primary key (REV, COLLECTION_ID, SOURCES_ID)
|
1011
|
);
|
1012
|
|
1013
|
create table PUBLIC.COLLECTION_RIGHTSINFO (
|
1014
|
COLLECTION_ID integer not null,
|
1015
|
RIGHTS_ID integer not null,
|
1016
|
primary key (COLLECTION_ID, RIGHTS_ID)
|
1017
|
);
|
1018
|
|
1019
|
create table PUBLIC.COLLECTION_RIGHTSINFO_AUD (
|
1020
|
REV integer not null,
|
1021
|
COLLECTION_ID integer not null,
|
1022
|
RIGHTS_ID integer not null,
|
1023
|
REVTYPE tinyint,
|
1024
|
primary key (REV, COLLECTION_ID, RIGHTS_ID)
|
1025
|
);
|
1026
|
|
1027
|
create table PUBLIC.CREDIT (
|
1028
|
ID integer not null,
|
1029
|
CREATED timestamp,
|
1030
|
UUID varchar(36),
|
1031
|
UPDATED timestamp,
|
1032
|
TEXT clob,
|
1033
|
ABBREVIATEDTEXT varchar(255),
|
1034
|
TIMEPERIOD_END varchar(255),
|
1035
|
TIMEPERIOD_FREETEXT varchar(255),
|
1036
|
TIMEPERIOD_START varchar(255),
|
1037
|
CREATEDBY_ID integer,
|
1038
|
UPDATEDBY_ID integer,
|
1039
|
LANGUAGE_ID integer,
|
1040
|
AGENT_ID integer,
|
1041
|
primary key (ID)
|
1042
|
);
|
1043
|
|
1044
|
create table PUBLIC.CREDIT_ANNOTATION (
|
1045
|
CREDIT_ID integer not null,
|
1046
|
ANNOTATIONS_ID integer not null,
|
1047
|
primary key (CREDIT_ID, ANNOTATIONS_ID)
|
1048
|
);
|
1049
|
|
1050
|
create table PUBLIC.CREDIT_ANNOTATION_AUD (
|
1051
|
REV integer not null,
|
1052
|
CREDIT_ID integer not null,
|
1053
|
ANNOTATIONS_ID integer not null,
|
1054
|
REVTYPE tinyint,
|
1055
|
primary key (REV, CREDIT_ID, ANNOTATIONS_ID)
|
1056
|
);
|
1057
|
|
1058
|
create table PUBLIC.CREDIT_AUD (
|
1059
|
ID integer not null,
|
1060
|
REV integer not null,
|
1061
|
REVTYPE tinyint,
|
1062
|
CREATED timestamp,
|
1063
|
UUID varchar(36),
|
1064
|
UPDATED timestamp,
|
1065
|
TEXT clob,
|
1066
|
ABBREVIATEDTEXT varchar(255),
|
1067
|
TIMEPERIOD_END varchar(255),
|
1068
|
TIMEPERIOD_FREETEXT varchar(255),
|
1069
|
TIMEPERIOD_START varchar(255),
|
1070
|
CREATEDBY_ID integer,
|
1071
|
UPDATEDBY_ID integer,
|
1072
|
LANGUAGE_ID integer,
|
1073
|
AGENT_ID integer,
|
1074
|
primary key (ID, REV)
|
1075
|
);
|
1076
|
|
1077
|
create table PUBLIC.CREDIT_MARKER (
|
1078
|
CREDIT_ID integer not null,
|
1079
|
MARKERS_ID integer not null,
|
1080
|
primary key (CREDIT_ID, MARKERS_ID)
|
1081
|
);
|
1082
|
|
1083
|
create table PUBLIC.CREDIT_MARKER_AUD (
|
1084
|
REV integer not null,
|
1085
|
CREDIT_ID integer not null,
|
1086
|
MARKERS_ID integer not null,
|
1087
|
REVTYPE tinyint,
|
1088
|
primary key (REV, CREDIT_ID, MARKERS_ID)
|
1089
|
);
|
1090
|
|
1091
|
create table PUBLIC.DEFINEDTERMBASE (
|
1092
|
DTYPE varchar(31) not null,
|
1093
|
ID integer not null,
|
1094
|
CREATED timestamp,
|
1095
|
UUID varchar(36),
|
1096
|
UPDATED timestamp,
|
1097
|
LSID_AUTHORITY varchar(255),
|
1098
|
LSID_LSID varchar(255),
|
1099
|
LSID_NAMESPACE varchar(255),
|
1100
|
LSID_OBJECT varchar(255),
|
1101
|
LSID_REVISION varchar(255),
|
1102
|
PROTECTEDTITLECACHE boolean not null,
|
1103
|
TITLECACHE varchar(800),
|
1104
|
TERMTYPE varchar(255),
|
1105
|
URI clob,
|
1106
|
AUTHORITYTYPE varchar(10),
|
1107
|
EXTERNALID varchar(255),
|
1108
|
EXTERNALLINK clob,
|
1109
|
IMPORTMETHOD varchar(30),
|
1110
|
LASTRETRIEVED timestamp,
|
1111
|
IDINVOCABULARY varchar(255),
|
1112
|
SYMBOL varchar(30),
|
1113
|
SYMBOL2 varchar(30),
|
1114
|
AVAILABLEFOR varchar(255),
|
1115
|
ISO639_1 varchar(2),
|
1116
|
ISTECHNICAL boolean,
|
1117
|
ORDERINDEX integer,
|
1118
|
INVERSESYMBOL varchar(30),
|
1119
|
SYMMETRICAL boolean,
|
1120
|
TRANSITIVE boolean,
|
1121
|
SUPPORTEDDATATYPES varchar(255),
|
1122
|
ABSENCETERM boolean,
|
1123
|
DEFAULTCOLOR varchar(255),
|
1124
|
POINTAPPROXIMATION_ERRORRADIUS integer,
|
1125
|
POINTAPPROXIMATION_LATITUDE double,
|
1126
|
POINTAPPROXIMATION_LONGITUDE double,
|
1127
|
VALIDPERIOD_END varchar(255),
|
1128
|
VALIDPERIOD_FREETEXT varchar(255),
|
1129
|
VALIDPERIOD_START varchar(255),
|
1130
|
ISO3166_A2 varchar(2),
|
1131
|
NOMENCLATURALSTANDING varchar(255),
|
1132
|
NOMENCLATURALSTANDINGINVERSE varchar(255),
|
1133
|
RANKCLASS varchar(255),
|
1134
|
CREATEDBY_ID integer,
|
1135
|
UPDATEDBY_ID integer,
|
1136
|
KINDOF_ID integer,
|
1137
|
PARTOF_ID integer,
|
1138
|
VOCABULARY_ID integer,
|
1139
|
PROPERTY_ID integer,
|
1140
|
PROPERTYMODIFIER_ID integer,
|
1141
|
RATIOTOSTRUCTURE_ID integer,
|
1142
|
STRUCTURE_ID integer,
|
1143
|
STRUCTUREMODIFIER_ID integer,
|
1144
|
LEVEL_ID integer,
|
1145
|
POINTAPPROXIMATION_REFERENCESYSTEM_ID integer,
|
1146
|
SHAPE_ID integer,
|
1147
|
TYPE_ID integer,
|
1148
|
primary key (ID)
|
1149
|
);
|
1150
|
|
1151
|
create table PUBLIC.DEFINEDTERMBASE_ANNOTATION (
|
1152
|
DEFINEDTERMBASE_ID integer not null,
|
1153
|
ANNOTATIONS_ID integer not null,
|
1154
|
primary key (DEFINEDTERMBASE_ID, ANNOTATIONS_ID)
|
1155
|
);
|
1156
|
|
1157
|
create table PUBLIC.DEFINEDTERMBASE_ANNOTATION_AUD (
|
1158
|
REV integer not null,
|
1159
|
DEFINEDTERMBASE_ID integer not null,
|
1160
|
ANNOTATIONS_ID integer not null,
|
1161
|
REVTYPE tinyint,
|
1162
|
primary key (REV, DEFINEDTERMBASE_ID, ANNOTATIONS_ID)
|
1163
|
);
|
1164
|
|
1165
|
create table PUBLIC.DEFINEDTERMBASE_AUD (
|
1166
|
ID integer not null,
|
1167
|
REV integer not null,
|
1168
|
DTYPE varchar(31) not null,
|
1169
|
REVTYPE tinyint,
|
1170
|
CREATED timestamp,
|
1171
|
UUID varchar(36),
|
1172
|
UPDATED timestamp,
|
1173
|
LSID_AUTHORITY varchar(255),
|
1174
|
LSID_LSID varchar(255),
|
1175
|
LSID_NAMESPACE varchar(255),
|
1176
|
LSID_OBJECT varchar(255),
|
1177
|
LSID_REVISION varchar(255),
|
1178
|
PROTECTEDTITLECACHE boolean,
|
1179
|
TITLECACHE varchar(800),
|
1180
|
TERMTYPE varchar(255),
|
1181
|
URI clob,
|
1182
|
AUTHORITYTYPE varchar(10),
|
1183
|
EXTERNALID varchar(255),
|
1184
|
EXTERNALLINK clob,
|
1185
|
IMPORTMETHOD varchar(30),
|
1186
|
LASTRETRIEVED timestamp,
|
1187
|
IDINVOCABULARY varchar(255),
|
1188
|
SYMBOL varchar(30),
|
1189
|
SYMBOL2 varchar(30),
|
1190
|
CREATEDBY_ID integer,
|
1191
|
UPDATEDBY_ID integer,
|
1192
|
KINDOF_ID integer,
|
1193
|
PARTOF_ID integer,
|
1194
|
VOCABULARY_ID integer,
|
1195
|
AVAILABLEFOR varchar(255),
|
1196
|
SUPPORTEDDATATYPES varchar(255),
|
1197
|
PROPERTY_ID integer,
|
1198
|
PROPERTYMODIFIER_ID integer,
|
1199
|
RATIOTOSTRUCTURE_ID integer,
|
1200
|
STRUCTURE_ID integer,
|
1201
|
STRUCTUREMODIFIER_ID integer,
|
1202
|
ISTECHNICAL boolean,
|
1203
|
ISO639_1 varchar(2),
|
1204
|
ORDERINDEX integer,
|
1205
|
RANKCLASS varchar(255),
|
1206
|
NOMENCLATURALSTANDING varchar(255),
|
1207
|
POINTAPPROXIMATION_ERRORRADIUS integer,
|
1208
|
POINTAPPROXIMATION_LATITUDE double,
|
1209
|
POINTAPPROXIMATION_LONGITUDE double,
|
1210
|
VALIDPERIOD_END varchar(255),
|
1211
|
VALIDPERIOD_FREETEXT varchar(255),
|
1212
|
VALIDPERIOD_START varchar(255),
|
1213
|
LEVEL_ID integer,
|
1214
|
POINTAPPROXIMATION_REFERENCESYSTEM_ID integer,
|
1215
|
SHAPE_ID integer,
|
1216
|
TYPE_ID integer,
|
1217
|
ISO3166_A2 varchar(2),
|
1218
|
ABSENCETERM boolean,
|
1219
|
DEFAULTCOLOR varchar(255),
|
1220
|
INVERSESYMBOL varchar(30),
|
1221
|
SYMMETRICAL boolean,
|
1222
|
TRANSITIVE boolean,
|
1223
|
NOMENCLATURALSTANDINGINVERSE varchar(255),
|
1224
|
primary key (ID, REV)
|
1225
|
);
|
1226
|
|
1227
|
create table PUBLIC.DEFINEDTERMBASE_CONTINENT (
|
1228
|
COUNTRY_ID integer not null,
|
1229
|
CONTINENTS_ID integer not null,
|
1230
|
primary key (COUNTRY_ID, CONTINENTS_ID)
|
1231
|
);
|
1232
|
|
1233
|
create table PUBLIC.DEFINEDTERMBASE_CONTINENT_AUD (
|
1234
|
REV integer not null,
|
1235
|
COUNTRY_ID integer not null,
|
1236
|
CONTINENTS_ID integer not null,
|
1237
|
REVTYPE tinyint,
|
1238
|
primary key (REV, COUNTRY_ID, CONTINENTS_ID)
|
1239
|
);
|
1240
|
|
1241
|
create table PUBLIC.DEFINEDTERMBASE_COUNTRY (
|
1242
|
NAMEDAREA_ID integer not null,
|
1243
|
COUNTRIES_ID integer not null,
|
1244
|
primary key (NAMEDAREA_ID, COUNTRIES_ID)
|
1245
|
);
|
1246
|
|
1247
|
create table PUBLIC.DEFINEDTERMBASE_COUNTRY_AUD (
|
1248
|
REV integer not null,
|
1249
|
NAMEDAREA_ID integer not null,
|
1250
|
COUNTRIES_ID integer not null,
|
1251
|
REVTYPE tinyint,
|
1252
|
primary key (REV, NAMEDAREA_ID, COUNTRIES_ID)
|
1253
|
);
|
1254
|
|
1255
|
create table PUBLIC.DEFINEDTERMBASE_CREDIT (
|
1256
|
DEFINEDTERMBASE_ID integer not null,
|
1257
|
CREDITS_ID integer not null,
|
1258
|
SORTINDEX integer not null,
|
1259
|
primary key (DEFINEDTERMBASE_ID, SORTINDEX)
|
1260
|
);
|
1261
|
|
1262
|
create table PUBLIC.DEFINEDTERMBASE_CREDIT_AUD (
|
1263
|
REV integer not null,
|
1264
|
DEFINEDTERMBASE_ID integer not null,
|
1265
|
CREDITS_ID integer not null,
|
1266
|
SORTINDEX integer not null,
|
1267
|
REVTYPE tinyint,
|
1268
|
primary key (REV, DEFINEDTERMBASE_ID, CREDITS_ID, SORTINDEX)
|
1269
|
);
|
1270
|
|
1271
|
create table PUBLIC.DEFINEDTERMBASE_EXTENSION (
|
1272
|
DEFINEDTERMBASE_ID integer not null,
|
1273
|
EXTENSIONS_ID integer not null,
|
1274
|
primary key (DEFINEDTERMBASE_ID, EXTENSIONS_ID)
|
1275
|
);
|
1276
|
|
1277
|
create table PUBLIC.DEFINEDTERMBASE_EXTENSION_AUD (
|
1278
|
REV integer not null,
|
1279
|
DEFINEDTERMBASE_ID integer not null,
|
1280
|
EXTENSIONS_ID integer not null,
|
1281
|
REVTYPE tinyint,
|
1282
|
primary key (REV, DEFINEDTERMBASE_ID, EXTENSIONS_ID)
|
1283
|
);
|
1284
|
|
1285
|
create table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK (
|
1286
|
DEFINEDTERMBASE_ID integer not null,
|
1287
|
LINKS_ID integer not null,
|
1288
|
primary key (DEFINEDTERMBASE_ID, LINKS_ID)
|
1289
|
);
|
1290
|
|
1291
|
create table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK_AUD (
|
1292
|
REV integer not null,
|
1293
|
DEFINEDTERMBASE_ID integer not null,
|
1294
|
LINKS_ID integer not null,
|
1295
|
REVTYPE tinyint,
|
1296
|
primary key (REV, DEFINEDTERMBASE_ID, LINKS_ID)
|
1297
|
);
|
1298
|
|
1299
|
create table PUBLIC.DEFINEDTERMBASE_IDENTIFIER (
|
1300
|
DEFINEDTERMBASE_ID integer not null,
|
1301
|
IDENTIFIERS_ID integer not null,
|
1302
|
SORTINDEX integer not null,
|
1303
|
primary key (DEFINEDTERMBASE_ID, SORTINDEX)
|
1304
|
);
|
1305
|
|
1306
|
create table PUBLIC.DEFINEDTERMBASE_IDENTIFIER_AUD (
|
1307
|
REV integer not null,
|
1308
|
DEFINEDTERMBASE_ID integer not null,
|
1309
|
IDENTIFIERS_ID integer not null,
|
1310
|
SORTINDEX integer not null,
|
1311
|
REVTYPE tinyint,
|
1312
|
primary key (REV, DEFINEDTERMBASE_ID, IDENTIFIERS_ID, SORTINDEX)
|
1313
|
);
|
1314
|
|
1315
|
create table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION (
|
1316
|
DEFINEDTERMBASE_ID integer not null,
|
1317
|
INVERSEREPRESENTATIONS_ID integer not null,
|
1318
|
primary key (DEFINEDTERMBASE_ID, INVERSEREPRESENTATIONS_ID)
|
1319
|
);
|
1320
|
|
1321
|
create table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION_AUD (
|
1322
|
REV integer not null,
|
1323
|
DEFINEDTERMBASE_ID integer not null,
|
1324
|
INVERSEREPRESENTATIONS_ID integer not null,
|
1325
|
REVTYPE tinyint,
|
1326
|
primary key (REV, DEFINEDTERMBASE_ID, INVERSEREPRESENTATIONS_ID)
|
1327
|
);
|
1328
|
|
1329
|
create table PUBLIC.DEFINEDTERMBASE_MARKER (
|
1330
|
DEFINEDTERMBASE_ID integer not null,
|
1331
|
MARKERS_ID integer not null,
|
1332
|
primary key (DEFINEDTERMBASE_ID, MARKERS_ID)
|
1333
|
);
|
1334
|
|
1335
|
create table PUBLIC.DEFINEDTERMBASE_MARKER_AUD (
|
1336
|
REV integer not null,
|
1337
|
DEFINEDTERMBASE_ID integer not null,
|
1338
|
MARKERS_ID integer not null,
|
1339
|
REVTYPE tinyint,
|
1340
|
primary key (REV, DEFINEDTERMBASE_ID, MARKERS_ID)
|
1341
|
);
|
1342
|
|
1343
|
create table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT (
|
1344
|
FEATURE_ID integer not null,
|
1345
|
RECOMMENDEDMEASUREMENTUNITS_ID integer not null,
|
1346
|
primary key (FEATURE_ID, RECOMMENDEDMEASUREMENTUNITS_ID)
|
1347
|
);
|
1348
|
|
1349
|
create table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT_AUD (
|
1350
|
REV integer not null,
|
1351
|
FEATURE_ID integer not null,
|
1352
|
RECOMMENDEDMEASUREMENTUNITS_ID integer not null,
|
1353
|
REVTYPE tinyint,
|
1354
|
primary key (REV, FEATURE_ID, RECOMMENDEDMEASUREMENTUNITS_ID)
|
1355
|
);
|
1356
|
|
1357
|
create table PUBLIC.DEFINEDTERMBASE_MEDIA (
|
1358
|
DEFINEDTERMBASE_ID integer not null,
|
1359
|
MEDIA_ID integer not null,
|
1360
|
primary key (DEFINEDTERMBASE_ID, MEDIA_ID)
|
1361
|
);
|
1362
|
|
1363
|
create table PUBLIC.DEFINEDTERMBASE_MEDIA_AUD (
|
1364
|
REV integer not null,
|
1365
|
DEFINEDTERMBASE_ID integer not null,
|
1366
|
MEDIA_ID integer not null,
|
1367
|
REVTYPE tinyint,
|
1368
|
primary key (REV, DEFINEDTERMBASE_ID, MEDIA_ID)
|
1369
|
);
|
1370
|
|
1371
|
create table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE (
|
1372
|
DEFINEDTERMBASE_ID integer not null,
|
1373
|
SOURCES_ID integer not null,
|
1374
|
primary key (DEFINEDTERMBASE_ID, SOURCES_ID)
|
1375
|
);
|
1376
|
|
1377
|
create table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE_AUD (
|
1378
|
REV integer not null,
|
1379
|
DEFINEDTERMBASE_ID integer not null,
|
1380
|
SOURCES_ID integer not null,
|
1381
|
REVTYPE tinyint,
|
1382
|
primary key (REV, DEFINEDTERMBASE_ID, SOURCES_ID)
|
1383
|
);
|
1384
|
|
1385
|
create table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION (
|
1386
|
FEATURE_ID integer not null,
|
1387
|
RECOMMENDEDMODIFIERENUMERATION_ID integer not null,
|
1388
|
primary key (FEATURE_ID, RECOMMENDEDMODIFIERENUMERATION_ID)
|
1389
|
);
|
1390
|
|
1391
|
create table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION_AUD (
|
1392
|
REV integer not null,
|
1393
|
FEATURE_ID integer not null,
|
1394
|
RECOMMENDEDMODIFIERENUMERATION_ID integer not null,
|
1395
|
REVTYPE tinyint,
|
1396
|
primary key (REV, FEATURE_ID, RECOMMENDEDMODIFIERENUMERATION_ID)
|
1397
|
);
|
1398
|
|
1399
|
create table PUBLIC.DEFINEDTERMBASE_REPRESENTATION (
|
1400
|
DEFINEDTERMBASE_ID integer not null,
|
1401
|
REPRESENTATIONS_ID integer not null,
|
1402
|
primary key (DEFINEDTERMBASE_ID, REPRESENTATIONS_ID)
|
1403
|
);
|
1404
|
|
1405
|
create table PUBLIC.DEFINEDTERMBASE_REPRESENTATION_AUD (
|
1406
|
REV integer not null,
|
1407
|
DEFINEDTERMBASE_ID integer not null,
|
1408
|
REPRESENTATIONS_ID integer not null,
|
1409
|
REVTYPE tinyint,
|
1410
|
primary key (REV, DEFINEDTERMBASE_ID, REPRESENTATIONS_ID)
|
1411
|
);
|
1412
|
|
1413
|
create table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO (
|
1414
|
DEFINEDTERMBASE_ID integer not null,
|
1415
|
RIGHTS_ID integer not null,
|
1416
|
primary key (DEFINEDTERMBASE_ID, RIGHTS_ID)
|
1417
|
);
|
1418
|
|
1419
|
create table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO_AUD (
|
1420
|
REV integer not null,
|
1421
|
DEFINEDTERMBASE_ID integer not null,
|
1422
|
RIGHTS_ID integer not null,
|
1423
|
REVTYPE tinyint,
|
1424
|
primary key (REV, DEFINEDTERMBASE_ID, RIGHTS_ID)
|
1425
|
);
|
1426
|
|
1427
|
create table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE (
|
1428
|
FEATURE_ID integer not null,
|
1429
|
RECOMMENDEDSTATISTICALMEASURES_ID integer not null,
|
1430
|
primary key (FEATURE_ID, RECOMMENDEDSTATISTICALMEASURES_ID)
|
1431
|
);
|
1432
|
|
1433
|
create table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE_AUD (
|
1434
|
REV integer not null,
|
1435
|
FEATURE_ID integer not null,
|
1436
|
RECOMMENDEDSTATISTICALMEASURES_ID integer not null,
|
1437
|
REVTYPE tinyint,
|
1438
|
primary key (REV, FEATURE_ID, RECOMMENDEDSTATISTICALMEASURES_ID)
|
1439
|
);
|
1440
|
|
1441
|
create table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION (
|
1442
|
FEATURE_ID integer not null,
|
1443
|
SUPPORTEDCATEGORICALENUMERATIONS_ID integer not null,
|
1444
|
primary key (FEATURE_ID, SUPPORTEDCATEGORICALENUMERATIONS_ID)
|
1445
|
);
|
1446
|
|
1447
|
create table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION_AUD (
|
1448
|
REV integer not null,
|
1449
|
FEATURE_ID integer not null,
|
1450
|
SUPPORTEDCATEGORICALENUMERATIONS_ID integer not null,
|
1451
|
REVTYPE tinyint,
|
1452
|
primary key (REV, FEATURE_ID, SUPPORTEDCATEGORICALENUMERATIONS_ID)
|
1453
|
);
|
1454
|
|
1455
|
create table PUBLIC.DERIVATIONEVENT (
|
1456
|
ID integer not null,
|
1457
|
CREATED timestamp,
|
1458
|
UUID varchar(36),
|
1459
|
UPDATED timestamp,
|
1460
|
DESCRIPTION varchar(255),
|
1461
|
TIMEPERIOD_END varchar(255),
|
1462
|
TIMEPERIOD_FREETEXT varchar(255),
|
1463
|
TIMEPERIOD_START varchar(255),
|
1464
|
CREATEDBY_ID integer,
|
1465
|
UPDATEDBY_ID integer,
|
1466
|
ACTOR_ID integer,
|
1467
|
INSTITUTION_ID integer,
|
1468
|
TYPE_ID integer,
|
1469
|
primary key (ID)
|
1470
|
);
|
1471
|
|
1472
|
create table PUBLIC.DERIVATIONEVENT_ANNOTATION (
|
1473
|
DERIVATIONEVENT_ID integer not null,
|
1474
|
ANNOTATIONS_ID integer not null,
|
1475
|
primary key (DERIVATIONEVENT_ID, ANNOTATIONS_ID)
|
1476
|
);
|
1477
|
|
1478
|
create table PUBLIC.DERIVATIONEVENT_ANNOTATION_AUD (
|
1479
|
REV integer not null,
|
1480
|
DERIVATIONEVENT_ID integer not null,
|
1481
|
ANNOTATIONS_ID integer not null,
|
1482
|
REVTYPE tinyint,
|
1483
|
primary key (REV, DERIVATIONEVENT_ID, ANNOTATIONS_ID)
|
1484
|
);
|
1485
|
|
1486
|
create table PUBLIC.DERIVATIONEVENT_AUD (
|
1487
|
ID integer not null,
|
1488
|
REV integer not null,
|
1489
|
REVTYPE tinyint,
|
1490
|
CREATED timestamp,
|
1491
|
UUID varchar(36),
|
1492
|
UPDATED timestamp,
|
1493
|
DESCRIPTION varchar(255),
|
1494
|
TIMEPERIOD_END varchar(255),
|
1495
|
TIMEPERIOD_FREETEXT varchar(255),
|
1496
|
TIMEPERIOD_START varchar(255),
|
1497
|
CREATEDBY_ID integer,
|
1498
|
UPDATEDBY_ID integer,
|
1499
|
ACTOR_ID integer,
|
1500
|
INSTITUTION_ID integer,
|
1501
|
TYPE_ID integer,
|
1502
|
primary key (ID, REV)
|
1503
|
);
|
1504
|
|
1505
|
create table PUBLIC.DERIVATIONEVENT_MARKER (
|
1506
|
DERIVATIONEVENT_ID integer not null,
|
1507
|
MARKERS_ID integer not null,
|
1508
|
primary key (DERIVATIONEVENT_ID, MARKERS_ID)
|
1509
|
);
|
1510
|
|
1511
|
create table PUBLIC.DERIVATIONEVENT_MARKER_AUD (
|
1512
|
REV integer not null,
|
1513
|
DERIVATIONEVENT_ID integer not null,
|
1514
|
MARKERS_ID integer not null,
|
1515
|
REVTYPE tinyint,
|
1516
|
primary key (REV, DERIVATIONEVENT_ID, MARKERS_ID)
|
1517
|
);
|
1518
|
|
1519
|
create table PUBLIC.DESCRIPTIONBASE (
|
1520
|
DTYPE varchar(31) not null,
|
1521
|
ID integer not null,
|
1522
|
CREATED timestamp,
|
1523
|
UUID varchar(36),
|
1524
|
UPDATED timestamp,
|
1525
|
LSID_AUTHORITY varchar(255),
|
1526
|
LSID_LSID varchar(255),
|
1527
|
LSID_NAMESPACE varchar(255),
|
1528
|
LSID_OBJECT varchar(255),
|
1529
|
LSID_REVISION varchar(255),
|
1530
|
PROTECTEDTITLECACHE boolean not null,
|
1531
|
TITLECACHE varchar(800),
|
1532
|
IMAGEGALLERY boolean not null,
|
1533
|
ISDEFAULT boolean not null,
|
1534
|
TYPES varchar(255),
|
1535
|
CREATEDBY_ID integer,
|
1536
|
UPDATEDBY_ID integer,
|
1537
|
SPECIMEN_ID integer,
|
1538
|
TAXON_ID integer,
|
1539
|
TAXONNAME_ID integer,
|
1540
|
primary key (ID)
|
1541
|
);
|
1542
|
|
1543
|
create table PUBLIC.DESCRIPTIONBASE_ANNOTATION (
|
1544
|
DESCRIPTIONBASE_ID integer not null,
|
1545
|
ANNOTATIONS_ID integer not null,
|
1546
|
primary key (DESCRIPTIONBASE_ID, ANNOTATIONS_ID)
|
1547
|
);
|
1548
|
|
1549
|
create table PUBLIC.DESCRIPTIONBASE_ANNOTATION_AUD (
|
1550
|
REV integer not null,
|
1551
|
DESCRIPTIONBASE_ID integer not null,
|
1552
|
ANNOTATIONS_ID integer not null,
|
1553
|
REVTYPE tinyint,
|
1554
|
primary key (REV, DESCRIPTIONBASE_ID, ANNOTATIONS_ID)
|
1555
|
);
|
1556
|
|
1557
|
create table PUBLIC.DESCRIPTIONBASE_AUD (
|
1558
|
ID integer not null,
|
1559
|
REV integer not null,
|
1560
|
DTYPE varchar(31) not null,
|
1561
|
REVTYPE tinyint,
|
1562
|
CREATED timestamp,
|
1563
|
UUID varchar(36),
|
1564
|
UPDATED timestamp,
|
1565
|
LSID_AUTHORITY varchar(255),
|
1566
|
LSID_LSID varchar(255),
|
1567
|
LSID_NAMESPACE varchar(255),
|
1568
|
LSID_OBJECT varchar(255),
|
1569
|
LSID_REVISION varchar(255),
|
1570
|
PROTECTEDTITLECACHE boolean,
|
1571
|
TITLECACHE varchar(800),
|
1572
|
IMAGEGALLERY boolean,
|
1573
|
ISDEFAULT boolean,
|
1574
|
TYPES varchar(255),
|
1575
|
CREATEDBY_ID integer,
|
1576
|
UPDATEDBY_ID integer,
|
1577
|
SPECIMEN_ID integer,
|
1578
|
TAXONNAME_ID integer,
|
1579
|
TAXON_ID integer,
|
1580
|
primary key (ID, REV)
|
1581
|
);
|
1582
|
|
1583
|
create table PUBLIC.DESCRIPTIONBASE_CREDIT (
|
1584
|
DESCRIPTIONBASE_ID integer not null,
|
1585
|
CREDITS_ID integer not null,
|
1586
|
SORTINDEX integer not null,
|
1587
|
primary key (DESCRIPTIONBASE_ID, SORTINDEX)
|
1588
|
);
|
1589
|
|
1590
|
create table PUBLIC.DESCRIPTIONBASE_CREDIT_AUD (
|
1591
|
REV integer not null,
|
1592
|
DESCRIPTIONBASE_ID integer not null,
|
1593
|
CREDITS_ID integer not null,
|
1594
|
SORTINDEX integer not null,
|
1595
|
REVTYPE tinyint,
|
1596
|
primary key (REV, DESCRIPTIONBASE_ID, CREDITS_ID, SORTINDEX)
|
1597
|
);
|
1598
|
|
1599
|
create table PUBLIC.DESCRIPTIONBASE_EXTENSION (
|
1600
|
DESCRIPTIONBASE_ID integer not null,
|
1601
|
EXTENSIONS_ID integer not null,
|
1602
|
primary key (DESCRIPTIONBASE_ID, EXTENSIONS_ID)
|
1603
|
);
|
1604
|
|
1605
|
create table PUBLIC.DESCRIPTIONBASE_EXTENSION_AUD (
|
1606
|
REV integer not null,
|
1607
|
DESCRIPTIONBASE_ID integer not null,
|
1608
|
EXTENSIONS_ID integer not null,
|
1609
|
REVTYPE tinyint,
|
1610
|
primary key (REV, DESCRIPTIONBASE_ID, EXTENSIONS_ID)
|
1611
|
);
|
1612
|
|
1613
|
create table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK (
|
1614
|
DESCRIPTIONBASE_ID integer not null,
|
1615
|
LINKS_ID integer not null,
|
1616
|
primary key (DESCRIPTIONBASE_ID, LINKS_ID)
|
1617
|
);
|
1618
|
|
1619
|
create table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK_AUD (
|
1620
|
REV integer not null,
|
1621
|
DESCRIPTIONBASE_ID integer not null,
|
1622
|
LINKS_ID integer not null,
|
1623
|
REVTYPE tinyint,
|
1624
|
primary key (REV, DESCRIPTIONBASE_ID, LINKS_ID)
|
1625
|
);
|
1626
|
|
1627
|
create table PUBLIC.DESCRIPTIONBASE_GEOSCOPE (
|
1628
|
TAXONDESCRIPTION_ID integer not null,
|
1629
|
GEOSCOPES_ID integer not null,
|
1630
|
primary key (TAXONDESCRIPTION_ID, GEOSCOPES_ID)
|
1631
|
);
|
1632
|
|
1633
|
create table PUBLIC.DESCRIPTIONBASE_GEOSCOPE_AUD (
|
1634
|
REV integer not null,
|
1635
|
TAXONDESCRIPTION_ID integer not null,
|
1636
|
GEOSCOPES_ID integer not null,
|
1637
|
REVTYPE tinyint,
|
1638
|
primary key (REV, TAXONDESCRIPTION_ID, GEOSCOPES_ID)
|
1639
|
);
|
1640
|
|
1641
|
create table PUBLIC.DESCRIPTIONBASE_IDENTIFIER (
|
1642
|
DESCRIPTIONBASE_ID integer not null,
|
1643
|
IDENTIFIERS_ID integer not null,
|
1644
|
SORTINDEX integer not null,
|
1645
|
primary key (DESCRIPTIONBASE_ID, SORTINDEX)
|
1646
|
);
|
1647
|
|
1648
|
create table PUBLIC.DESCRIPTIONBASE_IDENTIFIER_AUD (
|
1649
|
REV integer not null,
|
1650
|
DESCRIPTIONBASE_ID integer not null,
|
1651
|
IDENTIFIERS_ID integer not null,
|
1652
|
SORTINDEX integer not null,
|
1653
|
REVTYPE tinyint,
|
1654
|
primary key (REV, DESCRIPTIONBASE_ID, IDENTIFIERS_ID, SORTINDEX)
|
1655
|
);
|
1656
|
|
1657
|
create table PUBLIC.DESCRIPTIONBASE_MARKER (
|
1658
|
DESCRIPTIONBASE_ID integer not null,
|
1659
|
MARKERS_ID integer not null,
|
1660
|
primary key (DESCRIPTIONBASE_ID, MARKERS_ID)
|
1661
|
);
|
1662
|
|
1663
|
create table PUBLIC.DESCRIPTIONBASE_MARKER_AUD (
|
1664
|
REV integer not null,
|
1665
|
DESCRIPTIONBASE_ID integer not null,
|
1666
|
MARKERS_ID integer not null,
|
1667
|
REVTYPE tinyint,
|
1668
|
primary key (REV, DESCRIPTIONBASE_ID, MARKERS_ID)
|
1669
|
);
|
1670
|
|
1671
|
create table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE (
|
1672
|
DESCRIPTIONBASE_ID integer not null,
|
1673
|
SOURCES_ID integer not null,
|
1674
|
primary key (DESCRIPTIONBASE_ID, SOURCES_ID)
|
1675
|
);
|
1676
|
|
1677
|
create table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE_AUD (
|
1678
|
REV integer not null,
|
1679
|
DESCRIPTIONBASE_ID integer not null,
|
1680
|
SOURCES_ID integer not null,
|
1681
|
REVTYPE tinyint,
|
1682
|
primary key (REV, DESCRIPTIONBASE_ID, SOURCES_ID)
|
1683
|
);
|
1684
|
|
1685
|
create table PUBLIC.DESCRIPTIONBASE_REFERENCE (
|
1686
|
DESCRIPTIONBASE_ID integer not null,
|
1687
|
DESCRIPTIONSOURCES_ID integer not null,
|
1688
|
primary key (DESCRIPTIONBASE_ID, DESCRIPTIONSOURCES_ID)
|
1689
|
);
|
1690
|
|
1691
|
create table PUBLIC.DESCRIPTIONBASE_REFERENCE_AUD (
|
1692
|
REV integer not null,
|
1693
|
DESCRIPTIONBASE_ID integer not null,
|
1694
|
DESCRIPTIONSOURCES_ID integer not null,
|
1695
|
REVTYPE tinyint,
|
1696
|
primary key (REV, DESCRIPTIONBASE_ID, DESCRIPTIONSOURCES_ID)
|
1697
|
);
|
1698
|
|
1699
|
create table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO (
|
1700
|
DESCRIPTIONBASE_ID integer not null,
|
1701
|
RIGHTS_ID integer not null,
|
1702
|
primary key (DESCRIPTIONBASE_ID, RIGHTS_ID)
|
1703
|
);
|
1704
|
|
1705
|
create table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO_AUD (
|
1706
|
REV integer not null,
|
1707
|
DESCRIPTIONBASE_ID integer not null,
|
1708
|
RIGHTS_ID integer not null,
|
1709
|
REVTYPE tinyint,
|
1710
|
primary key (REV, DESCRIPTIONBASE_ID, RIGHTS_ID)
|
1711
|
);
|
1712
|
|
1713
|
create table PUBLIC.DESCRIPTIONBASE_SCOPE (
|
1714
|
TAXONDESCRIPTION_ID integer not null,
|
1715
|
SCOPES_ID integer not null,
|
1716
|
primary key (TAXONDESCRIPTION_ID, SCOPES_ID)
|
1717
|
);
|
1718
|
|
1719
|
create table PUBLIC.DESCRIPTIONBASE_SCOPE_AUD (
|
1720
|
REV integer not null,
|
1721
|
TAXONDESCRIPTION_ID integer not null,
|
1722
|
SCOPES_ID integer not null,
|
1723
|
REVTYPE tinyint,
|
1724
|
primary key (REV, TAXONDESCRIPTION_ID, SCOPES_ID)
|
1725
|
);
|
1726
|
|
1727
|
create table PUBLIC.DESCRIPTIONELEMENTBASE (
|
1728
|
DTYPE varchar(31) not null,
|
1729
|
ID integer not null,
|
1730
|
CREATED timestamp,
|
1731
|
UUID varchar(36),
|
1732
|
UPDATED timestamp,
|
1733
|
SORTINDEX integer,
|
1734
|
TIMEPERIOD_END varchar(255),
|
1735
|
TIMEPERIOD_FREETEXT varchar(255),
|
1736
|
TIMEPERIOD_START varchar(255),
|
1737
|
ORDERRELEVANT boolean,
|
1738
|
UNKNOWNDATA boolean,
|
1739
|
NAME varchar(255),
|
1740
|
PERIOD_EXTREMEEND varchar(255),
|
1741
|
PERIOD_EXTREMESTART varchar(255),
|
1742
|
PERIOD_END varchar(255),
|
1743
|
PERIOD_FREETEXT varchar(255),
|
1744
|
PERIOD_START varchar(255),
|
1745
|
CREATEDBY_ID integer,
|
1746
|
UPDATEDBY_ID integer,
|
1747
|
FEATURE_ID integer,
|
1748
|
INDESCRIPTION_ID integer,
|
1749
|
AREA_ID integer,
|
1750
|
LANGUAGE_ID integer,
|
1751
|
STATUS_ID integer,
|
1752
|
ASSOCIATEDSPECIMENOROBSERVATION_ID integer,
|
1753
|
UNIT_ID integer,
|
1754
|
TAXON2_ID integer,
|
1755
|
FORMAT_ID integer,
|
1756
|
primary key (ID)
|
1757
|
);
|
1758
|
|
1759
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION (
|
1760
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1761
|
ANNOTATIONS_ID integer not null,
|
1762
|
primary key (DESCRIPTIONELEMENTBASE_ID, ANNOTATIONS_ID)
|
1763
|
);
|
1764
|
|
1765
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION_AUD (
|
1766
|
REV integer not null,
|
1767
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1768
|
ANNOTATIONS_ID integer not null,
|
1769
|
REVTYPE tinyint,
|
1770
|
primary key (REV, DESCRIPTIONELEMENTBASE_ID, ANNOTATIONS_ID)
|
1771
|
);
|
1772
|
|
1773
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_AUD (
|
1774
|
ID integer not null,
|
1775
|
REV integer not null,
|
1776
|
DTYPE varchar(31) not null,
|
1777
|
REVTYPE tinyint,
|
1778
|
CREATED timestamp,
|
1779
|
UUID varchar(36),
|
1780
|
UPDATED timestamp,
|
1781
|
SORTINDEX integer,
|
1782
|
TIMEPERIOD_END varchar(255),
|
1783
|
TIMEPERIOD_FREETEXT varchar(255),
|
1784
|
TIMEPERIOD_START varchar(255),
|
1785
|
CREATEDBY_ID integer,
|
1786
|
UPDATEDBY_ID integer,
|
1787
|
FEATURE_ID integer,
|
1788
|
INDESCRIPTION_ID integer,
|
1789
|
PERIOD_EXTREMEEND varchar(255),
|
1790
|
PERIOD_EXTREMESTART varchar(255),
|
1791
|
PERIOD_END varchar(255),
|
1792
|
PERIOD_FREETEXT varchar(255),
|
1793
|
PERIOD_START varchar(255),
|
1794
|
ASSOCIATEDSPECIMENOROBSERVATION_ID integer,
|
1795
|
FORMAT_ID integer,
|
1796
|
TAXON2_ID integer,
|
1797
|
UNKNOWNDATA boolean,
|
1798
|
UNIT_ID integer,
|
1799
|
NAME varchar(255),
|
1800
|
AREA_ID integer,
|
1801
|
LANGUAGE_ID integer,
|
1802
|
ORDERRELEVANT boolean,
|
1803
|
STATUS_ID integer,
|
1804
|
primary key (ID, REV)
|
1805
|
);
|
1806
|
|
1807
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING (
|
1808
|
TEXTDATA_ID integer not null,
|
1809
|
MULTILANGUAGETEXT_ID integer not null,
|
1810
|
MULTILANGUAGETEXT_MAPKEY_ID integer not null,
|
1811
|
primary key (TEXTDATA_ID, MULTILANGUAGETEXT_MAPKEY_ID)
|
1812
|
);
|
1813
|
|
1814
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING_AUD (
|
1815
|
REV integer not null,
|
1816
|
TEXTDATA_ID integer not null,
|
1817
|
MULTILANGUAGETEXT_ID integer not null,
|
1818
|
MULTILANGUAGETEXT_MAPKEY_ID integer not null,
|
1819
|
REVTYPE tinyint,
|
1820
|
primary key (REV, TEXTDATA_ID, MULTILANGUAGETEXT_ID, MULTILANGUAGETEXT_MAPKEY_ID)
|
1821
|
);
|
1822
|
|
1823
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER (
|
1824
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1825
|
MARKERS_ID integer not null,
|
1826
|
primary key (DESCRIPTIONELEMENTBASE_ID, MARKERS_ID)
|
1827
|
);
|
1828
|
|
1829
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER_AUD (
|
1830
|
REV integer not null,
|
1831
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1832
|
MARKERS_ID integer not null,
|
1833
|
REVTYPE tinyint,
|
1834
|
primary key (REV, DESCRIPTIONELEMENTBASE_ID, MARKERS_ID)
|
1835
|
);
|
1836
|
|
1837
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA (
|
1838
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1839
|
MEDIA_ID integer not null,
|
1840
|
SORTINDEX integer not null,
|
1841
|
primary key (DESCRIPTIONELEMENTBASE_ID, SORTINDEX)
|
1842
|
);
|
1843
|
|
1844
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA_AUD (
|
1845
|
REV integer not null,
|
1846
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1847
|
MEDIA_ID integer not null,
|
1848
|
SORTINDEX integer not null,
|
1849
|
REVTYPE tinyint,
|
1850
|
primary key (REV, DESCRIPTIONELEMENTBASE_ID, MEDIA_ID, SORTINDEX)
|
1851
|
);
|
1852
|
|
1853
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER (
|
1854
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1855
|
MODIFIERS_ID integer not null,
|
1856
|
primary key (DESCRIPTIONELEMENTBASE_ID, MODIFIERS_ID)
|
1857
|
);
|
1858
|
|
1859
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER_AUD (
|
1860
|
REV integer not null,
|
1861
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1862
|
MODIFIERS_ID integer not null,
|
1863
|
REVTYPE tinyint,
|
1864
|
primary key (REV, DESCRIPTIONELEMENTBASE_ID, MODIFIERS_ID)
|
1865
|
);
|
1866
|
|
1867
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT (
|
1868
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1869
|
MODIFYINGTEXT_ID integer not null,
|
1870
|
MODIFYINGTEXT_MAPKEY_ID integer not null,
|
1871
|
primary key (DESCRIPTIONELEMENTBASE_ID, MODIFYINGTEXT_MAPKEY_ID)
|
1872
|
);
|
1873
|
|
1874
|
create table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT_AUD (
|
1875
|
REV integer not null,
|
1876
|
DESCRIPTIONELEMENTBASE_ID integer not null,
|
1877
|
MODIFYINGTEXT_ID integer not null,
|
1878
|
MODIFYINGTEXT_MAPKEY_ID integer not null,
|
1879
|
REVTYPE tinyint,
|
1880
|
primary key (REV, DESCRIPTIONELEMENTBASE_ID, MODIFYINGTEXT_ID, MODIFYINGTEXT_MAPKEY_ID)
|
1881
|
);
|
1882
|
|
1883
|
create table PUBLIC.DESCRIPTIVEDATASET (
|
1884
|
DTYPE varchar(31) not null,
|
1885
|
ID integer not null,
|
1886
|
CREATED timestamp,
|
1887
|
UUID varchar(36),
|
1888
|
UPDATED timestamp,
|
1889
|
LSID_AUTHORITY varchar(255),
|
1890
|
LSID_LSID varchar(255),
|
1891
|
LSID_NAMESPACE varchar(255),
|
1892
|
LSID_OBJECT varchar(255),
|
1893
|
LSID_REVISION varchar(255),
|
1894
|
PROTECTEDTITLECACHE boolean not null,
|
1895
|
TITLECACHE varchar(800),
|
1896
|
CREATEDBY_ID integer,
|
1897
|
UPDATEDBY_ID integer,
|
1898
|
DESCRIPTIVESYSTEM_ID integer,
|
1899
|
MAXRANK_ID integer,
|
1900
|
MINRANK_ID integer,
|
1901
|
primary key (ID)
|
1902
|
);
|
1903
|
|
1904
|
create table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION (
|
1905
|
DESCRIPTIVEDATASET_ID integer not null,
|
1906
|
ANNOTATIONS_ID integer not null,
|
1907
|
primary key (DESCRIPTIVEDATASET_ID, ANNOTATIONS_ID)
|
1908
|
);
|
1909
|
|
1910
|
create table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION_AUD (
|
1911
|
REV integer not null,
|
1912
|
DESCRIPTIVEDATASET_ID integer not null,
|
1913
|
ANNOTATIONS_ID integer not null,
|
1914
|
REVTYPE tinyint,
|
1915
|
primary key (REV, DESCRIPTIVEDATASET_ID, ANNOTATIONS_ID)
|
1916
|
);
|
1917
|
|
1918
|
create table PUBLIC.DESCRIPTIVEDATASET_AUD (
|
1919
|
ID integer not null,
|
1920
|
REV integer not null,
|
1921
|
DTYPE varchar(31) not null,
|
1922
|
REVTYPE tinyint,
|
1923
|
CREATED timestamp,
|
1924
|
UUID varchar(36),
|
1925
|
UPDATED timestamp,
|
1926
|
LSID_AUTHORITY varchar(255),
|
1927
|
LSID_LSID varchar(255),
|
1928
|
LSID_NAMESPACE varchar(255),
|
1929
|
LSID_OBJECT varchar(255),
|
1930
|
LSID_REVISION varchar(255),
|
1931
|
PROTECTEDTITLECACHE boolean,
|
1932
|
TITLECACHE varchar(800),
|
1933
|
CREATEDBY_ID integer,
|
1934
|
UPDATEDBY_ID integer,
|
1935
|
DESCRIPTIVESYSTEM_ID integer,
|
1936
|
MAXRANK_ID integer,
|
1937
|
MINRANK_ID integer,
|
1938
|
primary key (ID, REV)
|
1939
|
);
|
1940
|
|
1941
|
create table PUBLIC.DESCRIPTIVEDATASET_CREDIT (
|
1942
|
DESCRIPTIVEDATASET_ID integer not null,
|
1943
|
CREDITS_ID integer not null,
|
1944
|
SORTINDEX integer not null,
|
1945
|
primary key (DESCRIPTIVEDATASET_ID, SORTINDEX)
|
1946
|
);
|
1947
|
|
1948
|
create table PUBLIC.DESCRIPTIVEDATASET_CREDIT_AUD (
|
1949
|
REV integer not null,
|
1950
|
DESCRIPTIVEDATASET_ID integer not null,
|
1951
|
CREDITS_ID integer not null,
|
1952
|
SORTINDEX integer not null,
|
1953
|
REVTYPE tinyint,
|
1954
|
primary key (REV, DESCRIPTIVEDATASET_ID, CREDITS_ID, SORTINDEX)
|
1955
|
);
|
1956
|
|
1957
|
create table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE (
|
1958
|
DESCRIPTIVEDATASETS_ID integer not null,
|
1959
|
DESCRIPTIONS_ID integer not null,
|
1960
|
primary key (DESCRIPTIVEDATASETS_ID, DESCRIPTIONS_ID)
|
1961
|
);
|
1962
|
|
1963
|
create table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE_AUD (
|
1964
|
REV integer not null,
|
1965
|
DESCRIPTIVEDATASETS_ID integer not null,
|
1966
|
DESCRIPTIONS_ID integer not null,
|
1967
|
REVTYPE tinyint,
|
1968
|
primary key (REV, DESCRIPTIVEDATASETS_ID, DESCRIPTIONS_ID)
|
1969
|
);
|
1970
|
|
1971
|
create table PUBLIC.DESCRIPTIVEDATASET_EXTENSION (
|
1972
|
DESCRIPTIVEDATASET_ID integer not null,
|
1973
|
EXTENSIONS_ID integer not null,
|
1974
|
primary key (DESCRIPTIVEDATASET_ID, EXTENSIONS_ID)
|
1975
|
);
|
1976
|
|
1977
|
create table PUBLIC.DESCRIPTIVEDATASET_EXTENSION_AUD (
|
1978
|
REV integer not null,
|
1979
|
DESCRIPTIVEDATASET_ID integer not null,
|
1980
|
EXTENSIONS_ID integer not null,
|
1981
|
REVTYPE tinyint,
|
1982
|
primary key (REV, DESCRIPTIVEDATASET_ID, EXTENSIONS_ID)
|
1983
|
);
|
1984
|
|
1985
|
create table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK (
|
1986
|
DESCRIPTIVEDATASET_ID integer not null,
|
1987
|
LINKS_ID integer not null,
|
1988
|
primary key (DESCRIPTIVEDATASET_ID, LINKS_ID)
|
1989
|
);
|
1990
|
|
1991
|
create table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK_AUD (
|
1992
|
REV integer not null,
|
1993
|
DESCRIPTIVEDATASET_ID integer not null,
|
1994
|
LINKS_ID integer not null,
|
1995
|
REVTYPE tinyint,
|
1996
|
primary key (REV, DESCRIPTIVEDATASET_ID, LINKS_ID)
|
1997
|
);
|
1998
|
|
1999
|
create table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER (
|
2000
|
DESCRIPTIVEDATASET_ID integer not null,
|
2001
|
IDENTIFIERS_ID integer not null,
|
2002
|
SORTINDEX integer not null,
|
2003
|
primary key (DESCRIPTIVEDATASET_ID, SORTINDEX)
|
2004
|
);
|
2005
|
|
2006
|
create table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER_AUD (
|
2007
|
REV integer not null,
|
2008
|
DESCRIPTIVEDATASET_ID integer not null,
|
2009
|
IDENTIFIERS_ID integer not null,
|
2010
|
SORTINDEX integer not null,
|
2011
|
REVTYPE tinyint,
|
2012
|
primary key (REV, DESCRIPTIVEDATASET_ID, IDENTIFIERS_ID, SORTINDEX)
|
2013
|
);
|
2014
|
|
2015
|
create table PUBLIC.DESCRIPTIVEDATASET_MARKER (
|
2016
|
DESCRIPTIVEDATASET_ID integer not null,
|
2017
|
MARKERS_ID integer not null,
|
2018
|
primary key (DESCRIPTIVEDATASET_ID, MARKERS_ID)
|
2019
|
);
|
2020
|
|
2021
|
create table PUBLIC.DESCRIPTIVEDATASET_MARKER_AUD (
|
2022
|
REV integer not null,
|
2023
|
DESCRIPTIVEDATASET_ID integer not null,
|
2024
|
MARKERS_ID integer not null,
|
2025
|
REVTYPE tinyint,
|
2026
|
primary key (REV, DESCRIPTIVEDATASET_ID, MARKERS_ID)
|
2027
|
);
|
2028
|
|
2029
|
create table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA (
|
2030
|
DESCRIPTIVEDATASET_ID integer not null,
|
2031
|
GEOFILTER_ID integer not null,
|
2032
|
primary key (DESCRIPTIVEDATASET_ID, GEOFILTER_ID)
|
2033
|
);
|
2034
|
|
2035
|
create table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA_AUD (
|
2036
|
REV integer not null,
|
2037
|
DESCRIPTIVEDATASET_ID integer not null,
|
2038
|
GEOFILTER_ID integer not null,
|
2039
|
REVTYPE tinyint,
|
2040
|
primary key (REV, DESCRIPTIVEDATASET_ID, GEOFILTER_ID)
|
2041
|
);
|
2042
|
|
2043
|
create table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE (
|
2044
|
DESCRIPTIVEDATASET_ID integer not null,
|
2045
|
SOURCES_ID integer not null,
|
2046
|
primary key (DESCRIPTIVEDATASET_ID, SOURCES_ID)
|
2047
|
);
|
2048
|
|
2049
|
create table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE_AUD (
|
2050
|
REV integer not null,
|
2051
|
DESCRIPTIVEDATASET_ID integer not null,
|
2052
|
SOURCES_ID integer not null,
|
2053
|
REVTYPE tinyint,
|
2054
|
primary key (REV, DESCRIPTIVEDATASET_ID, SOURCES_ID)
|
2055
|
);
|
2056
|
|
2057
|
create table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION (
|
2058
|
DESCRIPTIVEDATASET_ID integer not null,
|
2059
|
REPRESENTATIONS_ID integer not null,
|
2060
|
primary key (DESCRIPTIVEDATASET_ID, REPRESENTATIONS_ID)
|
2061
|
);
|
2062
|
|
2063
|
create table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION_AUD (
|
2064
|
REV integer not null,
|
2065
|
DESCRIPTIVEDATASET_ID integer not null,
|
2066
|
REPRESENTATIONS_ID integer not null,
|
2067
|
REVTYPE tinyint,
|
2068
|
primary key (REV, DESCRIPTIVEDATASET_ID, REPRESENTATIONS_ID)
|
2069
|
);
|
2070
|
|
2071
|
create table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO (
|
2072
|
DESCRIPTIVEDATASET_ID integer not null,
|
2073
|
RIGHTS_ID integer not null,
|
2074
|
primary key (DESCRIPTIVEDATASET_ID, RIGHTS_ID)
|
2075
|
);
|
2076
|
|
2077
|
create table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO_AUD (
|
2078
|
REV integer not null,
|
2079
|
DESCRIPTIVEDATASET_ID integer not null,
|
2080
|
RIGHTS_ID integer not null,
|
2081
|
REVTYPE tinyint,
|
2082
|
primary key (REV, DESCRIPTIVEDATASET_ID, RIGHTS_ID)
|
2083
|
);
|
2084
|
|
2085
|
create table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE (
|
2086
|
DESCRIPTIVEDATASET_ID integer not null,
|
2087
|
TAXONSUBTREEFILTER_ID integer not null,
|
2088
|
primary key (DESCRIPTIVEDATASET_ID, TAXONSUBTREEFILTER_ID)
|
2089
|
);
|
2090
|
|
2091
|
create table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE_AUD (
|
2092
|
REV integer not null,
|
2093
|
DESCRIPTIVEDATASET_ID integer not null,
|
2094
|
TAXONSUBTREEFILTER_ID integer not null,
|
2095
|
REVTYPE tinyint,
|
2096
|
primary key (REV, DESCRIPTIVEDATASET_ID, TAXONSUBTREEFILTER_ID)
|
2097
|
);
|
2098
|
|
2099
|
create table PUBLIC.DETERMINATIONEVENT (
|
2100
|
ID integer not null,
|
2101
|
CREATED timestamp,
|
2102
|
UUID varchar(36),
|
2103
|
UPDATED timestamp,
|
2104
|
DESCRIPTION varchar(255),
|
2105
|
TIMEPERIOD_END varchar(255),
|
2106
|
TIMEPERIOD_FREETEXT varchar(255),
|
2107
|
TIMEPERIOD_START varchar(255),
|
2108
|
PREFERREDFLAG boolean not null,
|
2109
|
CREATEDBY_ID integer,
|
2110
|
UPDATEDBY_ID integer,
|
2111
|
ACTOR_ID integer,
|
2112
|
IDENTIFIEDUNIT_ID integer,
|
2113
|
MODIFIER_ID integer,
|
2114
|
TAXON_ID integer,
|
2115
|
TAXONNAME_ID integer,
|
2116
|
primary key (ID)
|
2117
|
);
|
2118
|
|
2119
|
create table PUBLIC.DETERMINATIONEVENT_ANNOTATION (
|
2120
|
DETERMINATIONEVENT_ID integer not null,
|
2121
|
ANNOTATIONS_ID integer not null,
|
2122
|
primary key (DETERMINATIONEVENT_ID, ANNOTATIONS_ID)
|
2123
|
);
|
2124
|
|
2125
|
create table PUBLIC.DETERMINATIONEVENT_ANNOTATION_AUD (
|
2126
|
REV integer not null,
|
2127
|
DETERMINATIONEVENT_ID integer not null,
|
2128
|
ANNOTATIONS_ID integer not null,
|
2129
|
REVTYPE tinyint,
|
2130
|
primary key (REV, DETERMINATIONEVENT_ID, ANNOTATIONS_ID)
|
2131
|
);
|
2132
|
|
2133
|
create table PUBLIC.DETERMINATIONEVENT_AUD (
|
2134
|
ID integer not null,
|
2135
|
REV integer not null,
|
2136
|
REVTYPE tinyint,
|
2137
|
CREATED timestamp,
|
2138
|
UUID varchar(36),
|
2139
|
UPDATED timestamp,
|
2140
|
DESCRIPTION varchar(255),
|
2141
|
TIMEPERIOD_END varchar(255),
|
2142
|
TIMEPERIOD_FREETEXT varchar(255),
|
2143
|
TIMEPERIOD_START varchar(255),
|
2144
|
PREFERREDFLAG boolean,
|
2145
|
CREATEDBY_ID integer,
|
2146
|
UPDATEDBY_ID integer,
|
2147
|
ACTOR_ID integer,
|
2148
|
IDENTIFIEDUNIT_ID integer,
|
2149
|
MODIFIER_ID integer,
|
2150
|
TAXON_ID integer,
|
2151
|
TAXONNAME_ID integer,
|
2152
|
primary key (ID, REV)
|
2153
|
);
|
2154
|
|
2155
|
create table PUBLIC.DETERMINATIONEVENT_MARKER (
|
2156
|
DETERMINATIONEVENT_ID integer not null,
|
2157
|
MARKERS_ID integer not null,
|
2158
|
primary key (DETERMINATIONEVENT_ID, MARKERS_ID)
|
2159
|
);
|
2160
|
|
2161
|
create table PUBLIC.DETERMINATIONEVENT_MARKER_AUD (
|
2162
|
REV integer not null,
|
2163
|
DETERMINATIONEVENT_ID integer not null,
|
2164
|
MARKERS_ID integer not null,
|
2165
|
REVTYPE tinyint,
|
2166
|
primary key (REV, DETERMINATIONEVENT_ID, MARKERS_ID)
|
2167
|
);
|
2168
|
|
2169
|
create table PUBLIC.DETERMINATIONEVENT_REFERENCE (
|
2170
|
DETERMINATIONEVENT_ID integer not null,
|
2171
|
REFERENCES_ID integer not null,
|
2172
|
primary key (DETERMINATIONEVENT_ID, REFERENCES_ID)
|
2173
|
);
|
2174
|
|
2175
|
create table PUBLIC.DETERMINATIONEVENT_REFERENCE_AUD (
|
2176
|
REV integer not null,
|
2177
|
DETERMINATIONEVENT_ID integer not null,
|
2178
|
REFERENCES_ID integer not null,
|
2179
|
REVTYPE tinyint,
|
2180
|
primary key (REV, DETERMINATIONEVENT_ID, REFERENCES_ID)
|
2181
|
);
|
2182
|
|
2183
|
create table PUBLIC.DNAQUALITY (
|
2184
|
ID integer not null,
|
2185
|
CREATED timestamp,
|
2186
|
UUID varchar(36),
|
2187
|
UPDATED timestamp,
|
2188
|
CONCENTRATION double,
|
2189
|
PURIFICATIONMETHOD varchar(255),
|
2190
|
QUALITYCHECKDATE timestamp,
|
2191
|
RATIOOFABSORBANCE260_230 double,
|
2192
|
RATIOOFABSORBANCE260_280 double,
|
2193
|
CREATEDBY_ID integer,
|
2194
|
UPDATEDBY_ID integer,
|
2195
|
CONCENTRATIONUNIT_ID integer,
|
2196
|
QUALITYTERM_ID integer,
|
2197
|
TYPEDPURIFICATIONMETHOD_ID integer,
|
2198
|
primary key (ID)
|
2199
|
);
|
2200
|
|
2201
|
create table PUBLIC.DNAQUALITY_AUD (
|
2202
|
ID integer not null,
|
2203
|
REV integer not null,
|
2204
|
REVTYPE tinyint,
|
2205
|
CREATED timestamp,
|
2206
|
UUID varchar(36),
|
2207
|
UPDATED timestamp,
|
2208
|
CONCENTRATION double,
|
2209
|
PURIFICATIONMETHOD varchar(255),
|
2210
|
QUALITYCHECKDATE timestamp,
|
2211
|
RATIOOFABSORBANCE260_230 double,
|
2212
|
RATIOOFABSORBANCE260_280 double,
|
2213
|
CREATEDBY_ID integer,
|
2214
|
UPDATEDBY_ID integer,
|
2215
|
CONCENTRATIONUNIT_ID integer,
|
2216
|
QUALITYTERM_ID integer,
|
2217
|
TYPEDPURIFICATIONMETHOD_ID integer,
|
2218
|
primary key (ID, REV)
|
2219
|
);
|
2220
|
|
2221
|
create table PUBLIC.ENTITYCONSTRAINTVIOLATION (
|
2222
|
ID integer not null,
|
2223
|
CREATED timestamp,
|
2224
|
UUID varchar(36),
|
2225
|
INVALIDVALUE varchar(255),
|
2226
|
MESSAGE varchar(255),
|
2227
|
PROPERTYPATH varchar(255),
|
2228
|
SEVERITY varchar(255),
|
2229
|
USERFRIENDLYFIELDNAME varchar(255),
|
2230
|
VALIDATIONGROUP varchar(255),
|
2231
|
VALIDATOR varchar(255),
|
2232
|
CREATEDBY_ID integer,
|
2233
|
ENTITYVALIDATION_ID integer,
|
2234
|
primary key (ID)
|
2235
|
);
|
2236
|
|
2237
|
create table PUBLIC.ENTITYVALIDATION (
|
2238
|
ID integer not null,
|
2239
|
CREATED timestamp,
|
2240
|
UUID varchar(36),
|
2241
|
CRUDEVENTTYPE varchar(255),
|
2242
|
STATUS varchar(255),
|
2243
|
UPDATED timestamp,
|
2244
|
USERFRIENDLYDESCRIPTION varchar(255),
|
2245
|
USERFRIENDLYTYPENAME varchar(255),
|
2246
|
VALIDATEDENTITYCLASS varchar(255),
|
2247
|
VALIDATEDENTITYID integer not null,
|
2248
|
VALIDATEDENTITYUUID varchar(36),
|
2249
|
VALIDATIONCOUNT integer not null,
|
2250
|
CREATEDBY_ID integer,
|
2251
|
primary key (ID)
|
2252
|
);
|
2253
|
|
2254
|
create table PUBLIC.EXTENSION (
|
2255
|
ID integer not null,
|
2256
|
CREATED timestamp,
|
2257
|
UUID varchar(36),
|
2258
|
UPDATED timestamp,
|
2259
|
VALUE clob,
|
2260
|
CREATEDBY_ID integer,
|
2261
|
UPDATEDBY_ID integer,
|
2262
|
TYPE_ID integer,
|
2263
|
primary key (ID)
|
2264
|
);
|
2265
|
|
2266
|
create table PUBLIC.EXTENSION_AUD (
|
2267
|
ID integer not null,
|
2268
|
REV integer not null,
|
2269
|
REVTYPE tinyint,
|
2270
|
CREATED timestamp,
|
2271
|
UUID varchar(36),
|
2272
|
UPDATED timestamp,
|
2273
|
VALUE clob,
|
2274
|
CREATEDBY_ID integer,
|
2275
|
UPDATEDBY_ID integer,
|
2276
|
TYPE_ID integer,
|
2277
|
primary key (ID, REV)
|
2278
|
);
|
2279
|
|
2280
|
create table PUBLIC.EXTERNALLINK (
|
2281
|
ID integer not null,
|
2282
|
CREATED timestamp,
|
2283
|
UUID varchar(36),
|
2284
|
UPDATED timestamp,
|
2285
|
LINKTYPE varchar(10),
|
2286
|
SIZE integer,
|
2287
|
URI clob,
|
2288
|
CREATEDBY_ID integer,
|
2289
|
UPDATEDBY_ID integer,
|
2290
|
primary key (ID)
|
2291
|
);
|
2292
|
|
2293
|
create table PUBLIC.EXTERNALLINK_AUD (
|
2294
|
ID integer not null,
|
2295
|
REV integer not null,
|
2296
|
REVTYPE tinyint,
|
2297
|
CREATED timestamp,
|
2298
|
UUID varchar(36),
|
2299
|
UPDATED timestamp,
|
2300
|
LINKTYPE varchar(10),
|
2301
|
SIZE integer,
|
2302
|
URI clob,
|
2303
|
CREATEDBY_ID integer,
|
2304
|
UPDATEDBY_ID integer,
|
2305
|
primary key (ID, REV)
|
2306
|
);
|
2307
|
|
2308
|
create table PUBLIC.EXTERNALLINK_LANGUAGESTRING (
|
2309
|
EXTERNALLINK_ID integer not null,
|
2310
|
DESCRIPTION_ID integer not null,
|
2311
|
DESCRIPTION_MAPKEY_ID integer not null,
|
2312
|
primary key (EXTERNALLINK_ID, DESCRIPTION_MAPKEY_ID)
|
2313
|
);
|
2314
|
|
2315
|
create table PUBLIC.EXTERNALLINK_LANGUAGESTRING_AUD (
|
2316
|
REV integer not null,
|
2317
|
EXTERNALLINK_ID integer not null,
|
2318
|
DESCRIPTION_ID integer not null,
|
2319
|
DESCRIPTION_MAPKEY_ID integer not null,
|
2320
|
REVTYPE tinyint,
|
2321
|
primary key (REV, EXTERNALLINK_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID)
|
2322
|
);
|
2323
|
|
2324
|
create table PUBLIC.FEATURESTATE (
|
2325
|
ID integer not null,
|
2326
|
CREATED timestamp,
|
2327
|
UUID varchar(36),
|
2328
|
UPDATED timestamp,
|
2329
|
CREATEDBY_ID integer,
|
2330
|
UPDATEDBY_ID integer,
|
2331
|
FEATURE_ID integer,
|
2332
|
STATE_ID integer,
|
2333
|
primary key (ID)
|
2334
|
);
|
2335
|
|
2336
|
create table PUBLIC.FEATURESTATE_AUD (
|
2337
|
ID integer not null,
|
2338
|
REV integer not null,
|
2339
|
REVTYPE tinyint,
|
2340
|
CREATED timestamp,
|
2341
|
UUID varchar(36),
|
2342
|
UPDATED timestamp,
|
2343
|
CREATEDBY_ID integer,
|
2344
|
UPDATEDBY_ID integer,
|
2345
|
FEATURE_ID integer,
|
2346
|
STATE_ID integer,
|
2347
|
primary key (ID, REV)
|
2348
|
);
|
2349
|
|
2350
|
create table PUBLIC.GATHERINGEVENT (
|
2351
|
ID integer not null,
|
2352
|
CREATED timestamp,
|
2353
|
UUID varchar(36),
|
2354
|
UPDATED timestamp,
|
2355
|
DESCRIPTION varchar(255),
|
2356
|
TIMEPERIOD_END varchar(255),
|
2357
|
TIMEPERIOD_FREETEXT varchar(255),
|
2358
|
TIMEPERIOD_START varchar(255),
|
2359
|
ABSOLUTEELEVATION integer,
|
2360
|
ABSOLUTEELEVATIONMAX integer,
|
2361
|
ABSOLUTEELEVATIONTEXT varchar(30),
|
2362
|
COLLECTINGMETHOD varchar(255),
|
2363
|
DISTANCETOGROUND double,
|
2364
|
DISTANCETOGROUNDMAX double,
|
2365
|
DISTANCETOGROUNDTEXT varchar(30),
|
2366
|
DISTANCETOWATERSURFACE double,
|
2367
|
DISTANCETOWATERSURFACEMAX double,
|
2368
|
DISTANCETOWATERSURFACETEXT varchar(30),
|
2369
|
EXACTLOCATION_ERRORRADIUS integer,
|
2370
|
EXACTLOCATION_LATITUDE double,
|
2371
|
EXACTLOCATION_LONGITUDE double,
|
2372
|
CREATEDBY_ID integer,
|
2373
|
UPDATEDBY_ID integer,
|
2374
|
ACTOR_ID integer,
|
2375
|
COUNTRY_ID integer,
|
2376
|
EXACTLOCATION_REFERENCESYSTEM_ID integer,
|
2377
|
LOCALITY_ID integer,
|
2378
|
primary key (ID)
|
2379
|
);
|
2380
|
|
2381
|
create table PUBLIC.GATHERINGEVENT_ANNOTATION (
|
2382
|
GATHERINGEVENT_ID integer not null,
|
2383
|
ANNOTATIONS_ID integer not null,
|
2384
|
primary key (GATHERINGEVENT_ID, ANNOTATIONS_ID)
|
2385
|
);
|
2386
|
|
2387
|
create table PUBLIC.GATHERINGEVENT_ANNOTATION_AUD (
|
2388
|
REV integer not null,
|
2389
|
GATHERINGEVENT_ID integer not null,
|
2390
|
ANNOTATIONS_ID integer not null,
|
2391
|
REVTYPE tinyint,
|
2392
|
primary key (REV, GATHERINGEVENT_ID, ANNOTATIONS_ID)
|
2393
|
);
|
2394
|
|
2395
|
create table PUBLIC.GATHERINGEVENT_AUD (
|
2396
|
ID integer not null,
|
2397
|
REV integer not null,
|
2398
|
REVTYPE tinyint,
|
2399
|
CREATED timestamp,
|
2400
|
UUID varchar(36),
|
2401
|
UPDATED timestamp,
|
2402
|
DESCRIPTION varchar(255),
|
2403
|
TIMEPERIOD_END varchar(255),
|
2404
|
TIMEPERIOD_FREETEXT varchar(255),
|
2405
|
TIMEPERIOD_START varchar(255),
|
2406
|
ABSOLUTEELEVATION integer,
|
2407
|
ABSOLUTEELEVATIONMAX integer,
|
2408
|
ABSOLUTEELEVATIONTEXT varchar(30),
|
2409
|
COLLECTINGMETHOD varchar(255),
|
2410
|
DISTANCETOGROUND double,
|
2411
|
DISTANCETOGROUNDMAX double,
|
2412
|
DISTANCETOGROUNDTEXT varchar(30),
|
2413
|
DISTANCETOWATERSURFACE double,
|
2414
|
DISTANCETOWATERSURFACEMAX double,
|
2415
|
DISTANCETOWATERSURFACETEXT varchar(30),
|
2416
|
EXACTLOCATION_ERRORRADIUS integer,
|
2417
|
EXACTLOCATION_LATITUDE double,
|
2418
|
EXACTLOCATION_LONGITUDE double,
|
2419
|
CREATEDBY_ID integer,
|
2420
|
UPDATEDBY_ID integer,
|
2421
|
ACTOR_ID integer,
|
2422
|
COUNTRY_ID integer,
|
2423
|
EXACTLOCATION_REFERENCESYSTEM_ID integer,
|
2424
|
LOCALITY_ID integer,
|
2425
|
primary key (ID, REV)
|
2426
|
);
|
2427
|
|
2428
|
create table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE (
|
2429
|
GATHERINGEVENT_ID integer not null,
|
2430
|
COLLECTINGAREAS_ID integer not null,
|
2431
|
primary key (GATHERINGEVENT_ID, COLLECTINGAREAS_ID)
|
2432
|
);
|
2433
|
|
2434
|
create table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE_AUD (
|
2435
|
REV integer not null,
|
2436
|
GATHERINGEVENT_ID integer not null,
|
2437
|
COLLECTINGAREAS_ID integer not null,
|
2438
|
REVTYPE tinyint,
|
2439
|
primary key (REV, GATHERINGEVENT_ID, COLLECTINGAREAS_ID)
|
2440
|
);
|
2441
|
|
2442
|
create table PUBLIC.GATHERINGEVENT_MARKER (
|
2443
|
GATHERINGEVENT_ID integer not null,
|
2444
|
MARKERS_ID integer not null,
|
2445
|
primary key (GATHERINGEVENT_ID, MARKERS_ID)
|
2446
|
);
|
2447
|
|
2448
|
create table PUBLIC.GATHERINGEVENT_MARKER_AUD (
|
2449
|
REV integer not null,
|
2450
|
GATHERINGEVENT_ID integer not null,
|
2451
|
MARKERS_ID integer not null,
|
2452
|
REVTYPE tinyint,
|
2453
|
primary key (REV, GATHERINGEVENT_ID, MARKERS_ID)
|
2454
|
);
|
2455
|
|
2456
|
create table PUBLIC.GRANTEDAUTHORITYIMPL (
|
2457
|
ID integer not null,
|
2458
|
CREATED timestamp,
|
2459
|
UUID varchar(36),
|
2460
|
AUTHORITY varchar(255),
|
2461
|
CREATEDBY_ID integer,
|
2462
|
primary key (ID)
|
2463
|
);
|
2464
|
|
2465
|
create table PUBLIC.HIBERNATE_SEQUENCES (
|
2466
|
sequence_name varchar(255) not null,
|
2467
|
next_val bigint,
|
2468
|
primary key (sequence_name)
|
2469
|
);
|
2470
|
|
2471
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('LANGUAGESTRING',9);
|
2472
|
|
2473
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MEDIAMETADATA',9);
|
2474
|
|
2475
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ENTITYVALIDATION',9);
|
2476
|
|
2477
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('RIGHTSINFO',9);
|
2478
|
|
2479
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('FEATURESTATE',9);
|
2480
|
|
2481
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONNAME',9);
|
2482
|
|
2483
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('POLYTOMOUSKEY',9);
|
2484
|
|
2485
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TERMRELATION',9);
|
2486
|
|
2487
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('COLLECTION',9);
|
2488
|
|
2489
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DEFINEDTERMBASE',9);
|
2490
|
|
2491
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('CREDIT',9);
|
2492
|
|
2493
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('CDMLINK',9);
|
2494
|
|
2495
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DESCRIPTIONELEMENTBASE',9);
|
2496
|
|
2497
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('STATEDATA',9);
|
2498
|
|
2499
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TYPEDESIGNATIONBASE',9);
|
2500
|
|
2501
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('REGISTRATION',9);
|
2502
|
|
2503
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('POLYTOMOUSKEYNODE',9);
|
2504
|
|
2505
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DESCRIPTIVEDATASET',9);
|
2506
|
|
2507
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('HYBRIDRELATIONSHIP',9);
|
2508
|
|
2509
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('GRANTEDAUTHORITYIMPL',9);
|
2510
|
|
2511
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('INSTITUTIONALMEMBERSHIP',9);
|
2512
|
|
2513
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MEDIAREPRESENTATIONPART',9);
|
2514
|
|
2515
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DESCRIPTIONBASE',9);
|
2516
|
|
2517
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('HOMOTYPICALGROUP',9);
|
2518
|
|
2519
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('REFERENCE',9);
|
2520
|
|
2521
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('USERACCOUNT',9);
|
2522
|
|
2523
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONOMICOPERATION',9);
|
2524
|
|
2525
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONNODEAGENTRELATION',9);
|
2526
|
|
2527
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DETERMINATIONEVENT',9);
|
2528
|
|
2529
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MATERIALORMETHODEVENT',9);
|
2530
|
|
2531
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('SPECIMENOROBSERVATIONBASE',9);
|
2532
|
|
2533
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('KEYSTATEMENT',9);
|
2534
|
|
2535
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AMPLIFICATION',9);
|
2536
|
|
2537
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('NAMERELATIONSHIP',9);
|
2538
|
|
2539
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ANNOTATION',9);
|
2540
|
|
2541
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ENTITYCONSTRAINTVIOLATION',9);
|
2542
|
|
2543
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('NOMENCLATURALSTATUS',9);
|
2544
|
|
2545
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('SEQUENCE',9);
|
2546
|
|
2547
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('EXTERNALLINK',9);
|
2548
|
|
2549
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('REPRESENTATION',9);
|
2550
|
|
2551
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('CLASSIFICATION',9);
|
2552
|
|
2553
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('PRIMER',9);
|
2554
|
|
2555
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DERIVATIONEVENT',9);
|
2556
|
|
2557
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('SINGLEREADALIGNMENT',9);
|
2558
|
|
2559
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('SINGLEREAD',9);
|
2560
|
|
2561
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MEDIA',9);
|
2562
|
|
2563
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('DNAQUALITY',9);
|
2564
|
|
2565
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TERMCOLLECTION',9);
|
2566
|
|
2567
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('GATHERINGEVENT',9);
|
2568
|
|
2569
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AUDITEVENT',9);
|
2570
|
|
2571
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('OCCURRENCESTATUS',9);
|
2572
|
|
2573
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AMPLIFICATIONRESULT',9);
|
2574
|
|
2575
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('STATISTICALMEASUREMENTVALUE',9);
|
2576
|
|
2577
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ORIGINALSOURCEBASE',9);
|
2578
|
|
2579
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MARKER',9);
|
2580
|
|
2581
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('LSIDAUTHORITY',9);
|
2582
|
|
2583
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('IDENTIFIER',9);
|
2584
|
|
2585
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('ADDRESS',9);
|
2586
|
|
2587
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AGENTBASE',9);
|
2588
|
|
2589
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONRELATIONSHIP',9);
|
2590
|
|
2591
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('MEDIAREPRESENTATION',9);
|
2592
|
|
2593
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONNODE',9);
|
2594
|
|
2595
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('PERMISSIONGROUP',9);
|
2596
|
|
2597
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('AUTHORITY',9);
|
2598
|
|
2599
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('TAXONBASE',9);
|
2600
|
|
2601
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('CDMMETADATA',9);
|
2602
|
|
2603
|
insert into PUBLIC.HIBERNATE_SEQUENCES(sequence_name, next_val) values ('EXTENSION',9);
|
2604
|
|
2605
|
create table PUBLIC.HOMOTYPICALGROUP (
|
2606
|
ID integer not null,
|
2607
|
CREATED timestamp,
|
2608
|
UUID varchar(36),
|
2609
|
UPDATED timestamp,
|
2610
|
CREATEDBY_ID integer,
|
2611
|
UPDATEDBY_ID integer,
|
2612
|
primary key (ID)
|
2613
|
);
|
2614
|
|
2615
|
create table PUBLIC.HOMOTYPICALGROUP_ANNOTATION (
|
2616
|
HOMOTYPICALGROUP_ID integer not null,
|
2617
|
ANNOTATIONS_ID integer not null,
|
2618
|
primary key (HOMOTYPICALGROUP_ID, ANNOTATIONS_ID)
|
2619
|
);
|
2620
|
|
2621
|
create table PUBLIC.HOMOTYPICALGROUP_ANNOTATION_AUD (
|
2622
|
REV integer not null,
|
2623
|
HOMOTYPICALGROUP_ID integer not null,
|
2624
|
ANNOTATIONS_ID integer not null,
|
2625
|
REVTYPE tinyint,
|
2626
|
primary key (REV, HOMOTYPICALGROUP_ID, ANNOTATIONS_ID)
|
2627
|
);
|
2628
|
|
2629
|
create table PUBLIC.HOMOTYPICALGROUP_AUD (
|
2630
|
ID integer not null,
|
2631
|
REV integer not null,
|
2632
|
REVTYPE tinyint,
|
2633
|
CREATED timestamp,
|
2634
|
UUID varchar(36),
|
2635
|
UPDATED timestamp,
|
2636
|
CREATEDBY_ID integer,
|
2637
|
UPDATEDBY_ID integer,
|
2638
|
primary key (ID, REV)
|
2639
|
);
|
2640
|
|
2641
|
create table PUBLIC.HOMOTYPICALGROUP_MARKER (
|
2642
|
HOMOTYPICALGROUP_ID integer not null,
|
2643
|
MARKERS_ID integer not null,
|
2644
|
primary key (HOMOTYPICALGROUP_ID, MARKERS_ID)
|
2645
|
);
|
2646
|
|
2647
|
create table PUBLIC.HOMOTYPICALGROUP_MARKER_AUD (
|
2648
|
REV integer not null,
|
2649
|
HOMOTYPICALGROUP_ID integer not null,
|
2650
|
MARKERS_ID integer not null,
|
2651
|
REVTYPE tinyint,
|
2652
|
primary key (REV, HOMOTYPICALGROUP_ID, MARKERS_ID)
|
2653
|
);
|
2654
|
|
2655
|
create table PUBLIC.HYBRIDRELATIONSHIP (
|
2656
|
ID integer not null,
|
2657
|
CREATED timestamp,
|
2658
|
UUID varchar(36),
|
2659
|
UPDATED timestamp,
|
2660
|
DOUBTFUL boolean not null,
|
2661
|
CODEEDITION varchar(20),
|
2662
|
RULECONSIDERED varchar(255),
|
2663
|
CREATEDBY_ID integer,
|
2664
|
UPDATEDBY_ID integer,
|
2665
|
SOURCE_ID integer,
|
2666
|
RELATEDFROM_ID integer,
|
2667
|
RELATEDTO_ID integer,
|
2668
|
TYPE_ID integer,
|
2669
|
primary key (ID)
|
2670
|
);
|
2671
|
|
2672
|
create table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION (
|
2673
|
HYBRIDRELATIONSHIP_ID integer not null,
|
2674
|
ANNOTATIONS_ID integer not null,
|
2675
|
primary key (HYBRIDRELATIONSHIP_ID, ANNOTATIONS_ID)
|
2676
|
);
|
2677
|
|
2678
|
create table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION_AUD (
|
2679
|
REV integer not null,
|
2680
|
HYBRIDRELATIONSHIP_ID integer not null,
|
2681
|
ANNOTATIONS_ID integer not null,
|
2682
|
REVTYPE tinyint,
|
2683
|
primary key (REV, HYBRIDRELATIONSHIP_ID, ANNOTATIONS_ID)
|
2684
|
);
|
2685
|
|
2686
|
create table PUBLIC.HYBRIDRELATIONSHIP_AUD (
|
2687
|
ID integer not null,
|
2688
|
REV integer not null,
|
2689
|
REVTYPE tinyint,
|
2690
|
CREATED timestamp,
|
2691
|
UUID varchar(36),
|
2692
|
UPDATED timestamp,
|
2693
|
DOUBTFUL boolean,
|
2694
|
CODEEDITION varchar(20),
|
2695
|
RULECONSIDERED varchar(255),
|
2696
|
CREATEDBY_ID integer,
|
2697
|
UPDATEDBY_ID integer,
|
2698
|
SOURCE_ID integer,
|
2699
|
RELATEDFROM_ID integer,
|
2700
|
RELATEDTO_ID integer,
|
2701
|
TYPE_ID integer,
|
2702
|
primary key (ID, REV)
|
2703
|
);
|
2704
|
|
2705
|
create table PUBLIC.HYBRIDRELATIONSHIP_MARKER (
|
2706
|
HYBRIDRELATIONSHIP_ID integer not null,
|
2707
|
MARKERS_ID integer not null,
|
2708
|
primary key (HYBRIDRELATIONSHIP_ID, MARKERS_ID)
|
2709
|
);
|
2710
|
|
2711
|
create table PUBLIC.HYBRIDRELATIONSHIP_MARKER_AUD (
|
2712
|
REV integer not null,
|
2713
|
HYBRIDRELATIONSHIP_ID integer not null,
|
2714
|
MARKERS_ID integer not null,
|
2715
|
REVTYPE tinyint,
|
2716
|
primary key (REV, HYBRIDRELATIONSHIP_ID, MARKERS_ID)
|
2717
|
);
|
2718
|
|
2719
|
create table PUBLIC.IDENTIFIER (
|
2720
|
ID integer not null,
|
2721
|
CREATED timestamp,
|
2722
|
UUID varchar(36),
|
2723
|
UPDATED timestamp,
|
2724
|
IDENTIFIER varchar(800),
|
2725
|
CREATEDBY_ID integer,
|
2726
|
UPDATEDBY_ID integer,
|
2727
|
TYPE_ID integer,
|
2728
|
primary key (ID)
|
2729
|
);
|
2730
|
|
2731
|
create table PUBLIC.IDENTIFIER_ANNOTATION (
|
2732
|
IDENTIFIER_ID integer not null,
|
2733
|
ANNOTATIONS_ID integer not null,
|
2734
|
primary key (IDENTIFIER_ID, ANNOTATIONS_ID)
|
2735
|
);
|
2736
|
|
2737
|
create table PUBLIC.IDENTIFIER_ANNOTATION_AUD (
|
2738
|
REV integer not null,
|
2739
|
IDENTIFIER_ID integer not null,
|
2740
|
ANNOTATIONS_ID integer not null,
|
2741
|
REVTYPE tinyint,
|
2742
|
primary key (REV, IDENTIFIER_ID, ANNOTATIONS_ID)
|
2743
|
);
|
2744
|
|
2745
|
create table PUBLIC.IDENTIFIER_AUD (
|
2746
|
ID integer not null,
|
2747
|
REV integer not null,
|
2748
|
REVTYPE tinyint,
|
2749
|
CREATED timestamp,
|
2750
|
UUID varchar(36),
|
2751
|
UPDATED timestamp,
|
2752
|
IDENTIFIER varchar(800),
|
2753
|
CREATEDBY_ID integer,
|
2754
|
UPDATEDBY_ID integer,
|
2755
|
TYPE_ID integer,
|
2756
|
primary key (ID, REV)
|
2757
|
);
|
2758
|
|
2759
|
create table PUBLIC.IDENTIFIER_MARKER (
|
2760
|
IDENTIFIER_ID integer not null,
|
2761
|
MARKERS_ID integer not null,
|
2762
|
primary key (IDENTIFIER_ID, MARKERS_ID)
|
2763
|
);
|
2764
|
|
2765
|
create table PUBLIC.IDENTIFIER_MARKER_AUD (
|
2766
|
REV integer not null,
|
2767
|
IDENTIFIER_ID integer not null,
|
2768
|
MARKERS_ID integer not null,
|
2769
|
REVTYPE tinyint,
|
2770
|
primary key (REV, IDENTIFIER_ID, MARKERS_ID)
|
2771
|
);
|
2772
|
|
2773
|
create table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING (
|
2774
|
INDIVIDUALSASSOCIATION_ID integer not null,
|
2775
|
DESCRIPTION_ID integer not null,
|
2776
|
DESCRIPTION_MAPKEY_ID integer not null,
|
2777
|
primary key (INDIVIDUALSASSOCIATION_ID, DESCRIPTION_MAPKEY_ID)
|
2778
|
);
|
2779
|
|
2780
|
create table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING_AUD (
|
2781
|
REV integer not null,
|
2782
|
INDIVIDUALSASSOCIATION_ID integer not null,
|
2783
|
DESCRIPTION_ID integer not null,
|
2784
|
DESCRIPTION_MAPKEY_ID integer not null,
|
2785
|
REVTYPE tinyint,
|
2786
|
primary key (REV, INDIVIDUALSASSOCIATION_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID)
|
2787
|
);
|
2788
|
|
2789
|
create table PUBLIC.INSTITUTIONALMEMBERSHIP (
|
2790
|
ID integer not null,
|
2791
|
CREATED timestamp,
|
2792
|
UUID varchar(36),
|
2793
|
UPDATED timestamp,
|
2794
|
DEPARTMENT varchar(255),
|
2795
|
PERIOD_END varchar(255),
|
2796
|
PERIOD_FREETEXT varchar(255),
|
2797
|
PERIOD_START varchar(255),
|
2798
|
ROLE varchar(255),
|
2799
|
CREATEDBY_ID integer,
|
2800
|
UPDATEDBY_ID integer,
|
2801
|
INSTITUTE_ID integer,
|
2802
|
PERSON_ID integer,
|
2803
|
primary key (ID)
|
2804
|
);
|
2805
|
|
2806
|
create table PUBLIC.INSTITUTIONALMEMBERSHIP_AUD (
|
2807
|
ID integer not null,
|
2808
|
REV integer not null,
|
2809
|
REVTYPE tinyint,
|
2810
|
CREATED timestamp,
|
2811
|
UUID varchar(36),
|
2812
|
UPDATED timestamp,
|
2813
|
DEPARTMENT varchar(255),
|
2814
|
PERIOD_END varchar(255),
|
2815
|
PERIOD_FREETEXT varchar(255),
|
2816
|
PERIOD_START varchar(255),
|
2817
|
ROLE varchar(255),
|
2818
|
CREATEDBY_ID integer,
|
2819
|
UPDATEDBY_ID integer,
|
2820
|
INSTITUTE_ID integer,
|
2821
|
PERSON_ID integer,
|
2822
|
primary key (ID, REV)
|
2823
|
);
|
2824
|
|
2825
|
create table PUBLIC.KEYSTATEMENT (
|
2826
|
ID integer not null,
|
2827
|
CREATED timestamp,
|
2828
|
UUID varchar(36),
|
2829
|
UPDATED timestamp,
|
2830
|
CREATEDBY_ID integer,
|
2831
|
UPDATEDBY_ID integer,
|
2832
|
primary key (ID)
|
2833
|
);
|
2834
|
|
2835
|
create table PUBLIC.KEYSTATEMENT_AUD (
|
2836
|
ID integer not null,
|
2837
|
REV integer not null,
|
2838
|
REVTYPE tinyint,
|
2839
|
CREATED timestamp,
|
2840
|
UUID varchar(36),
|
2841
|
UPDATED timestamp,
|
2842
|
CREATEDBY_ID integer,
|
2843
|
UPDATEDBY_ID integer,
|
2844
|
primary key (ID, REV)
|
2845
|
);
|
2846
|
|
2847
|
create table PUBLIC.KEYSTATEMENT_LANGUAGESTRING (
|
2848
|
KEYSTATEMENT_ID integer not null,
|
2849
|
LABEL_ID integer not null,
|
2850
|
LABEL_MAPKEY_ID integer not null,
|
2851
|
primary key (KEYSTATEMENT_ID, LABEL_MAPKEY_ID)
|
2852
|
);
|
2853
|
|
2854
|
create table PUBLIC.KEYSTATEMENT_LANGUAGESTRING_AUD (
|
2855
|
REV integer not null,
|
2856
|
KEYSTATEMENT_ID integer not null,
|
2857
|
LABEL_ID integer not null,
|
2858
|
LABEL_MAPKEY_ID integer not null,
|
2859
|
REVTYPE tinyint,
|
2860
|
primary key (REV, KEYSTATEMENT_ID, LABEL_ID, LABEL_MAPKEY_ID)
|
2861
|
);
|
2862
|
|
2863
|
create table PUBLIC.LANGUAGESTRING (
|
2864
|
ID integer not null,
|
2865
|
CREATED timestamp,
|
2866
|
UUID varchar(36),
|
2867
|
UPDATED timestamp,
|
2868
|
TEXT clob,
|
2869
|
CREATEDBY_ID integer,
|
2870
|
UPDATEDBY_ID integer,
|
2871
|
LANGUAGE_ID integer,
|
2872
|
primary key (ID)
|
2873
|
);
|
2874
|
|
2875
|
create table PUBLIC.LANGUAGESTRING_ANNOTATION (
|
2876
|
LANGUAGESTRING_ID integer not null,
|
2877
|
ANNOTATIONS_ID integer not null,
|
2878
|
primary key (LANGUAGESTRING_ID, ANNOTATIONS_ID)
|
2879
|
);
|
2880
|
|
2881
|
create table PUBLIC.LANGUAGESTRING_ANNOTATION_AUD (
|
2882
|
REV integer not null,
|
2883
|
LANGUAGESTRING_ID integer not null,
|
2884
|
ANNOTATIONS_ID integer not null,
|
2885
|
REVTYPE tinyint,
|
2886
|
primary key (REV, LANGUAGESTRING_ID, ANNOTATIONS_ID)
|
2887
|
);
|
2888
|
|
2889
|
create table PUBLIC.LANGUAGESTRING_AUD (
|
2890
|
ID integer not null,
|
2891
|
REV integer not null,
|
2892
|
REVTYPE tinyint,
|
2893
|
CREATED timestamp,
|
2894
|
UUID varchar(36),
|
2895
|
UPDATED timestamp,
|
2896
|
TEXT clob,
|
2897
|
CREATEDBY_ID integer,
|
2898
|
UPDATEDBY_ID integer,
|
2899
|
LANGUAGE_ID integer,
|
2900
|
primary key (ID, REV)
|
2901
|
);
|
2902
|
|
2903
|
create table PUBLIC.LANGUAGESTRING_MARKER (
|
2904
|
LANGUAGESTRING_ID integer not null,
|
2905
|
MARKERS_ID integer not null,
|
2906
|
primary key (LANGUAGESTRING_ID, MARKERS_ID)
|
2907
|
);
|
2908
|
|
2909
|
create table PUBLIC.LANGUAGESTRING_MARKER_AUD (
|
2910
|
REV integer not null,
|
2911
|
LANGUAGESTRING_ID integer not null,
|
2912
|
MARKERS_ID integer not null,
|
2913
|
REVTYPE tinyint,
|
2914
|
primary key (REV, LANGUAGESTRING_ID, MARKERS_ID)
|
2915
|
);
|
2916
|
|
2917
|
create table PUBLIC.LSIDAUTHORITY (
|
2918
|
ID integer not null,
|
2919
|
CREATED timestamp,
|
2920
|
UUID varchar(36),
|
2921
|
AUTHORITY varchar(255),
|
2922
|
AUTHORITYWSDL clob,
|
2923
|
PORT integer not null,
|
2924
|
SERVER varchar(255),
|
2925
|
URL varchar(255),
|
2926
|
CREATEDBY_ID integer,
|
2927
|
primary key (ID)
|
2928
|
);
|
2929
|
|
2930
|
create table PUBLIC.LSIDAUTHORITY_NAMESPACES (
|
2931
|
LSIDAUTHORITY_ID integer not null,
|
2932
|
NAMESPACES_ELEMENT varchar(255),
|
2933
|
NAMESPACES_MAPKEY varchar(255) not null,
|
2934
|
primary key (LSIDAUTHORITY_ID, NAMESPACES_MAPKEY)
|
2935
|
);
|
2936
|
|
2937
|
create table PUBLIC.MARKER (
|
2938
|
ID integer not null,
|
2939
|
CREATED timestamp,
|
2940
|
UUID varchar(36),
|
2941
|
UPDATED timestamp,
|
2942
|
FLAG boolean not null,
|
2943
|
CREATEDBY_ID integer,
|
2944
|
UPDATEDBY_ID integer,
|
2945
|
MARKERTYPE_ID integer,
|
2946
|
primary key (ID)
|
2947
|
);
|
2948
|
|
2949
|
create table PUBLIC.MARKER_AUD (
|
2950
|
ID integer not null,
|
2951
|
REV integer not null,
|
2952
|
REVTYPE tinyint,
|
2953
|
CREATED timestamp,
|
2954
|
UUID varchar(36),
|
2955
|
UPDATED timestamp,
|
2956
|
FLAG boolean,
|
2957
|
CREATEDBY_ID integer,
|
2958
|
UPDATEDBY_ID integer,
|
2959
|
MARKERTYPE_ID integer,
|
2960
|
primary key (ID, REV)
|
2961
|
);
|
2962
|
|
2963
|
create table PUBLIC.MATERIALORMETHODEVENT (
|
2964
|
DTYPE varchar(31) not null,
|
2965
|
ID integer not null,
|
2966
|
CREATED timestamp,
|
2967
|
UUID varchar(36),
|
2968
|
UPDATED timestamp,
|
2969
|
DESCRIPTION varchar(255),
|
2970
|
TIMEPERIOD_END varchar(255),
|
2971
|
TIMEPERIOD_FREETEXT varchar(255),
|
2972
|
TIMEPERIOD_START varchar(255),
|
2973
|
STRAIN varchar(100),
|
2974
|
TEMPERATURE double,
|
2975
|
CREATEDBY_ID integer,
|
2976
|
UPDATEDBY_ID integer,
|
2977
|
ACTOR_ID integer,
|
2978
|
DEFINEDMATERIALORMETHOD_ID integer,
|
2979
|
FORWARDPRIMER_ID integer,
|
2980
|
REVERSEPRIMER_ID integer,
|
2981
|
MEDIUM_ID integer,
|
2982
|
primary key (ID)
|
2983
|
);
|
2984
|
|
2985
|
create table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION (
|
2986
|
MATERIALORMETHODEVENT_ID integer not null,
|
2987
|
ANNOTATIONS_ID integer not null,
|
2988
|
primary key (MATERIALORMETHODEVENT_ID, ANNOTATIONS_ID)
|
2989
|
);
|
2990
|
|
2991
|
create table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION_AUD (
|
2992
|
REV integer not null,
|
2993
|
MATERIALORMETHODEVENT_ID integer not null,
|
2994
|
ANNOTATIONS_ID integer not null,
|
2995
|
REVTYPE tinyint,
|
2996
|
primary key (REV, MATERIALORMETHODEVENT_ID, ANNOTATIONS_ID)
|
2997
|
);
|
2998
|
|
2999
|
create table PUBLIC.MATERIALORMETHODEVENT_AUD (
|
3000
|
ID integer not null,
|
3001
|
REV integer not null,
|
3002
|
DTYPE varchar(31) not null,
|
3003
|
REVTYPE tinyint,
|
3004
|
CREATED timestamp,
|
3005
|
UUID varchar(36),
|
3006
|
UPDATED timestamp,
|
3007
|
DESCRIPTION varchar(255),
|
3008
|
TIMEPERIOD_END varchar(255),
|
3009
|
TIMEPERIOD_FREETEXT varchar(255),
|
3010
|
TIMEPERIOD_START varchar(255),
|
3011
|
CREATEDBY_ID integer,
|
3012
|
UPDATEDBY_ID integer,
|
3013
|
ACTOR_ID integer,
|
3014
|
DEFINEDMATERIALORMETHOD_ID integer,
|
3015
|
TEMPERATURE double,
|
3016
|
MEDIUM_ID integer,
|
3017
|
STRAIN varchar(100),
|
3018
|
FORWARDPRIMER_ID integer,
|
3019
|
REVERSEPRIMER_ID integer,
|
3020
|
primary key (ID, REV)
|
3021
|
);
|
3022
|
|
3023
|
create table PUBLIC.MATERIALORMETHODEVENT_MARKER (
|
3024
|
MATERIALORMETHODEVENT_ID integer not null,
|
3025
|
MARKERS_ID integer not null,
|
3026
|
primary key (MATERIALORMETHODEVENT_ID, MARKERS_ID)
|
3027
|
);
|
3028
|
|
3029
|
create table PUBLIC.MATERIALORMETHODEVENT_MARKER_AUD (
|
3030
|
REV integer not null,
|
3031
|
MATERIALORMETHODEVENT_ID integer not null,
|
3032
|
MARKERS_ID integer not null,
|
3033
|
REVTYPE tinyint,
|
3034
|
primary key (REV, MATERIALORMETHODEVENT_ID, MARKERS_ID)
|
3035
|
);
|
3036
|
|
3037
|
create table PUBLIC.MEDIA (
|
3038
|
DTYPE varchar(31) not null,
|
3039
|
ID integer not null,
|
3040
|
CREATED timestamp,
|
3041
|
UUID varchar(36),
|
3042
|
UPDATED timestamp,
|
3043
|
LSID_AUTHORITY varchar(255),
|
3044
|
LSID_LSID varchar(255),
|
3045
|
LSID_NAMESPACE varchar(255),
|
3046
|
LSID_OBJECT varchar(255),
|
3047
|
LSID_REVISION varchar(255),
|
3048
|
PROTECTEDTITLECACHE boolean not null,
|
3049
|
TITLECACHE varchar(800),
|
3050
|
MEDIACREATED_END varchar(255),
|
3051
|
MEDIACREATED_FREETEXT varchar(255),
|
3052
|
MEDIACREATED_START varchar(255),
|
3053
|
CREATEDBY_ID integer,
|
3054
|
UPDATEDBY_ID integer,
|
3055
|
ARTIST_ID integer,
|
3056
|
LINK_ID integer,
|
3057
|
primary key (ID)
|
3058
|
);
|
3059
|
|
3060
|
create table PUBLIC.MEDIA_ANNOTATION (
|
3061
|
MEDIA_ID integer not null,
|
3062
|
ANNOTATIONS_ID integer not null,
|
3063
|
primary key (MEDIA_ID, ANNOTATIONS_ID)
|
3064
|
);
|
3065
|
|
3066
|
create table PUBLIC.MEDIA_ANNOTATION_AUD (
|
3067
|
REV integer not null,
|
3068
|
MEDIA_ID integer not null,
|
3069
|
ANNOTATIONS_ID integer not null,
|
3070
|
REVTYPE tinyint,
|
3071
|
primary key (REV, MEDIA_ID, ANNOTATIONS_ID)
|
3072
|
);
|
3073
|
|
3074
|
create table PUBLIC.MEDIA_AUD (
|
3075
|
ID integer not null,
|
3076
|
REV integer not null,
|
3077
|
DTYPE varchar(31) not null,
|
3078
|
REVTYPE tinyint,
|
3079
|
CREATED timestamp,
|
3080
|
UUID varchar(36),
|
3081
|
UPDATED timestamp,
|
3082
|
LSID_AUTHORITY varchar(255),
|
3083
|
LSID_LSID varchar(255),
|
3084
|
LSID_NAMESPACE varchar(255),
|
3085
|
LSID_OBJECT varchar(255),
|
3086
|
LSID_REVISION varchar(255),
|
3087
|
PROTECTEDTITLECACHE boolean,
|
3088
|
TITLECACHE varchar(800),
|
3089
|
MEDIACREATED_END varchar(255),
|
3090
|
MEDIACREATED_FREETEXT varchar(255),
|
3091
|
MEDIACREATED_START varchar(255),
|
3092
|
CREATEDBY_ID integer,
|
3093
|
UPDATEDBY_ID integer,
|
3094
|
ARTIST_ID integer,
|
3095
|
LINK_ID integer,
|
3096
|
primary key (ID, REV)
|
3097
|
);
|
3098
|
|
3099
|
create table PUBLIC.MEDIA_CREDIT (
|
3100
|
MEDIA_ID integer not null,
|
3101
|
CREDITS_ID integer not null,
|
3102
|
SORTINDEX integer not null,
|
3103
|
primary key (MEDIA_ID, SORTINDEX)
|
3104
|
);
|
3105
|
|
3106
|
create table PUBLIC.MEDIA_CREDIT_AUD (
|
3107
|
REV integer not null,
|
3108
|
MEDIA_ID integer not null,
|
3109
|
CREDITS_ID integer not null,
|
3110
|
SORTINDEX integer not null,
|
3111
|
REVTYPE tinyint,
|
3112
|
primary key (REV, MEDIA_ID, CREDITS_ID, SORTINDEX)
|
3113
|
);
|
3114
|
|
3115
|
create table PUBLIC.MEDIA_DESCRIPTION (
|
3116
|
MEDIA_ID integer not null,
|
3117
|
DESCRIPTION_ID integer not null,
|
3118
|
DESCRIPTION_MAPKEY_ID integer not null,
|
3119
|
primary key (MEDIA_ID, DESCRIPTION_MAPKEY_ID)
|
3120
|
);
|
3121
|
|
3122
|
create table PUBLIC.MEDIA_DESCRIPTION_AUD (
|
3123
|
REV integer not null,
|
3124
|
MEDIA_ID integer not null,
|
3125
|
DESCRIPTION_ID integer not null,
|
3126
|
DESCRIPTION_MAPKEY_ID integer not null,
|
3127
|
REVTYPE tinyint,
|
3128
|
primary key (REV, MEDIA_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID)
|
3129
|
);
|
3130
|
|
3131
|
create table PUBLIC.MEDIA_EXTENSION (
|
3132
|
MEDIA_ID integer not null,
|
3133
|
EXTENSIONS_ID integer not null,
|
3134
|
primary key (MEDIA_ID, EXTENSIONS_ID)
|
3135
|
);
|
3136
|
|
3137
|
create table PUBLIC.MEDIA_EXTENSION_AUD (
|
3138
|
REV integer not null,
|
3139
|
MEDIA_ID integer not null,
|
3140
|
EXTENSIONS_ID integer not null,
|
3141
|
REVTYPE tinyint,
|
3142
|
primary key (REV, MEDIA_ID, EXTENSIONS_ID)
|
3143
|
);
|
3144
|
|
3145
|
create table PUBLIC.MEDIA_EXTERNALLINK (
|
3146
|
MEDIA_ID integer not null,
|
3147
|
LINKS_ID integer not null,
|
3148
|
primary key (MEDIA_ID, LINKS_ID)
|
3149
|
);
|
3150
|
|
3151
|
create table PUBLIC.MEDIA_EXTERNALLINK_AUD (
|
3152
|
REV integer not null,
|
3153
|
MEDIA_ID integer not null,
|
3154
|
LINKS_ID integer not null,
|
3155
|
REVTYPE tinyint,
|
3156
|
primary key (REV, MEDIA_ID, LINKS_ID)
|
3157
|
);
|
3158
|
|
3159
|
create table PUBLIC.MEDIA_IDENTIFIER (
|
3160
|
MEDIA_ID integer not null,
|
3161
|
IDENTIFIERS_ID integer not null,
|
3162
|
SORTINDEX integer not null,
|
3163
|
primary key (MEDIA_ID, SORTINDEX)
|
3164
|
);
|
3165
|
|
3166
|
create table PUBLIC.MEDIA_IDENTIFIER_AUD (
|
3167
|
REV integer not null,
|
3168
|
MEDIA_ID integer not null,
|
3169
|
IDENTIFIERS_ID integer not null,
|
3170
|
SORTINDEX integer not null,
|
3171
|
REVTYPE tinyint,
|
3172
|
primary key (REV, MEDIA_ID, IDENTIFIERS_ID, SORTINDEX)
|
3173
|
);
|
3174
|
|
3175
|
create table PUBLIC.MEDIA_LANGUAGESTRING (
|
3176
|
MEDIA_ID integer not null,
|
3177
|
TITLE_ID integer not null,
|
3178
|
TITLE_MAPKEY_ID integer not null,
|
3179
|
primary key (MEDIA_ID, TITLE_MAPKEY_ID)
|
3180
|
);
|
3181
|
|
3182
|
create table PUBLIC.MEDIA_LANGUAGESTRING_AUD (
|
3183
|
REV integer not null,
|
3184
|
MEDIA_ID integer not null,
|
3185
|
TITLE_ID integer not null,
|
3186
|
TITLE_MAPKEY_ID integer not null,
|
3187
|
REVTYPE tinyint,
|
3188
|
primary key (REV, MEDIA_ID, TITLE_ID, TITLE_MAPKEY_ID)
|
3189
|
);
|
3190
|
|
3191
|
create table PUBLIC.MEDIA_MARKER (
|
3192
|
MEDIA_ID integer not null,
|
3193
|
MARKERS_ID integer not null,
|
3194
|
primary key (MEDIA_ID, MARKERS_ID)
|
3195
|
);
|
3196
|
|
3197
|
create table PUBLIC.MEDIA_MARKER_AUD (
|
3198
|
REV integer not null,
|
3199
|
MEDIA_ID integer not null,
|
3200
|
MARKERS_ID integer not null,
|
3201
|
REVTYPE tinyint,
|
3202
|
primary key (REV, MEDIA_ID, MARKERS_ID)
|
3203
|
);
|
3204
|
|
3205
|
create table PUBLIC.MEDIA_ORIGINALSOURCEBASE (
|
3206
|
MEDIA_ID integer not null,
|
3207
|
SOURCES_ID integer not null,
|
3208
|
primary key (MEDIA_ID, SOURCES_ID)
|
3209
|
);
|
3210
|
|
3211
|
create table PUBLIC.MEDIA_ORIGINALSOURCEBASE_AUD (
|
3212
|
REV integer not null,
|
3213
|
MEDIA_ID integer not null,
|
3214
|
SOURCES_ID integer not null,
|
3215
|
REVTYPE tinyint,
|
3216
|
primary key (REV, MEDIA_ID, SOURCES_ID)
|
3217
|
);
|
3218
|
|
3219
|
create table PUBLIC.MEDIA_REPRESENTATION (
|
3220
|
MEDIAKEY_ID integer not null,
|
3221
|
KEYREPRESENTATIONS_ID integer not null,
|
3222
|
primary key (MEDIAKEY_ID, KEYREPRESENTATIONS_ID)
|
3223
|
);
|
3224
|
|
3225
|
create table PUBLIC.MEDIA_REPRESENTATION_AUD (
|
3226
|
REV integer not null,
|
3227
|
MEDIAKEY_ID integer not null,
|
3228
|
KEYREPRESENTATIONS_ID integer not null,
|
3229
|
REVTYPE tinyint,
|
3230
|
primary key (REV, MEDIAKEY_ID, KEYREPRESENTATIONS_ID)
|
3231
|
);
|
3232
|
|
3233
|
create table PUBLIC.MEDIA_RIGHTSINFO (
|
3234
|
MEDIA_ID integer not null,
|
3235
|
RIGHTS_ID integer not null,
|
3236
|
primary key (MEDIA_ID, RIGHTS_ID)
|
3237
|
);
|
3238
|
|
3239
|
create table PUBLIC.MEDIA_RIGHTSINFO_AUD (
|
3240
|
REV integer not null,
|
3241
|
MEDIA_ID integer not null,
|
3242
|
RIGHTS_ID integer not null,
|
3243
|
REVTYPE tinyint,
|
3244
|
primary key (REV, MEDIA_ID, RIGHTS_ID)
|
3245
|
);
|
3246
|
|
3247
|
create table PUBLIC.MEDIA_SEQUENCE (
|
3248
|
PHYLOGENETICTREE_ID integer not null,
|
3249
|
USEDSEQUENCES_ID integer not null,
|
3250
|
primary key (PHYLOGENETICTREE_ID, USEDSEQUENCES_ID)
|
3251
|
);
|
3252
|
|
3253
|
create table PUBLIC.MEDIA_SEQUENCE_AUD (
|
3254
|
REV integer not null,
|
3255
|
PHYLOGENETICTREE_ID integer not null,
|
3256
|
USEDSEQUENCES_ID integer not null,
|
3257
|
REVTYPE tinyint,
|
3258
|
primary key (REV, PHYLOGENETICTREE_ID, USEDSEQUENCES_ID)
|
3259
|
);
|
3260
|
|
3261
|
create table PUBLIC.MEDIAKEY_COVEREDTAXON (
|
3262
|
MEDIAKEY_ID integer not null,
|
3263
|
COVEREDTAXA_ID integer not null,
|
3264
|
primary key (MEDIAKEY_ID, COVEREDTAXA_ID)
|
3265
|
);
|
3266
|
|
3267
|
create table PUBLIC.MEDIAKEY_COVEREDTAXON_AUD (
|
3268
|
REV integer not null,
|
3269
|
MEDIAKEY_ID integer not null,
|
3270
|
COVEREDTAXA_ID integer not null,
|
3271
|
REVTYPE tinyint,
|
3272
|
primary key (REV, MEDIAKEY_ID, COVEREDTAXA_ID)
|
3273
|
);
|
3274
|
|
3275
|
create table PUBLIC.MEDIAKEY_NAMEDAREA (
|
3276
|
MEDIAKEY_ID integer not null,
|
3277
|
GEOGRAPHICALSCOPE_ID integer not null,
|
3278
|
primary key (MEDIAKEY_ID, GEOGRAPHICALSCOPE_ID)
|
3279
|
);
|
3280
|
|
3281
|
create table PUBLIC.MEDIAKEY_NAMEDAREA_AUD (
|
3282
|
REV integer not null,
|
3283
|
MEDIAKEY_ID integer not null,
|
3284
|
GEOGRAPHICALSCOPE_ID integer not null,
|
3285
|
REVTYPE tinyint,
|
3286
|
primary key (REV, MEDIAKEY_ID, GEOGRAPHICALSCOPE_ID)
|
3287
|
);
|
3288
|
|
3289
|
create table PUBLIC.MEDIAKEY_SCOPE (
|
3290
|
MEDIAKEY_ID integer not null,
|
3291
|
SCOPERESTRICTIONS_ID integer not null,
|
3292
|
primary key (MEDIAKEY_ID, SCOPERESTRICTIONS_ID)
|
3293
|
);
|
3294
|
|
3295
|
create table PUBLIC.MEDIAKEY_SCOPE_AUD (
|
3296
|
REV integer not null,
|
3297
|
MEDIAKEY_ID integer not null,
|
3298
|
SCOPERESTRICTIONS_ID integer not null,
|
3299
|
REVTYPE tinyint,
|
3300
|
primary key (REV, MEDIAKEY_ID, SCOPERESTRICTIONS_ID)
|
3301
|
);
|
3302
|
|
3303
|
create table PUBLIC.MEDIAKEY_TAXONSCOPE (
|
3304
|
MEDIAKEY_ID integer not null,
|
3305
|
TAXONOMICSCOPE_ID integer not null,
|
3306
|
primary key (MEDIAKEY_ID, TAXONOMICSCOPE_ID)
|
3307
|
);
|
3308
|
|
3309
|
create table PUBLIC.MEDIAKEY_TAXONSCOPE_AUD (
|
3310
|
REV integer not null,
|
3311
|
MEDIAKEY_ID integer not null,
|
3312
|
TAXONOMICSCOPE_ID integer not null,
|
3313
|
REVTYPE tinyint,
|
3314
|
primary key (REV, MEDIAKEY_ID, TAXONOMICSCOPE_ID)
|
3315
|
);
|
3316
|
|
3317
|
create table PUBLIC.MEDIAMETADATA (
|
3318
|
ID integer not null,
|
3319
|
CREATED timestamp,
|
3320
|
UUID varchar(36),
|
3321
|
PAIRKEY varchar(255),
|
3322
|
PAIRVALUE varchar(255),
|
3323
|
CREATEDBY_ID integer,
|
3324
|
MEDIAREPRESENTATION_ID integer,
|
3325
|
primary key (ID)
|
3326
|
);
|
3327
|
|
3328
|
create table PUBLIC.MEDIAMETADATA_AUD (
|
3329
|
ID integer not null,
|
3330
|
REV integer not null,
|
3331
|
REVTYPE tinyint,
|
3332
|
CREATED timestamp,
|
3333
|
UUID varchar(36),
|
3334
|
PAIRKEY varchar(255),
|
3335
|
PAIRVALUE varchar(255),
|
3336
|
CREATEDBY_ID integer,
|
3337
|
MEDIAREPRESENTATION_ID integer,
|
3338
|
primary key (ID, REV)
|
3339
|
);
|
3340
|
|
3341
|
create table PUBLIC.MEDIAREPRESENTATION (
|
3342
|
ID integer not null,
|
3343
|
CREATED timestamp,
|
3344
|
UUID varchar(36),
|
3345
|
UPDATED timestamp,
|
3346
|
MIMETYPE varchar(255),
|
3347
|
SUFFIX varchar(255),
|
3348
|
CREATEDBY_ID integer,
|
3349
|
UPDATEDBY_ID integer,
|
3350
|
MEDIA_ID integer,
|
3351
|
primary key (ID)
|
3352
|
);
|
3353
|
|
3354
|
create table PUBLIC.MEDIAREPRESENTATION_AUD (
|
3355
|
ID integer not null,
|
3356
|
REV integer not null,
|
3357
|
REVTYPE tinyint,
|
3358
|
CREATED timestamp,
|
3359
|
UUID varchar(36),
|
3360
|
UPDATED timestamp,
|
3361
|
MIMETYPE varchar(255),
|
3362
|
SUFFIX varchar(255),
|
3363
|
CREATEDBY_ID integer,
|
3364
|
UPDATEDBY_ID integer,
|
3365
|
MEDIA_ID integer,
|
3366
|
primary key (ID, REV)
|
3367
|
);
|
3368
|
|
3369
|
create table PUBLIC.MEDIAREPRESENTATION_MEDIAREPRESENTATIONPART_AUD (
|
3370
|
REV integer not null,
|
3371
|
REPRESENTATION_ID integer not null,
|
3372
|
ID integer not null,
|
3373
|
SORTINDEX integer not null,
|
3374
|
REVTYPE tinyint,
|
3375
|
primary key (REV, REPRESENTATION_ID, ID, SORTINDEX)
|
3376
|
);
|
3377
|
|
3378
|
create table PUBLIC.MEDIAREPRESENTATIONPART (
|
3379
|
DTYPE varchar(31) not null,
|
3380
|
ID integer not null,
|
3381
|
CREATED timestamp,
|
3382
|
UUID varchar(36),
|
3383
|
UPDATED timestamp,
|
3384
|
SIZE integer,
|
3385
|
URI clob,
|
3386
|
DURATION integer,
|
3387
|
HEIGHT integer,
|
3388
|
WIDTH integer,
|
3389
|
CREATEDBY_ID integer,
|
3390
|
UPDATEDBY_ID integer,
|
3391
|
REPRESENTATION_ID integer not null,
|
3392
|
SORTINDEX integer,
|
3393
|
primary key (ID)
|
3394
|
);
|
3395
|
|
3396
|
create table PUBLIC.MEDIAREPRESENTATIONPART_AUD (
|
3397
|
ID integer not null,
|
3398
|
REV integer not null,
|
3399
|
DTYPE varchar(31) not null,
|
3400
|
REVTYPE tinyint,
|
3401
|
CREATED timestamp,
|
3402
|
UUID varchar(36),
|
3403
|
UPDATED timestamp,
|
3404
|
SIZE integer,
|
3405
|
URI clob,
|
3406
|
CREATEDBY_ID integer,
|
3407
|
UPDATEDBY_ID integer,
|
3408
|
REPRESENTATION_ID integer,
|
3409
|
DURATION integer,
|
3410
|
HEIGHT integer,
|
3411
|
WIDTH integer,
|
3412
|
primary key (ID, REV)
|
3413
|
);
|
3414
|
|
3415
|
create table PUBLIC.MULTIACCESSKEY_COVEREDTAXON (
|
3416
|
MULTIACCESSKEY_ID integer not null,
|
3417
|
COVEREDTAXA_ID integer not null,
|
3418
|
primary key (MULTIACCESSKEY_ID, COVEREDTAXA_ID)
|
3419
|
);
|
3420
|
|
3421
|
create table PUBLIC.MULTIACCESSKEY_COVEREDTAXON_AUD (
|
3422
|
REV integer not null,
|
3423
|
MULTIACCESSKEY_ID integer not null,
|
3424
|
COVEREDTAXA_ID integer not null,
|
3425
|
REVTYPE tinyint,
|
3426
|
primary key (REV, MULTIACCESSKEY_ID, COVEREDTAXA_ID)
|
3427
|
);
|
3428
|
|
3429
|
create table PUBLIC.MULTIACCESSKEY_NAMEDAREA (
|
3430
|
MULTIACCESSKEY_ID integer not null,
|
3431
|
GEOGRAPHICALSCOPE_ID integer not null,
|
3432
|
primary key (MULTIACCESSKEY_ID, GEOGRAPHICALSCOPE_ID)
|
3433
|
);
|
3434
|
|
3435
|
create table PUBLIC.MULTIACCESSKEY_NAMEDAREA_AUD (
|
3436
|
REV integer not null,
|
3437
|
MULTIACCESSKEY_ID integer not null,
|
3438
|
GEOGRAPHICALSCOPE_ID integer not null,
|
3439
|
REVTYPE tinyint,
|
3440
|
primary key (REV, MULTIACCESSKEY_ID, GEOGRAPHICALSCOPE_ID)
|
3441
|
);
|
3442
|
|
3443
|
create table PUBLIC.MULTIACCESSKEY_SCOPE (
|
3444
|
MULTIACCESSKEY_ID integer not null,
|
3445
|
SCOPERESTRICTIONS_ID integer not null,
|
3446
|
primary key (MULTIACCESSKEY_ID, SCOPERESTRICTIONS_ID)
|
3447
|
);
|
3448
|
|
3449
|
create table PUBLIC.MULTIACCESSKEY_SCOPE_AUD (
|
3450
|
REV integer not null,
|
3451
|
MULTIACCESSKEY_ID integer not null,
|
3452
|
SCOPERESTRICTIONS_ID integer not null,
|
3453
|
REVTYPE tinyint,
|
3454
|
primary key (REV, MULTIACCESSKEY_ID, SCOPERESTRICTIONS_ID)
|
3455
|
);
|
3456
|
|
3457
|
create table PUBLIC.MULTIACCESSKEY_TAXONSCOPE (
|
3458
|
MULTIACCESSKEY_ID integer not null,
|
3459
|
TAXONOMICSCOPE_ID integer not null,
|
3460
|
primary key (MULTIACCESSKEY_ID, TAXONOMICSCOPE_ID)
|
3461
|
);
|
3462
|
|
3463
|
create table PUBLIC.MULTIACCESSKEY_TAXONSCOPE_AUD (
|
3464
|
REV integer not null,
|
3465
|
MULTIACCESSKEY_ID integer not null,
|
3466
|
TAXONOMICSCOPE_ID integer not null,
|
3467
|
REVTYPE tinyint,
|
3468
|
primary key (REV, MULTIACCESSKEY_ID, TAXONOMICSCOPE_ID)
|
3469
|
);
|
3470
|
|
3471
|
create table PUBLIC.NAMERELATIONSHIP (
|
3472
|
ID integer not null,
|
3473
|
CREATED timestamp,
|
3474
|
UUID varchar(36),
|
3475
|
UPDATED timestamp,
|
3476
|
DOUBTFUL boolean not null,
|
3477
|
CODEEDITION varchar(20),
|
3478
|
RULECONSIDERED varchar(255),
|
3479
|
CREATEDBY_ID integer,
|
3480
|
UPDATEDBY_ID integer,
|
3481
|
SOURCE_ID integer,
|
3482
|
RELATEDFROM_ID integer,
|
3483
|
RELATEDTO_ID integer,
|
3484
|
TYPE_ID integer,
|
3485
|
primary key (ID)
|
3486
|
);
|
3487
|
|
3488
|
create table PUBLIC.NAMERELATIONSHIP_ANNOTATION (
|
3489
|
NAMERELATIONSHIP_ID integer not null,
|
3490
|
ANNOTATIONS_ID integer not null,
|
3491
|
primary key (NAMERELATIONSHIP_ID, ANNOTATIONS_ID)
|
3492
|
);
|
3493
|
|
3494
|
create table PUBLIC.NAMERELATIONSHIP_ANNOTATION_AUD (
|
3495
|
REV integer not null,
|
3496
|
NAMERELATIONSHIP_ID integer not null,
|
3497
|
ANNOTATIONS_ID integer not null,
|
3498
|
REVTYPE tinyint,
|
3499
|
primary key (REV, NAMERELATIONSHIP_ID, ANNOTATIONS_ID)
|
3500
|
);
|
3501
|
|
3502
|
create table PUBLIC.NAMERELATIONSHIP_AUD (
|
3503
|
ID integer not null,
|
3504
|
REV integer not null,
|
3505
|
REVTYPE tinyint,
|
3506
|
CREATED timestamp,
|
3507
|
UUID varchar(36),
|
3508
|
UPDATED timestamp,
|
3509
|
DOUBTFUL boolean,
|
3510
|
CODEEDITION varchar(20),
|
3511
|
RULECONSIDERED varchar(255),
|
3512
|
CREATEDBY_ID integer,
|
3513
|
UPDATEDBY_ID integer,
|
3514
|
SOURCE_ID integer,
|
3515
|
RELATEDFROM_ID integer,
|
3516
|
RELATEDTO_ID integer,
|
3517
|
TYPE_ID integer,
|
3518
|
primary key (ID, REV)
|
3519
|
);
|
3520
|
|
3521
|
create table PUBLIC.NAMERELATIONSHIP_MARKER (
|
3522
|
NAMERELATIONSHIP_ID integer not null,
|
3523
|
MARKERS_ID integer not null,
|
3524
|
primary key (NAMERELATIONSHIP_ID, MARKERS_ID)
|
3525
|
);
|
3526
|
|
3527
|
create table PUBLIC.NAMERELATIONSHIP_MARKER_AUD (
|
3528
|
REV integer not null,
|
3529
|
NAMERELATIONSHIP_ID integer not null,
|
3530
|
MARKERS_ID integer not null,
|
3531
|
REVTYPE tinyint,
|
3532
|
primary key (REV, NAMERELATIONSHIP_ID, MARKERS_ID)
|
3533
|
);
|
3534
|
|
3535
|
create table PUBLIC.NOMENCLATURALSTATUS (
|
3536
|
ID integer not null,
|
3537
|
CREATED timestamp,
|
3538
|
UUID varchar(36),
|
3539
|
UPDATED timestamp,
|
3540
|
CODEEDITION varchar(20),
|
3541
|
RULECONSIDERED varchar(255),
|
3542
|
CREATEDBY_ID integer,
|
3543
|
UPDATEDBY_ID integer,
|
3544
|
SOURCE_ID integer,
|
3545
|
NAME_ID integer,
|
3546
|
TYPE_ID integer,
|
3547
|
primary key (ID)
|
3548
|
);
|
3549
|
|
3550
|
create table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION (
|
3551
|
NOMENCLATURALSTATUS_ID integer not null,
|
3552
|
ANNOTATIONS_ID integer not null,
|
3553
|
primary key (NOMENCLATURALSTATUS_ID, ANNOTATIONS_ID)
|
3554
|
);
|
3555
|
|
3556
|
create table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION_AUD (
|
3557
|
REV integer not null,
|
3558
|
NOMENCLATURALSTATUS_ID integer not null,
|
3559
|
ANNOTATIONS_ID integer not null,
|
3560
|
REVTYPE tinyint,
|
3561
|
primary key (REV, NOMENCLATURALSTATUS_ID, ANNOTATIONS_ID)
|
3562
|
);
|
3563
|
|
3564
|
create table PUBLIC.NOMENCLATURALSTATUS_AUD (
|
3565
|
ID integer not null,
|
3566
|
REV integer not null,
|
3567
|
REVTYPE tinyint,
|
3568
|
CREATED timestamp,
|
3569
|
UUID varchar(36),
|
3570
|
UPDATED timestamp,
|
3571
|
CODEEDITION varchar(20),
|
3572
|
RULECONSIDERED varchar(255),
|
3573
|
CREATEDBY_ID integer,
|
3574
|
UPDATEDBY_ID integer,
|
3575
|
SOURCE_ID integer,
|
3576
|
NAME_ID integer,
|
3577
|
TYPE_ID integer,
|
3578
|
primary key (ID, REV)
|
3579
|
);
|
3580
|
|
3581
|
create table PUBLIC.NOMENCLATURALSTATUS_MARKER (
|
3582
|
NOMENCLATURALSTATUS_ID integer not null,
|
3583
|
MARKERS_ID integer not null,
|
3584
|
primary key (NOMENCLATURALSTATUS_ID, MARKERS_ID)
|
3585
|
);
|
3586
|
|
3587
|
create table PUBLIC.NOMENCLATURALSTATUS_MARKER_AUD (
|
3588
|
REV integer not null,
|
3589
|
NOMENCLATURALSTATUS_ID integer not null,
|
3590
|
MARKERS_ID integer not null,
|
3591
|
REVTYPE tinyint,
|
3592
|
primary key (REV, NOMENCLATURALSTATUS_ID, MARKERS_ID)
|
3593
|
);
|
3594
|
|
3595
|
create table PUBLIC.OCCURRENCESTATUS (
|
3596
|
ID integer not null,
|
3597
|
CREATED timestamp,
|
3598
|
UUID varchar(36),
|
3599
|
UPDATED timestamp,
|
3600
|
CREATEDBY_ID integer,
|
3601
|
UPDATEDBY_ID integer,
|
3602
|
SOURCE_ID integer,
|
3603
|
TYPE_ID integer,
|
3604
|
UNIT_ID integer,
|
3605
|
primary key (ID)
|
3606
|
);
|
3607
|
|
3608
|
create table PUBLIC.OCCURRENCESTATUS_ANNOTATION (
|
3609
|
OCCURRENCESTATUS_ID integer not null,
|
3610
|
ANNOTATIONS_ID integer not null,
|
3611
|
primary key (OCCURRENCESTATUS_ID, ANNOTATIONS_ID)
|
3612
|
);
|
3613
|
|
3614
|
create table PUBLIC.OCCURRENCESTATUS_ANNOTATION_AUD (
|
3615
|
REV integer not null,
|
3616
|
OCCURRENCESTATUS_ID integer not null,
|
3617
|
ANNOTATIONS_ID integer not null,
|
3618
|
REVTYPE tinyint,
|
3619
|
primary key (REV, OCCURRENCESTATUS_ID, ANNOTATIONS_ID)
|
3620
|
);
|
3621
|
|
3622
|
create table PUBLIC.OCCURRENCESTATUS_AUD (
|
3623
|
ID integer not null,
|
3624
|
REV integer not null,
|
3625
|
REVTYPE tinyint,
|
3626
|
CREATED timestamp,
|
3627
|
UUID varchar(36),
|
3628
|
UPDATED timestamp,
|
3629
|
CREATEDBY_ID integer,
|
3630
|
UPDATEDBY_ID integer,
|
3631
|
SOURCE_ID integer,
|
3632
|
TYPE_ID integer,
|
3633
|
UNIT_ID integer,
|
3634
|
primary key (ID, REV)
|
3635
|
);
|
3636
|
|
3637
|
create table PUBLIC.OCCURRENCESTATUS_MARKER (
|
3638
|
OCCURRENCESTATUS_ID integer not null,
|
3639
|
MARKERS_ID integer not null,
|
3640
|
primary key (OCCURRENCESTATUS_ID, MARKERS_ID)
|
3641
|
);
|
3642
|
|
3643
|
create table PUBLIC.OCCURRENCESTATUS_MARKER_AUD (
|
3644
|
REV integer not null,
|
3645
|
OCCURRENCESTATUS_ID integer not null,
|
3646
|
MARKERS_ID integer not null,
|
3647
|
REVTYPE tinyint,
|
3648
|
primary key (REV, OCCURRENCESTATUS_ID, MARKERS_ID)
|
3649
|
);
|
3650
|
|
3651
|
create table PUBLIC.ORIGINALSOURCEBASE (
|
3652
|
DTYPE varchar(31) not null,
|
3653
|
ID integer not null,
|
3654
|
CREATED timestamp,
|
3655
|
UUID varchar(36),
|
3656
|
UPDATED timestamp,
|
3657
|
ACCESSED_END varchar(255),
|
3658
|
ACCESSED_FREETEXT varchar(255),
|
3659
|
ACCESSED_START varchar(255),
|
3660
|
CITATIONMICROREFERENCE varchar(255),
|
3661
|
IDINSOURCE varchar(255),
|
3662
|
IDNAMESPACE varchar(255),
|
3663
|
ORIGINALINFO varchar(255),
|
3664
|
SOURCETYPE varchar(255),
|
3665
|
CREATEDBY_ID integer,
|
3666
|
UPDATEDBY_ID integer,
|
3667
|
CDMSOURCE_ID integer,
|
3668
|
CITATION_ID integer,
|
3669
|
NAMEUSEDINSOURCE_ID integer,
|
3670
|
SOURCEDELEMENT_ID integer,
|
3671
|
SOURCEDNAME_ID integer,
|
3672
|
SOURCEDTAXON_ID integer,
|
3673
|
primary key (ID)
|
3674
|
);
|
3675
|
|
3676
|
create table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION (
|
3677
|
ORIGINALSOURCEBASE_ID integer not null,
|
3678
|
ANNOTATIONS_ID integer not null,
|
3679
|
primary key (ORIGINALSOURCEBASE_ID, ANNOTATIONS_ID)
|
3680
|
);
|
3681
|
|
3682
|
create table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION_AUD (
|
3683
|
REV integer not null,
|
3684
|
ORIGINALSOURCEBASE_ID integer not null,
|
3685
|
ANNOTATIONS_ID integer not null,
|
3686
|
REVTYPE tinyint,
|
3687
|
primary key (REV, ORIGINALSOURCEBASE_ID, ANNOTATIONS_ID)
|
3688
|
);
|
3689
|
|
3690
|
create table PUBLIC.ORIGINALSOURCEBASE_AUD (
|
3691
|
ID integer not null,
|
3692
|
REV integer not null,
|
3693
|
DTYPE varchar(31) not null,
|
3694
|
REVTYPE tinyint,
|
3695
|
CREATED timestamp,
|
3696
|
UUID varchar(36),
|
3697
|
UPDATED timestamp,
|
3698
|
ACCESSED_END varchar(255),
|
3699
|
ACCESSED_FREETEXT varchar(255),
|
3700
|
ACCESSED_START varchar(255),
|
3701
|
CITATIONMICROREFERENCE varchar(255),
|
3702
|
IDINSOURCE varchar(255),
|
3703
|
IDNAMESPACE varchar(255),
|
3704
|
ORIGINALINFO varchar(255),
|
3705
|
SOURCETYPE varchar(255),
|
3706
|
CREATEDBY_ID integer,
|
3707
|
UPDATEDBY_ID integer,
|
3708
|
CDMSOURCE_ID integer,
|
3709
|
CITATION_ID integer,
|
3710
|
NAMEUSEDINSOURCE_ID integer,
|
3711
|
SOURCEDTAXON_ID integer,
|
3712
|
SOURCEDELEMENT_ID integer,
|
3713
|
SOURCEDNAME_ID integer,
|
3714
|
primary key (ID, REV)
|
3715
|
);
|
3716
|
|
3717
|
create table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK (
|
3718
|
ORIGINALSOURCEBASE_ID integer not null,
|
3719
|
LINKS_ID integer not null,
|
3720
|
primary key (ORIGINALSOURCEBASE_ID, LINKS_ID)
|
3721
|
);
|
3722
|
|
3723
|
create table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK_AUD (
|
3724
|
REV integer not null,
|
3725
|
ORIGINALSOURCEBASE_ID integer not null,
|
3726
|
LINKS_ID integer not null,
|
3727
|
REVTYPE tinyint,
|
3728
|
primary key (REV, ORIGINALSOURCEBASE_ID, LINKS_ID)
|
3729
|
);
|
3730
|
|
3731
|
create table PUBLIC.ORIGINALSOURCEBASE_MARKER (
|
3732
|
ORIGINALSOURCEBASE_ID integer not null,
|
3733
|
MARKERS_ID integer not null,
|
3734
|
primary key (ORIGINALSOURCEBASE_ID, MARKERS_ID)
|
3735
|
);
|
3736
|
|
3737
|
create table PUBLIC.ORIGINALSOURCEBASE_MARKER_AUD (
|
3738
|
REV integer not null,
|
3739
|
ORIGINALSOURCEBASE_ID integer not null,
|
3740
|
MARKERS_ID integer not null,
|
3741
|
REVTYPE tinyint,
|
3742
|
primary key (REV, ORIGINALSOURCEBASE_ID, MARKERS_ID)
|
3743
|
);
|
3744
|
|
3745
|
create table PUBLIC.PERMISSIONGROUP (
|
3746
|
ID integer not null,
|
3747
|
CREATED timestamp,
|
3748
|
UUID varchar(36),
|
3749
|
NAME varchar(255),
|
3750
|
CREATEDBY_ID integer,
|
3751
|
primary key (ID)
|
3752
|
);
|
3753
|
|
3754
|
create table PUBLIC.PERMISSIONGROUP_AUTHORITY (
|
3755
|
GROUP_ID integer not null,
|
3756
|
AUTHORITIES_ID integer not null,
|
3757
|
primary key (GROUP_ID, AUTHORITIES_ID)
|
3758
|
);
|
3759
|
|
3760
|
create table PUBLIC.PERMISSIONGROUP_GRANTEDAUTHORITYIMPL (
|
3761
|
GROUP_ID integer not null,
|
3762
|
GRANTEDAUTHORITIES_ID integer not null,
|
3763
|
primary key (GROUP_ID, GRANTEDAUTHORITIES_ID)
|
3764
|
);
|
3765
|
|
3766
|
create table PUBLIC.POLYTOMOUSKEY (
|
3767
|
ID integer not null,
|
3768
|
CREATED timestamp,
|
3769
|
UUID varchar(36),
|
3770
|
UPDATED timestamp,
|
3771
|
LSID_AUTHORITY varchar(255),
|
3772
|
LSID_LSID varchar(255),
|
3773
|
LSID_NAMESPACE varchar(255),
|
3774
|
LSID_OBJECT varchar(255),
|
3775
|
LSID_REVISION varchar(255),
|
3776
|
PROTECTEDTITLECACHE boolean not null,
|
3777
|
TITLECACHE varchar(800),
|
3778
|
STARTNUMBER integer not null,
|
3779
|
CREATEDBY_ID integer,
|
3780
|
UPDATEDBY_ID integer,
|
3781
|
ROOT_ID integer,
|
3782
|
primary key (ID)
|
3783
|
);
|
3784
|
|
3785
|
create table PUBLIC.POLYTOMOUSKEY_ANNOTATION (
|
3786
|
POLYTOMOUSKEY_ID integer not null,
|
3787
|
ANNOTATIONS_ID integer not null,
|
3788
|
primary key (POLYTOMOUSKEY_ID, ANNOTATIONS_ID)
|
3789
|
);
|
3790
|
|
3791
|
create table PUBLIC.POLYTOMOUSKEY_ANNOTATION_AUD (
|
3792
|
REV integer not null,
|
3793
|
POLYTOMOUSKEY_ID integer not null,
|
3794
|
ANNOTATIONS_ID integer not null,
|
3795
|
REVTYPE tinyint,
|
3796
|
primary key (REV, POLYTOMOUSKEY_ID, ANNOTATIONS_ID)
|
3797
|
);
|
3798
|
|
3799
|
create table PUBLIC.POLYTOMOUSKEY_AUD (
|
3800
|
ID integer not null,
|
3801
|
REV integer not null,
|
3802
|
REVTYPE tinyint,
|
3803
|
CREATED timestamp,
|
3804
|
UUID varchar(36),
|
3805
|
UPDATED timestamp,
|
3806
|
LSID_AUTHORITY varchar(255),
|
3807
|
LSID_LSID varchar(255),
|
3808
|
LSID_NAMESPACE varchar(255),
|
3809
|
LSID_OBJECT varchar(255),
|
3810
|
LSID_REVISION varchar(255),
|
3811
|
PROTECTEDTITLECACHE boolean,
|
3812
|
TITLECACHE varchar(800),
|
3813
|
STARTNUMBER integer,
|
3814
|
CREATEDBY_ID integer,
|
3815
|
UPDATEDBY_ID integer,
|
3816
|
ROOT_ID integer,
|
3817
|
primary key (ID, REV)
|
3818
|
);
|
3819
|
|
3820
|
create table PUBLIC.POLYTOMOUSKEY_CREDIT (
|
3821
|
POLYTOMOUSKEY_ID integer not null,
|
3822
|
CREDITS_ID integer not null,
|
3823
|
SORTINDEX integer not null,
|
3824
|
primary key (POLYTOMOUSKEY_ID, SORTINDEX)
|
3825
|
);
|
3826
|
|
3827
|
create table PUBLIC.POLYTOMOUSKEY_CREDIT_AUD (
|
3828
|
REV integer not null,
|
3829
|
POLYTOMOUSKEY_ID integer not null,
|
3830
|
CREDITS_ID integer not null,
|
3831
|
SORTINDEX integer not null,
|
3832
|
REVTYPE tinyint,
|
3833
|
primary key (REV, POLYTOMOUSKEY_ID, CREDITS_ID, SORTINDEX)
|
3834
|
);
|
3835
|
|
3836
|
create table PUBLIC.POLYTOMOUSKEY_EXTENSION (
|
3837
|
POLYTOMOUSKEY_ID integer not null,
|
3838
|
EXTENSIONS_ID integer not null,
|
3839
|
primary key (POLYTOMOUSKEY_ID, EXTENSIONS_ID)
|
3840
|
);
|
3841
|
|
3842
|
create table PUBLIC.POLYTOMOUSKEY_EXTENSION_AUD (
|
3843
|
REV integer not null,
|
3844
|
POLYTOMOUSKEY_ID integer not null,
|
3845
|
EXTENSIONS_ID integer not null,
|
3846
|
REVTYPE tinyint,
|
3847
|
primary key (REV, POLYTOMOUSKEY_ID, EXTENSIONS_ID)
|
3848
|
);
|
3849
|
|
3850
|
create table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK (
|
3851
|
POLYTOMOUSKEY_ID integer not null,
|
3852
|
LINKS_ID integer not null,
|
3853
|
primary key (POLYTOMOUSKEY_ID, LINKS_ID)
|
3854
|
);
|
3855
|
|
3856
|
create table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK_AUD (
|
3857
|
REV integer not null,
|
3858
|
POLYTOMOUSKEY_ID integer not null,
|
3859
|
LINKS_ID integer not null,
|
3860
|
REVTYPE tinyint,
|
3861
|
primary key (REV, POLYTOMOUSKEY_ID, LINKS_ID)
|
3862
|
);
|
3863
|
|
3864
|
create table PUBLIC.POLYTOMOUSKEY_IDENTIFIER (
|
3865
|
POLYTOMOUSKEY_ID integer not null,
|
3866
|
IDENTIFIERS_ID integer not null,
|
3867
|
SORTINDEX integer not null,
|
3868
|
primary key (POLYTOMOUSKEY_ID, SORTINDEX)
|
3869
|
);
|
3870
|
|
3871
|
create table PUBLIC.POLYTOMOUSKEY_IDENTIFIER_AUD (
|
3872
|
REV integer not null,
|
3873
|
POLYTOMOUSKEY_ID integer not null,
|
3874
|
IDENTIFIERS_ID integer not null,
|
3875
|
SORTINDEX integer not null,
|
3876
|
REVTYPE tinyint,
|
3877
|
primary key (REV, POLYTOMOUSKEY_ID, IDENTIFIERS_ID, SORTINDEX)
|
3878
|
);
|
3879
|
|
3880
|
create table PUBLIC.POLYTOMOUSKEY_MARKER (
|
3881
|
POLYTOMOUSKEY_ID integer not null,
|
3882
|
MARKERS_ID integer not null,
|
3883
|
primary key (POLYTOMOUSKEY_ID, MARKERS_ID)
|
3884
|
);
|
3885
|
|
3886
|
create table PUBLIC.POLYTOMOUSKEY_MARKER_AUD (
|
3887
|
REV integer not null,
|
3888
|
POLYTOMOUSKEY_ID integer not null,
|
3889
|
MARKERS_ID integer not null,
|
3890
|
REVTYPE tinyint,
|
3891
|
primary key (REV, POLYTOMOUSKEY_ID, MARKERS_ID)
|
3892
|
);
|
3893
|
|
3894
|
create table PUBLIC.POLYTOMOUSKEY_NAMEDAREA (
|
3895
|
POLYTOMOUSKEY_ID integer not null,
|
3896
|
GEOGRAPHICALSCOPE_ID integer not null,
|
3897
|
primary key (POLYTOMOUSKEY_ID, GEOGRAPHICALSCOPE_ID)
|
3898
|
);
|
3899
|
|
3900
|
create table PUBLIC.POLYTOMOUSKEY_NAMEDAREA_AUD (
|
3901
|
REV integer not null,
|
3902
|
POLYTOMOUSKEY_ID integer not null,
|
3903
|
GEOGRAPHICALSCOPE_ID integer not null,
|
3904
|
REVTYPE tinyint,
|
3905
|
primary key (REV, POLYTOMOUSKEY_ID, GEOGRAPHICALSCOPE_ID)
|
3906
|
);
|
3907
|
|
3908
|
create table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE (
|
3909
|
POLYTOMOUSKEY_ID integer not null,
|
3910
|
SOURCES_ID integer not null,
|
3911
|
primary key (POLYTOMOUSKEY_ID, SOURCES_ID)
|
3912
|
);
|
3913
|
|
3914
|
create table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE_AUD (
|
3915
|
REV integer not null,
|
3916
|
POLYTOMOUSKEY_ID integer not null,
|
3917
|
SOURCES_ID integer not null,
|
3918
|
REVTYPE tinyint,
|
3919
|
primary key (REV, POLYTOMOUSKEY_ID, SOURCES_ID)
|
3920
|
);
|
3921
|
|
3922
|
create table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO (
|
3923
|
POLYTOMOUSKEY_ID integer not null,
|
3924
|
RIGHTS_ID integer not null,
|
3925
|
primary key (POLYTOMOUSKEY_ID, RIGHTS_ID)
|
3926
|
);
|
3927
|
|
3928
|
create table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO_AUD (
|
3929
|
REV integer not null,
|
3930
|
POLYTOMOUSKEY_ID integer not null,
|
3931
|
RIGHTS_ID integer not null,
|
3932
|
REVTYPE tinyint,
|
3933
|
primary key (REV, POLYTOMOUSKEY_ID, RIGHTS_ID)
|
3934
|
);
|
3935
|
|
3936
|
create table PUBLIC.POLYTOMOUSKEY_SCOPE (
|
3937
|
POLYTOMOUSKEY_ID integer not null,
|
3938
|
SCOPERESTRICTIONS_ID integer not null,
|
3939
|
primary key (POLYTOMOUSKEY_ID, SCOPERESTRICTIONS_ID)
|
3940
|
);
|
3941
|
|
3942
|
create table PUBLIC.POLYTOMOUSKEY_SCOPE_AUD (
|
3943
|
REV integer not null,
|
3944
|
POLYTOMOUSKEY_ID integer not null,
|
3945
|
SCOPERESTRICTIONS_ID integer not null,
|
3946
|
REVTYPE tinyint,
|
3947
|
primary key (REV, POLYTOMOUSKEY_ID, SCOPERESTRICTIONS_ID)
|
3948
|
);
|
3949
|
|
3950
|
create table PUBLIC.POLYTOMOUSKEY_TAXON (
|
3951
|
POLYTOMOUSKEY_ID integer not null,
|
3952
|
TAXON_ID integer not null,
|
3953
|
primary key (POLYTOMOUSKEY_ID, TAXON_ID)
|
3954
|
);
|
3955
|
|
3956
|
create table PUBLIC.POLYTOMOUSKEY_TAXON_AUD (
|
3957
|
REV integer not null,
|
3958
|
POLYTOMOUSKEY_ID integer not null,
|
3959
|
TAXON_ID integer not null,
|
3960
|
REVTYPE tinyint,
|
3961
|
primary key (REV, POLYTOMOUSKEY_ID, TAXON_ID)
|
3962
|
);
|
3963
|
|
3964
|
create table PUBLIC.POLYTOMOUSKEY_TAXONBASE (
|
3965
|
POLYTOMOUSKEY_ID integer not null,
|
3966
|
COVEREDTAXA_ID integer not null,
|
3967
|
primary key (POLYTOMOUSKEY_ID, COVEREDTAXA_ID)
|
3968
|
);
|
3969
|
|
3970
|
create table PUBLIC.POLYTOMOUSKEY_TAXONBASE_AUD (
|
3971
|
REV integer not null,
|
3972
|
POLYTOMOUSKEY_ID integer not null,
|
3973
|
COVEREDTAXA_ID integer not null,
|
3974
|
REVTYPE tinyint,
|
3975
|
primary key (REV, POLYTOMOUSKEY_ID, COVEREDTAXA_ID)
|
3976
|
);
|
3977
|
|
3978
|
create table PUBLIC.POLYTOMOUSKEYNODE (
|
3979
|
ID integer not null,
|
3980
|
CREATED timestamp,
|
3981
|
UUID varchar(36),
|
3982
|
UPDATED timestamp,
|
3983
|
NODENUMBER integer,
|
3984
|
CREATEDBY_ID integer,
|
3985
|
UPDATEDBY_ID integer,
|
3986
|
FEATURE_ID integer,
|
3987
|
KEY_ID integer,
|
3988
|
OTHERNODE_ID integer,
|
3989
|
PARENT_ID integer,
|
3990
|
QUESTION_ID integer,
|
3991
|
STATEMENT_ID integer,
|
3992
|
SUBKEY_ID integer,
|
3993
|
TAXON_ID integer,
|
3994
|
SORTINDEX integer,
|
3995
|
primary key (ID)
|
3996
|
);
|
3997
|
|
3998
|
create table PUBLIC.POLYTOMOUSKEYNODE_AUD (
|
3999
|
ID integer not null,
|
4000
|
REV integer not null,
|
4001
|
REVTYPE tinyint,
|
4002
|
CREATED timestamp,
|
4003
|
UUID varchar(36),
|
4004
|
UPDATED timestamp,
|
4005
|
NODENUMBER integer,
|
4006
|
SORTINDEX integer,
|
4007
|
CREATEDBY_ID integer,
|
4008
|
UPDATEDBY_ID integer,
|
4009
|
FEATURE_ID integer,
|
4010
|
KEY_ID integer,
|
4011
|
OTHERNODE_ID integer,
|
4012
|
PARENT_ID integer,
|
4013
|
QUESTION_ID integer,
|
4014
|
STATEMENT_ID integer,
|
4015
|
SUBKEY_ID integer,
|
4016
|
TAXON_ID integer,
|
4017
|
primary key (ID, REV)
|
4018
|
);
|
4019
|
|
4020
|
create table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING (
|
4021
|
POLYTOMOUSKEYNODE_ID integer not null,
|
4022
|
MODIFYINGTEXT_ID integer not null,
|
4023
|
MODIFYINGTEXT_MAPKEY_ID integer not null,
|
4024
|
primary key (POLYTOMOUSKEYNODE_ID, MODIFYINGTEXT_MAPKEY_ID)
|
4025
|
);
|
4026
|
|
4027
|
create table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING_AUD (
|
4028
|
REV integer not null,
|
4029
|
POLYTOMOUSKEYNODE_ID integer not null,
|
4030
|
MODIFYINGTEXT_ID integer not null,
|
4031
|
MODIFYINGTEXT_MAPKEY_ID integer not null,
|
4032
|
REVTYPE tinyint,
|
4033
|
primary key (REV, POLYTOMOUSKEYNODE_ID, MODIFYINGTEXT_ID, MODIFYINGTEXT_MAPKEY_ID)
|
4034
|
);
|
4035
|
|
4036
|
create table PUBLIC.PRIMER (
|
4037
|
ID integer not null,
|
4038
|
CREATED timestamp,
|
4039
|
UUID varchar(36),
|
4040
|
UPDATED timestamp,
|
4041
|
LABEL varchar(255),
|
4042
|
SEQUENCE_LENGTH integer,
|
4043
|
SEQUENCE_STRING clob,
|
4044
|
CREATEDBY_ID integer,
|
4045
|
UPDATEDBY_ID integer,
|
4046
|
DNAMARKER_ID integer,
|
4047
|
PUBLISHEDIN_ID integer,
|
4048
|
primary key (ID)
|
4049
|
);
|
4050
|
|
4051
|
create table PUBLIC.PRIMER_ANNOTATION (
|
4052
|
PRIMER_ID integer not null,
|
4053
|
ANNOTATIONS_ID integer not null,
|
4054
|
primary key (PRIMER_ID, ANNOTATIONS_ID)
|
4055
|
);
|
4056
|
|
4057
|
create table PUBLIC.PRIMER_ANNOTATION_AUD (
|
4058
|
REV integer not null,
|
4059
|
PRIMER_ID integer not null,
|
4060
|
ANNOTATIONS_ID integer not null,
|
4061
|
REVTYPE tinyint,
|
4062
|
primary key (REV, PRIMER_ID, ANNOTATIONS_ID)
|
4063
|
);
|
4064
|
|
4065
|
create table PUBLIC.PRIMER_AUD (
|
4066
|
ID integer not null,
|
4067
|
REV integer not null,
|
4068
|
REVTYPE tinyint,
|
4069
|
CREATED timestamp,
|
4070
|
UUID varchar(36),
|
4071
|
UPDATED timestamp,
|
4072
|
LABEL varchar(255),
|
4073
|
SEQUENCE_LENGTH integer,
|
4074
|
SEQUENCE_STRING clob,
|
4075
|
CREATEDBY_ID integer,
|
4076
|
UPDATEDBY_ID integer,
|
4077
|
DNAMARKER_ID integer,
|
4078
|
PUBLISHEDIN_ID integer,
|
4079
|
primary key (ID, REV)
|
4080
|
);
|
4081
|
|
4082
|
create table PUBLIC.PRIMER_MARKER (
|
4083
|
PRIMER_ID integer not null,
|
4084
|
MARKERS_ID integer not null,
|
4085
|
primary key (PRIMER_ID, MARKERS_ID)
|
4086
|
);
|
4087
|
|
4088
|
create table PUBLIC.PRIMER_MARKER_AUD (
|
4089
|
REV integer not null,
|
4090
|
PRIMER_ID integer not null,
|
4091
|
MARKERS_ID integer not null,
|
4092
|
REVTYPE tinyint,
|
4093
|
primary key (REV, PRIMER_ID, MARKERS_ID)
|
4094
|
);
|
4095
|
|
4096
|
create table PUBLIC.REFERENCE (
|
4097
|
ID integer not null,
|
4098
|
CREATED timestamp,
|
4099
|
UUID varchar(36),
|
4100
|
UPDATED timestamp,
|
4101
|
LSID_AUTHORITY varchar(255),
|
4102
|
LSID_LSID varchar(255),
|
4103
|
LSID_NAMESPACE varchar(255),
|
4104
|
LSID_OBJECT varchar(255),
|
4105
|
LSID_REVISION varchar(255),
|
4106
|
PROTECTEDTITLECACHE boolean not null,
|
4107
|
TITLECACHE varchar(800),
|
4108
|
ABBREVTITLE varchar(255),
|
4109
|
ABBREVTITLECACHE varchar(1024),
|
4110
|
ACCESSED timestamp,
|
4111
|
DATEPUBLISHED_VERBATIMDATE varchar(255),
|
4112
|
DATEPUBLISHED_END varchar(255),
|
4113
|
DATEPUBLISHED_FREETEXT varchar(255),
|
4114
|
DATEPUBLISHED_START varchar(255),
|
4115
|
DOI varchar(1000),
|
4116
|
EDITION varchar(255),
|
4117
|
EDITOR varchar(255),
|
4118
|
AUTHORITYTYPE varchar(10),
|
4119
|
EXTERNALID varchar(255),
|
4120
|
EXTERNALLINK clob,
|
4121
|
IMPORTMETHOD varchar(30),
|
4122
|
LASTRETRIEVED timestamp,
|
4123
|
ISBN varchar(255),
|
4124
|
ISSN varchar(255),
|
4125
|
NOMENCLATURALLYRELEVANT boolean not null,
|
4126
|
ORGANIZATION varchar(255),
|
4127
|
PAGES varchar(255),
|
4128
|
PARSINGPROBLEM integer not null,
|
4129
|
PLACEPUBLISHED varchar(255),
|
4130
|
PROBLEMENDS integer not null,
|
4131
|
PROBLEMSTARTS integer not null,
|
4132
|
PROTECTEDABBREVTITLECACHE boolean not null,
|
4133
|
PUBLISHER varchar(255),
|
4134
|
REFERENCEABSTRACT clob,
|
4135
|
SERIESPART varchar(255),
|
4136
|
TITLE clob,
|
4137
|
REFTYPE varchar(255),
|
4138
|
URI clob,
|
4139
|
VOLUME varchar(255),
|
4140
|
CREATEDBY_ID integer,
|
4141
|
UPDATEDBY_ID integer,
|
4142
|
AUTHORSHIP_ID integer,
|
4143
|
INREFERENCE_ID integer,
|
4144
|
INSTITUTION_ID integer,
|
4145
|
SCHOOL_ID integer,
|
4146
|
primary key (ID)
|
4147
|
);
|
4148
|
|
4149
|
create table PUBLIC.REFERENCE_ANNOTATION (
|
4150
|
REFERENCE_ID integer not null,
|
4151
|
ANNOTATIONS_ID integer not null,
|
4152
|
primary key (REFERENCE_ID, ANNOTATIONS_ID)
|
4153
|
);
|
4154
|
|
4155
|
create table PUBLIC.REFERENCE_ANNOTATION_AUD (
|
4156
|
REV integer not null,
|
4157
|
REFERENCE_ID integer not null,
|
4158
|
ANNOTATIONS_ID integer not null,
|
4159
|
REVTYPE tinyint,
|
4160
|
primary key (REV, REFERENCE_ID, ANNOTATIONS_ID)
|
4161
|
);
|
4162
|
|
4163
|
create table PUBLIC.REFERENCE_AUD (
|
4164
|
ID integer not null,
|
4165
|
REV integer not null,
|
4166
|
REVTYPE tinyint,
|
4167
|
CREATED timestamp,
|
4168
|
UUID varchar(36),
|
4169
|
UPDATED timestamp,
|
4170
|
LSID_AUTHORITY varchar(255),
|
4171
|
LSID_LSID varchar(255),
|
4172
|
LSID_NAMESPACE varchar(255),
|
4173
|
LSID_OBJECT varchar(255),
|
4174
|
LSID_REVISION varchar(255),
|
4175
|
PROTECTEDTITLECACHE boolean,
|
4176
|
TITLECACHE varchar(800),
|
4177
|
ABBREVTITLE varchar(255),
|
4178
|
ABBREVTITLECACHE varchar(1024),
|
4179
|
ACCESSED timestamp,
|
4180
|
DATEPUBLISHED_VERBATIMDATE varchar(255),
|
4181
|
DATEPUBLISHED_END varchar(255),
|
4182
|
DATEPUBLISHED_FREETEXT varchar(255),
|
4183
|
DATEPUBLISHED_START varchar(255),
|
4184
|
DOI varchar(1000),
|
4185
|
EDITION varchar(255),
|
4186
|
EDITOR varchar(255),
|
4187
|
AUTHORITYTYPE varchar(10),
|
4188
|
EXTERNALID varchar(255),
|
4189
|
EXTERNALLINK clob,
|
4190
|
IMPORTMETHOD varchar(30),
|
4191
|
LASTRETRIEVED timestamp,
|
4192
|
ISBN varchar(255),
|
4193
|
ISSN varchar(255),
|
4194
|
NOMENCLATURALLYRELEVANT boolean,
|
4195
|
ORGANIZATION varchar(255),
|
4196
|
PAGES varchar(255),
|
4197
|
PARSINGPROBLEM integer,
|
4198
|
PLACEPUBLISHED varchar(255),
|
4199
|
PROBLEMENDS integer,
|
4200
|
PROBLEMSTARTS integer,
|
4201
|
PROTECTEDABBREVTITLECACHE boolean,
|
4202
|
PUBLISHER varchar(255),
|
4203
|
REFERENCEABSTRACT clob,
|
4204
|
SERIESPART varchar(255),
|
4205
|
TITLE clob,
|
4206
|
REFTYPE varchar(255),
|
4207
|
URI clob,
|
4208
|
VOLUME varchar(255),
|
4209
|
CREATEDBY_ID integer,
|
4210
|
UPDATEDBY_ID integer,
|
4211
|
AUTHORSHIP_ID integer,
|
4212
|
INREFERENCE_ID integer,
|
4213
|
INSTITUTION_ID integer,
|
4214
|
SCHOOL_ID integer,
|
4215
|
primary key (ID, REV)
|
4216
|
);
|
4217
|
|
4218
|
create table PUBLIC.REFERENCE_CREDIT (
|
4219
|
REFERENCE_ID integer not null,
|
4220
|
CREDITS_ID integer not null,
|
4221
|
SORTINDEX integer not null,
|
4222
|
primary key (REFERENCE_ID, SORTINDEX)
|
4223
|
);
|
4224
|
|
4225
|
create table PUBLIC.REFERENCE_CREDIT_AUD (
|
4226
|
REV integer not null,
|
4227
|
REFERENCE_ID integer not null,
|
4228
|
CREDITS_ID integer not null,
|
4229
|
SORTINDEX integer not null,
|
4230
|
REVTYPE tinyint,
|
4231
|
primary key (REV, REFERENCE_ID, CREDITS_ID, SORTINDEX)
|
4232
|
);
|
4233
|
|
4234
|
create table PUBLIC.REFERENCE_EXTENSION (
|
4235
|
REFERENCE_ID integer not null,
|
4236
|
EXTENSIONS_ID integer not null,
|
4237
|
primary key (REFERENCE_ID, EXTENSIONS_ID)
|
4238
|
);
|
4239
|
|
4240
|
create table PUBLIC.REFERENCE_EXTENSION_AUD (
|
4241
|
REV integer not null,
|
4242
|
REFERENCE_ID integer not null,
|
4243
|
EXTENSIONS_ID integer not null,
|
4244
|
REVTYPE tinyint,
|
4245
|
primary key (REV, REFERENCE_ID, EXTENSIONS_ID)
|
4246
|
);
|
4247
|
|
4248
|
create table PUBLIC.REFERENCE_EXTERNALLINK (
|
4249
|
REFERENCE_ID integer not null,
|
4250
|
LINKS_ID integer not null,
|
4251
|
primary key (REFERENCE_ID, LINKS_ID)
|
4252
|
);
|
4253
|
|
4254
|
create table PUBLIC.REFERENCE_EXTERNALLINK_AUD (
|
4255
|
REV integer not null,
|
4256
|
REFERENCE_ID integer not null,
|
4257
|
LINKS_ID integer not null,
|
4258
|
REVTYPE tinyint,
|
4259
|
primary key (REV, REFERENCE_ID, LINKS_ID)
|
4260
|
);
|
4261
|
|
4262
|
create table PUBLIC.REFERENCE_IDENTIFIER (
|
4263
|
REFERENCE_ID integer not null,
|
4264
|
IDENTIFIERS_ID integer not null,
|
4265
|
SORTINDEX integer not null,
|
4266
|
primary key (REFERENCE_ID, SORTINDEX)
|
4267
|
);
|
4268
|
|
4269
|
create table PUBLIC.REFERENCE_IDENTIFIER_AUD (
|
4270
|
REV integer not null,
|
4271
|
REFERENCE_ID integer not null,
|
4272
|
IDENTIFIERS_ID integer not null,
|
4273
|
SORTINDEX integer not null,
|
4274
|
REVTYPE tinyint,
|
4275
|
primary key (REV, REFERENCE_ID, IDENTIFIERS_ID, SORTINDEX)
|
4276
|
);
|
4277
|
|
4278
|
create table PUBLIC.REFERENCE_MARKER (
|
4279
|
REFERENCE_ID integer not null,
|
4280
|
MARKERS_ID integer not null,
|
4281
|
primary key (REFERENCE_ID, MARKERS_ID)
|
4282
|
);
|
4283
|
|
4284
|
create table PUBLIC.REFERENCE_MARKER_AUD (
|
4285
|
REV integer not null,
|
4286
|
REFERENCE_ID integer not null,
|
4287
|
MARKERS_ID integer not null,
|
4288
|
REVTYPE tinyint,
|
4289
|
primary key (REV, REFERENCE_ID, MARKERS_ID)
|
4290
|
);
|
4291
|
|
4292
|
create table PUBLIC.REFERENCE_MEDIA (
|
4293
|
REFERENCE_ID integer not null,
|
4294
|
MEDIA_ID integer not null,
|
4295
|
primary key (REFERENCE_ID, MEDIA_ID)
|
4296
|
);
|
4297
|
|
4298
|
create table PUBLIC.REFERENCE_MEDIA_AUD (
|
4299
|
REV integer not null,
|
4300
|
REFERENCE_ID integer not null,
|
4301
|
MEDIA_ID integer not null,
|
4302
|
REVTYPE tinyint,
|
4303
|
primary key (REV, REFERENCE_ID, MEDIA_ID)
|
4304
|
);
|
4305
|
|
4306
|
create table PUBLIC.REFERENCE_ORIGINALSOURCEBASE (
|
4307
|
REFERENCE_ID integer not null,
|
4308
|
SOURCES_ID integer not null,
|
4309
|
primary key (REFERENCE_ID, SOURCES_ID)
|
4310
|
);
|
4311
|
|
4312
|
create table PUBLIC.REFERENCE_ORIGINALSOURCEBASE_AUD (
|
4313
|
REV integer not null,
|
4314
|
REFERENCE_ID integer not null,
|
4315
|
SOURCES_ID integer not null,
|
4316
|
REVTYPE tinyint,
|
4317
|
primary key (REV, REFERENCE_ID, SOURCES_ID)
|
4318
|
);
|
4319
|
|
4320
|
create table PUBLIC.REFERENCE_RIGHTSINFO (
|
4321
|
REFERENCE_ID integer not null,
|
4322
|
RIGHTS_ID integer not null,
|
4323
|
primary key (REFERENCE_ID, RIGHTS_ID)
|
4324
|
);
|
4325
|
|
4326
|
create table PUBLIC.REFERENCE_RIGHTSINFO_AUD (
|
4327
|
REV integer not null,
|
4328
|
REFERENCE_ID integer not null,
|
4329
|
RIGHTS_ID integer not null,
|
4330
|
REVTYPE tinyint,
|
4331
|
primary key (REV, REFERENCE_ID, RIGHTS_ID)
|
4332
|
);
|
4333
|
|
4334
|
create table PUBLIC.REGISTRATION (
|
4335
|
ID integer not null,
|
4336
|
CREATED timestamp,
|
4337
|
UUID varchar(36),
|
4338
|
UPDATED timestamp,
|
4339
|
IDENTIFIER varchar(255),
|
4340
|
REGISTRATIONDATE timestamp,
|
4341
|
SPECIFICIDENTIFIER varchar(255),
|
4342
|
STATUS varchar(10),
|
4343
|
CREATEDBY_ID integer,
|
4344
|
UPDATEDBY_ID integer,
|
4345
|
INSTITUTION_ID integer,
|
4346
|
NAME_ID integer,
|
4347
|
SUBMITTER_ID integer,
|
4348
|
primary key (ID)
|
4349
|
);
|
4350
|
|
4351
|
create table PUBLIC.REGISTRATION_ANNOTATION (
|
4352
|
REGISTRATION_ID integer not null,
|
4353
|
ANNOTATIONS_ID integer not null,
|
4354
|
primary key (REGISTRATION_ID, ANNOTATIONS_ID)
|
4355
|
);
|
4356
|
|
4357
|
create table PUBLIC.REGISTRATION_ANNOTATION_AUD (
|
4358
|
REV integer not null,
|
4359
|
REGISTRATION_ID integer not null,
|
4360
|
ANNOTATIONS_ID integer not null,
|
4361
|
REVTYPE tinyint,
|
4362
|
primary key (REV, REGISTRATION_ID, ANNOTATIONS_ID)
|
4363
|
);
|
4364
|
|
4365
|
create table PUBLIC.REGISTRATION_AUD (
|
4366
|
ID integer not null,
|
4367
|
REV integer not null,
|
4368
|
REVTYPE tinyint,
|
4369
|
CREATED timestamp,
|
4370
|
UUID varchar(36),
|
4371
|
UPDATED timestamp,
|
4372
|
IDENTIFIER varchar(255),
|
4373
|
REGISTRATIONDATE timestamp,
|
4374
|
SPECIFICIDENTIFIER varchar(255),
|
4375
|
STATUS varchar(10),
|
4376
|
CREATEDBY_ID integer,
|
4377
|
UPDATEDBY_ID integer,
|
4378
|
INSTITUTION_ID integer,
|
4379
|
NAME_ID integer,
|
4380
|
SUBMITTER_ID integer,
|
4381
|
primary key (ID, REV)
|
4382
|
);
|
4383
|
|
4384
|
create table PUBLIC.REGISTRATION_MARKER (
|
4385
|
REGISTRATION_ID integer not null,
|
4386
|
MARKERS_ID integer not null,
|
4387
|
primary key (REGISTRATION_ID, MARKERS_ID)
|
4388
|
);
|
4389
|
|
4390
|
create table PUBLIC.REGISTRATION_MARKER_AUD (
|
4391
|
REV integer not null,
|
4392
|
REGISTRATION_ID integer not null,
|
4393
|
MARKERS_ID integer not null,
|
4394
|
REVTYPE tinyint,
|
4395
|
primary key (REV, REGISTRATION_ID, MARKERS_ID)
|
4396
|
);
|
4397
|
|
4398
|
create table PUBLIC.REGISTRATION_REGISTRATION (
|
4399
|
REGISTRATION_ID integer not null,
|
4400
|
BLOCKEDBY_ID integer not null,
|
4401
|
primary key (REGISTRATION_ID, BLOCKEDBY_ID)
|
4402
|
);
|
4403
|
|
4404
|
create table PUBLIC.REGISTRATION_REGISTRATION_AUD (
|
4405
|
REV integer not null,
|
4406
|
REGISTRATION_ID integer not null,
|
4407
|
BLOCKEDBY_ID integer not null,
|
4408
|
REVTYPE tinyint,
|
4409
|
primary key (REV, REGISTRATION_ID, BLOCKEDBY_ID)
|
4410
|
);
|
4411
|
|
4412
|
create table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE (
|
4413
|
REGISTRATIONS_ID integer not null,
|
4414
|
TYPEDESIGNATIONS_ID integer not null,
|
4415
|
primary key (REGISTRATIONS_ID, TYPEDESIGNATIONS_ID)
|
4416
|
);
|
4417
|
|
4418
|
create table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE_AUD (
|
4419
|
REV integer not null,
|
4420
|
REGISTRATIONS_ID integer not null,
|
4421
|
TYPEDESIGNATIONS_ID integer not null,
|
4422
|
REVTYPE tinyint,
|
4423
|
primary key (REV, REGISTRATIONS_ID, TYPEDESIGNATIONS_ID)
|
4424
|
);
|
4425
|
|
4426
|
create table PUBLIC.REPRESENTATION (
|
4427
|
ID integer not null,
|
4428
|
CREATED timestamp,
|
4429
|
UUID varchar(36),
|
4430
|
UPDATED timestamp,
|
4431
|
TEXT clob,
|
4432
|
ABBREVIATEDLABEL varchar(255),
|
4433
|
LABEL varchar(255),
|
4434
|
PLURAL varchar(255),
|
4435
|
CREATEDBY_ID integer,
|
4436
|
UPDATEDBY_ID integer,
|
4437
|
LANGUAGE_ID integer,
|
4438
|
primary key (ID)
|
4439
|
);
|
4440
|
|
4441
|
create table PUBLIC.REPRESENTATION_ANNOTATION (
|
4442
|
REPRESENTATION_ID integer not null,
|
4443
|
ANNOTATIONS_ID integer not null,
|
4444
|
primary key (REPRESENTATION_ID, ANNOTATIONS_ID)
|
4445
|
);
|
4446
|
|
4447
|
create table PUBLIC.REPRESENTATION_ANNOTATION_AUD (
|
4448
|
REV integer not null,
|
4449
|
REPRESENTATION_ID integer not null,
|
4450
|
ANNOTATIONS_ID integer not null,
|
4451
|
REVTYPE tinyint,
|
4452
|
primary key (REV, REPRESENTATION_ID, ANNOTATIONS_ID)
|
4453
|
);
|
4454
|
|
4455
|
create table PUBLIC.REPRESENTATION_AUD (
|
4456
|
ID integer not null,
|
4457
|
REV integer not null,
|
4458
|
REVTYPE tinyint,
|
4459
|
CREATED timestamp,
|
4460
|
UUID varchar(36),
|
4461
|
UPDATED timestamp,
|
4462
|
TEXT clob,
|
4463
|
ABBREVIATEDLABEL varchar(255),
|
4464
|
LABEL varchar(255),
|
4465
|
PLURAL varchar(255),
|
4466
|
CREATEDBY_ID integer,
|
4467
|
UPDATEDBY_ID integer,
|
4468
|
LANGUAGE_ID integer,
|
4469
|
primary key (ID, REV)
|
4470
|
);
|
4471
|
|
4472
|
create table PUBLIC.REPRESENTATION_MARKER (
|
4473
|
REPRESENTATION_ID integer not null,
|
4474
|
MARKERS_ID integer not null,
|
4475
|
primary key (REPRESENTATION_ID, MARKERS_ID)
|
4476
|
);
|
4477
|
|
4478
|
create table PUBLIC.REPRESENTATION_MARKER_AUD (
|
4479
|
REV integer not null,
|
4480
|
REPRESENTATION_ID integer not null,
|
4481
|
MARKERS_ID integer not null,
|
4482
|
REVTYPE tinyint,
|
4483
|
primary key (REV, REPRESENTATION_ID, MARKERS_ID)
|
4484
|
);
|
4485
|
|
4486
|
create table PUBLIC.RIGHTSINFO (
|
4487
|
ID integer not null,
|
4488
|
CREATED timestamp,
|
4489
|
UUID varchar(36),
|
4490
|
UPDATED timestamp,
|
4491
|
TEXT clob,
|
4492
|
ABBREVIATEDTEXT varchar(255),
|
4493
|
URI clob,
|
4494
|
CREATEDBY_ID integer,
|
4495
|
UPDATEDBY_ID integer,
|
4496
|
LANGUAGE_ID integer,
|
4497
|
AGENT_ID integer,
|
4498
|
TYPE_ID integer,
|
4499
|
primary key (ID)
|
4500
|
);
|
4501
|
|
4502
|
create table PUBLIC.RIGHTSINFO_ANNOTATION (
|
4503
|
RIGHTS_ID integer not null,
|
4504
|
ANNOTATIONS_ID integer not null,
|
4505
|
primary key (RIGHTS_ID, ANNOTATIONS_ID)
|
4506
|
);
|
4507
|
|
4508
|
create table PUBLIC.RIGHTSINFO_ANNOTATION_AUD (
|
4509
|
REV integer not null,
|
4510
|
RIGHTS_ID integer not null,
|
4511
|
ANNOTATIONS_ID integer not null,
|
4512
|
REVTYPE tinyint,
|
4513
|
primary key (REV, RIGHTS_ID, ANNOTATIONS_ID)
|
4514
|
);
|
4515
|
|
4516
|
create table PUBLIC.RIGHTSINFO_AUD (
|
4517
|
ID integer not null,
|
4518
|
REV integer not null,
|
4519
|
REVTYPE tinyint,
|
4520
|
CREATED timestamp,
|
4521
|
UUID varchar(36),
|
4522
|
UPDATED timestamp,
|
4523
|
TEXT clob,
|
4524
|
ABBREVIATEDTEXT varchar(255),
|
4525
|
URI clob,
|
4526
|
CREATEDBY_ID integer,
|
4527
|
UPDATEDBY_ID integer,
|
4528
|
LANGUAGE_ID integer,
|
4529
|
AGENT_ID integer,
|
4530
|
TYPE_ID integer,
|
4531
|
primary key (ID, REV)
|
4532
|
);
|
4533
|
|
4534
|
create table PUBLIC.RIGHTSINFO_MARKER (
|
4535
|
RIGHTS_ID integer not null,
|
4536
|
MARKERS_ID integer not null,
|
4537
|
primary key (RIGHTS_ID, MARKERS_ID)
|
4538
|
);
|
4539
|
|
4540
|
create table PUBLIC.RIGHTSINFO_MARKER_AUD (
|
4541
|
REV integer not null,
|
4542
|
RIGHTS_ID integer not null,
|
4543
|
MARKERS_ID integer not null,
|
4544
|
REVTYPE tinyint,
|
4545
|
primary key (REV, RIGHTS_ID, MARKERS_ID)
|
4546
|
);
|
4547
|
|
4548
|
create table PUBLIC.SEQUENCE (
|
4549
|
ID integer not null,
|
4550
|
CREATED timestamp,
|
4551
|
UUID varchar(36),
|
4552
|
UPDATED timestamp,
|
4553
|
BARCODESEQUENCEPART_LENGTH integer,
|
4554
|
BARCODESEQUENCEPART_STRING clob,
|
4555
|
BOLDPROCESSID varchar(20),
|
4556
|
CONSENSUSSEQUENCE_LENGTH integer,
|
4557
|
CONSENSUSSEQUENCE_STRING clob,
|
4558
|
GENETICACCESSIONNUMBER varchar(20),
|
4559
|
HAPLOTYPE varchar(100),
|
4560
|
ISBARCODE boolean,
|
4561
|
CREATEDBY_ID integer,
|
4562
|
UPDATEDBY_ID integer,
|
4563
|
CONTIGFILE_ID integer,
|
4564
|
DNAMARKER_ID integer,
|
4565
|
DNASAMPLE_ID integer,
|
4566
|
primary key (ID)
|
4567
|
);
|
4568
|
|
4569
|
create table PUBLIC.SEQUENCE_ANNOTATION (
|
4570
|
SEQUENCE_ID integer not null,
|
4571
|
ANNOTATIONS_ID integer not null,
|
4572
|
primary key (SEQUENCE_ID, ANNOTATIONS_ID)
|
4573
|
);
|
4574
|
|
4575
|
create table PUBLIC.SEQUENCE_ANNOTATION_AUD (
|
4576
|
REV integer not null,
|
4577
|
SEQUENCE_ID integer not null,
|
4578
|
ANNOTATIONS_ID integer not null,
|
4579
|
REVTYPE tinyint,
|
4580
|
primary key (REV, SEQUENCE_ID, ANNOTATIONS_ID)
|
4581
|
);
|
4582
|
|
4583
|
create table PUBLIC.SEQUENCE_AUD (
|
4584
|
ID integer not null,
|
4585
|
REV integer not null,
|
4586
|
REVTYPE tinyint,
|
4587
|
CREATED timestamp,
|
4588
|
UUID varchar(36),
|
4589
|
UPDATED timestamp,
|
4590
|
BARCODESEQUENCEPART_LENGTH integer,
|
4591
|
BARCODESEQUENCEPART_STRING clob,
|
4592
|
BOLDPROCESSID varchar(20),
|
4593
|
CONSENSUSSEQUENCE_LENGTH integer,
|
4594
|
CONSENSUSSEQUENCE_STRING clob,
|
4595
|
GENETICACCESSIONNUMBER varchar(20),
|
4596
|
HAPLOTYPE varchar(100),
|
4597
|
ISBARCODE boolean,
|
4598
|
CREATEDBY_ID integer,
|
4599
|
UPDATEDBY_ID integer,
|
4600
|
CONTIGFILE_ID integer,
|
4601
|
DNAMARKER_ID integer,
|
4602
|
DNASAMPLE_ID integer,
|
4603
|
primary key (ID, REV)
|
4604
|
);
|
4605
|
|
4606
|
create table PUBLIC.SEQUENCE_MARKER (
|
4607
|
SEQUENCE_ID integer not null,
|
4608
|
MARKERS_ID integer not null,
|
4609
|
primary key (SEQUENCE_ID, MARKERS_ID)
|
4610
|
);
|
4611
|
|
4612
|
create table PUBLIC.SEQUENCE_MARKER_AUD (
|
4613
|
REV integer not null,
|
4614
|
SEQUENCE_ID integer not null,
|
4615
|
MARKERS_ID integer not null,
|
4616
|
REVTYPE tinyint,
|
4617
|
primary key (REV, SEQUENCE_ID, MARKERS_ID)
|
4618
|
);
|
4619
|
|
4620
|
create table PUBLIC.SEQUENCE_REFERENCE (
|
4621
|
SEQUENCE_ID integer not null,
|
4622
|
CITATIONS_ID integer not null,
|
4623
|
primary key (SEQUENCE_ID, CITATIONS_ID)
|
4624
|
);
|
4625
|
|
4626
|
create table PUBLIC.SEQUENCE_REFERENCE_AUD (
|
4627
|
REV integer not null,
|
4628
|
SEQUENCE_ID integer not null,
|
4629
|
CITATIONS_ID integer not null,
|
4630
|
REVTYPE tinyint,
|
4631
|
primary key (REV, SEQUENCE_ID, CITATIONS_ID)
|
4632
|
);
|
4633
|
|
4634
|
create table PUBLIC.SINGLEREAD (
|
4635
|
ID integer not null,
|
4636
|
CREATED timestamp,
|
4637
|
UUID varchar(36),
|
4638
|
UPDATED timestamp,
|
4639
|
DESCRIPTION varchar(255),
|
4640
|
TIMEPERIOD_END varchar(255),
|
4641
|
TIMEPERIOD_FREETEXT varchar(255),
|
4642
|
TIMEPERIOD_START varchar(255),
|
4643
|
DIRECTION varchar(255),
|
4644
|
SEQUENCE_LENGTH integer,
|
4645
|
SEQUENCE_STRING clob,
|
4646
|
CREATEDBY_ID integer,
|
4647
|
UPDATEDBY_ID integer,
|
4648
|
ACTOR_ID integer,
|
4649
|
AMPLIFICATIONRESULT_ID integer,
|
4650
|
MATERIALORMETHOD_ID integer,
|
4651
|
PHEROGRAM_ID integer,
|
4652
|
PRIMER_ID integer,
|
4653
|
primary key (ID)
|
4654
|
);
|
4655
|
|
4656
|
create table PUBLIC.SINGLEREAD_ANNOTATION (
|
4657
|
SINGLEREAD_ID integer not null,
|
4658
|
ANNOTATIONS_ID integer not null,
|
4659
|
primary key (SINGLEREAD_ID, ANNOTATIONS_ID)
|
4660
|
);
|
4661
|
|
4662
|
create table PUBLIC.SINGLEREAD_ANNOTATION_AUD (
|
4663
|
REV integer not null,
|
4664
|
SINGLEREAD_ID integer not null,
|
4665
|
ANNOTATIONS_ID integer not null,
|
4666
|
REVTYPE tinyint,
|
4667
|
primary key (REV, SINGLEREAD_ID, ANNOTATIONS_ID)
|
4668
|
);
|
4669
|
|
4670
|
create table PUBLIC.SINGLEREAD_AUD (
|
4671
|
ID integer not null,
|
4672
|
REV integer not null,
|
4673
|
REVTYPE tinyint,
|
4674
|
CREATED timestamp,
|
4675
|
UUID varchar(36),
|
4676
|
UPDATED timestamp,
|
4677
|
DESCRIPTION varchar(255),
|
4678
|
TIMEPERIOD_END varchar(255),
|
4679
|
TIMEPERIOD_FREETEXT varchar(255),
|
4680
|
TIMEPERIOD_START varchar(255),
|
4681
|
DIRECTION varchar(255),
|
4682
|
SEQUENCE_LENGTH integer,
|
4683
|
SEQUENCE_STRING clob,
|
4684
|
CREATEDBY_ID integer,
|
4685
|
UPDATEDBY_ID integer,
|
4686
|
ACTOR_ID integer,
|
4687
|
AMPLIFICATIONRESULT_ID integer,
|
4688
|
MATERIALORMETHOD_ID integer,
|
4689
|
PHEROGRAM_ID integer,
|
4690
|
PRIMER_ID integer,
|
4691
|
primary key (ID, REV)
|
4692
|
);
|
4693
|
|
4694
|
create table PUBLIC.SINGLEREAD_MARKER (
|
4695
|
SINGLEREAD_ID integer not null,
|
4696
|
MARKERS_ID integer not null,
|
4697
|
primary key (SINGLEREAD_ID, MARKERS_ID)
|
4698
|
);
|
4699
|
|
4700
|
create table PUBLIC.SINGLEREAD_MARKER_AUD (
|
4701
|
REV integer not null,
|
4702
|
SINGLEREAD_ID integer not null,
|
4703
|
MARKERS_ID integer not null,
|
4704
|
REVTYPE tinyint,
|
4705
|
primary key (REV, SINGLEREAD_ID, MARKERS_ID)
|
4706
|
);
|
4707
|
|
4708
|
create table PUBLIC.SINGLEREADALIGNMENT (
|
4709
|
ID integer not null,
|
4710
|
CREATED timestamp,
|
4711
|
UUID varchar(36),
|
4712
|
UPDATED timestamp,
|
4713
|
EDITEDSEQUENCE clob,
|
4714
|
FIRSTSEQPOSITION integer,
|
4715
|
LEFTCUTPOSITION integer,
|
4716
|
REVERSECOMPLEMENT boolean not null,
|
4717
|
RIGHTCUTPOSITION integer,
|
4718
|
SHIFTS clob,
|
4719
|
CREATEDBY_ID integer,
|
4720
|
UPDATEDBY_ID integer,
|
4721
|
CONSENSUSALIGNMENT_ID integer,
|
4722
|
SINGLEREAD_ID integer,
|
4723
|
primary key (ID)
|
4724
|
);
|
4725
|
|
4726
|
create table PUBLIC.SINGLEREADALIGNMENT_AUD (
|
4727
|
ID integer not null,
|
4728
|
REV integer not null,
|
4729
|
REVTYPE tinyint,
|
4730
|
CREATED timestamp,
|
4731
|
UUID varchar(36),
|
4732
|
UPDATED timestamp,
|
4733
|
EDITEDSEQUENCE clob,
|
4734
|
FIRSTSEQPOSITION integer,
|
4735
|
LEFTCUTPOSITION integer,
|
4736
|
REVERSECOMPLEMENT boolean,
|
4737
|
RIGHTCUTPOSITION integer,
|
4738
|
SHIFTS clob,
|
4739
|
CREATEDBY_ID integer,
|
4740
|
UPDATEDBY_ID integer,
|
4741
|
CONSENSUSALIGNMENT_ID integer,
|
4742
|
SINGLEREAD_ID integer,
|
4743
|
primary key (ID, REV)
|
4744
|
);
|
4745
|
|
4746
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE (
|
4747
|
DTYPE varchar(31) not null,
|
4748
|
ID integer not null,
|
4749
|
CREATED timestamp,
|
4750
|
UUID varchar(36),
|
4751
|
UPDATED timestamp,
|
4752
|
LSID_AUTHORITY varchar(255),
|
4753
|
LSID_LSID varchar(255),
|
4754
|
LSID_NAMESPACE varchar(255),
|
4755
|
LSID_OBJECT varchar(255),
|
4756
|
LSID_REVISION varchar(255),
|
4757
|
PROTECTEDTITLECACHE boolean not null,
|
4758
|
TITLECACHE varchar(800),
|
4759
|
IDENTITYCACHE varchar(255),
|
4760
|
INDIVIDUALCOUNT varchar(255),
|
4761
|
PREFERREDSTABLEURI clob,
|
4762
|
PROTECTEDIDENTITYCACHE boolean not null,
|
4763
|
PUBLISH boolean not null,
|
4764
|
RECORDBASIS varchar(255),
|
4765
|
ACCESSIONNUMBER varchar(255),
|
4766
|
BARCODE varchar(255),
|
4767
|
CATALOGNUMBER varchar(255),
|
4768
|
COLLECTORSNUMBER varchar(255),
|
4769
|
EXSICCATUM varchar(255),
|
4770
|
ORIGINALLABELINFO clob,
|
4771
|
FIELDNOTES varchar(255),
|
4772
|
FIELDNUMBER varchar(255),
|
4773
|
CREATEDBY_ID integer,
|
4774
|
UPDATEDBY_ID integer,
|
4775
|
KINDOFUNIT_ID integer,
|
4776
|
LIFESTAGE_ID integer,
|
4777
|
SEX_ID integer,
|
4778
|
COLLECTION_ID integer,
|
4779
|
DERIVEDFROM_ID integer,
|
4780
|
PRESERVATION_ID integer,
|
4781
|
STOREDUNDER_ID integer,
|
4782
|
DNAQUALITY_ID integer,
|
4783
|
GATHERINGEVENT_ID integer,
|
4784
|
PRIMARYCOLLECTOR_ID integer,
|
4785
|
MEDIASPECIMEN_ID integer,
|
4786
|
primary key (ID)
|
4787
|
);
|
4788
|
|
4789
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION (
|
4790
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4791
|
ANNOTATIONS_ID integer not null,
|
4792
|
primary key (SPECIMENOROBSERVATIONBASE_ID, ANNOTATIONS_ID)
|
4793
|
);
|
4794
|
|
4795
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION_AUD (
|
4796
|
REV integer not null,
|
4797
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4798
|
ANNOTATIONS_ID integer not null,
|
4799
|
REVTYPE tinyint,
|
4800
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, ANNOTATIONS_ID)
|
4801
|
);
|
4802
|
|
4803
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_AUD (
|
4804
|
ID integer not null,
|
4805
|
REV integer not null,
|
4806
|
DTYPE varchar(31) not null,
|
4807
|
REVTYPE tinyint,
|
4808
|
CREATED timestamp,
|
4809
|
UUID varchar(36),
|
4810
|
UPDATED timestamp,
|
4811
|
LSID_AUTHORITY varchar(255),
|
4812
|
LSID_LSID varchar(255),
|
4813
|
LSID_NAMESPACE varchar(255),
|
4814
|
LSID_OBJECT varchar(255),
|
4815
|
LSID_REVISION varchar(255),
|
4816
|
PROTECTEDTITLECACHE boolean,
|
4817
|
TITLECACHE varchar(800),
|
4818
|
IDENTITYCACHE varchar(255),
|
4819
|
INDIVIDUALCOUNT varchar(255),
|
4820
|
PREFERREDSTABLEURI clob,
|
4821
|
PROTECTEDIDENTITYCACHE boolean,
|
4822
|
PUBLISH boolean,
|
4823
|
RECORDBASIS varchar(255),
|
4824
|
CREATEDBY_ID integer,
|
4825
|
UPDATEDBY_ID integer,
|
4826
|
KINDOFUNIT_ID integer,
|
4827
|
LIFESTAGE_ID integer,
|
4828
|
SEX_ID integer,
|
4829
|
ACCESSIONNUMBER varchar(255),
|
4830
|
BARCODE varchar(255),
|
4831
|
CATALOGNUMBER varchar(255),
|
4832
|
COLLECTORSNUMBER varchar(255),
|
4833
|
EXSICCATUM varchar(255),
|
4834
|
ORIGINALLABELINFO clob,
|
4835
|
COLLECTION_ID integer,
|
4836
|
DERIVEDFROM_ID integer,
|
4837
|
PRESERVATION_ID integer,
|
4838
|
STOREDUNDER_ID integer,
|
4839
|
DNAQUALITY_ID integer,
|
4840
|
MEDIASPECIMEN_ID integer,
|
4841
|
FIELDNOTES varchar(255),
|
4842
|
FIELDNUMBER varchar(255),
|
4843
|
GATHERINGEVENT_ID integer,
|
4844
|
PRIMARYCOLLECTOR_ID integer,
|
4845
|
primary key (ID, REV)
|
4846
|
);
|
4847
|
|
4848
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT (
|
4849
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4850
|
CREDITS_ID integer not null,
|
4851
|
SORTINDEX integer not null,
|
4852
|
primary key (SPECIMENOROBSERVATIONBASE_ID, SORTINDEX)
|
4853
|
);
|
4854
|
|
4855
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT_AUD (
|
4856
|
REV integer not null,
|
4857
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4858
|
CREDITS_ID integer not null,
|
4859
|
SORTINDEX integer not null,
|
4860
|
REVTYPE tinyint,
|
4861
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, CREDITS_ID, SORTINDEX)
|
4862
|
);
|
4863
|
|
4864
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT (
|
4865
|
ORIGINALS_ID integer not null,
|
4866
|
DERIVATIONEVENTS_ID integer not null,
|
4867
|
primary key (ORIGINALS_ID, DERIVATIONEVENTS_ID)
|
4868
|
);
|
4869
|
|
4870
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT_AUD (
|
4871
|
REV integer not null,
|
4872
|
ORIGINALS_ID integer not null,
|
4873
|
DERIVATIONEVENTS_ID integer not null,
|
4874
|
REVTYPE tinyint,
|
4875
|
primary key (REV, ORIGINALS_ID, DERIVATIONEVENTS_ID)
|
4876
|
);
|
4877
|
|
4878
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION (
|
4879
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4880
|
EXTENSIONS_ID integer not null,
|
4881
|
primary key (SPECIMENOROBSERVATIONBASE_ID, EXTENSIONS_ID)
|
4882
|
);
|
4883
|
|
4884
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION_AUD (
|
4885
|
REV integer not null,
|
4886
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4887
|
EXTENSIONS_ID integer not null,
|
4888
|
REVTYPE tinyint,
|
4889
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, EXTENSIONS_ID)
|
4890
|
);
|
4891
|
|
4892
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK (
|
4893
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4894
|
LINKS_ID integer not null,
|
4895
|
primary key (SPECIMENOROBSERVATIONBASE_ID, LINKS_ID)
|
4896
|
);
|
4897
|
|
4898
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK_AUD (
|
4899
|
REV integer not null,
|
4900
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4901
|
LINKS_ID integer not null,
|
4902
|
REVTYPE tinyint,
|
4903
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, LINKS_ID)
|
4904
|
);
|
4905
|
|
4906
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER (
|
4907
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4908
|
IDENTIFIERS_ID integer not null,
|
4909
|
SORTINDEX integer not null,
|
4910
|
primary key (SPECIMENOROBSERVATIONBASE_ID, SORTINDEX)
|
4911
|
);
|
4912
|
|
4913
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER_AUD (
|
4914
|
REV integer not null,
|
4915
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4916
|
IDENTIFIERS_ID integer not null,
|
4917
|
SORTINDEX integer not null,
|
4918
|
REVTYPE tinyint,
|
4919
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, IDENTIFIERS_ID, SORTINDEX)
|
4920
|
);
|
4921
|
|
4922
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING (
|
4923
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4924
|
DEFINITION_ID integer not null,
|
4925
|
DEFINITION_MAPKEY_ID integer not null,
|
4926
|
primary key (SPECIMENOROBSERVATIONBASE_ID, DEFINITION_MAPKEY_ID)
|
4927
|
);
|
4928
|
|
4929
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING_AUD (
|
4930
|
REV integer not null,
|
4931
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4932
|
DEFINITION_ID integer not null,
|
4933
|
DEFINITION_MAPKEY_ID integer not null,
|
4934
|
REVTYPE tinyint,
|
4935
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, DEFINITION_ID, DEFINITION_MAPKEY_ID)
|
4936
|
);
|
4937
|
|
4938
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER (
|
4939
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4940
|
MARKERS_ID integer not null,
|
4941
|
primary key (SPECIMENOROBSERVATIONBASE_ID, MARKERS_ID)
|
4942
|
);
|
4943
|
|
4944
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER_AUD (
|
4945
|
REV integer not null,
|
4946
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4947
|
MARKERS_ID integer not null,
|
4948
|
REVTYPE tinyint,
|
4949
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, MARKERS_ID)
|
4950
|
);
|
4951
|
|
4952
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE (
|
4953
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4954
|
SOURCES_ID integer not null,
|
4955
|
primary key (SPECIMENOROBSERVATIONBASE_ID, SOURCES_ID)
|
4956
|
);
|
4957
|
|
4958
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE_AUD (
|
4959
|
REV integer not null,
|
4960
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4961
|
SOURCES_ID integer not null,
|
4962
|
REVTYPE tinyint,
|
4963
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, SOURCES_ID)
|
4964
|
);
|
4965
|
|
4966
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO (
|
4967
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4968
|
RIGHTS_ID integer not null,
|
4969
|
primary key (SPECIMENOROBSERVATIONBASE_ID, RIGHTS_ID)
|
4970
|
);
|
4971
|
|
4972
|
create table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO_AUD (
|
4973
|
REV integer not null,
|
4974
|
SPECIMENOROBSERVATIONBASE_ID integer not null,
|
4975
|
RIGHTS_ID integer not null,
|
4976
|
REVTYPE tinyint,
|
4977
|
primary key (REV, SPECIMENOROBSERVATIONBASE_ID, RIGHTS_ID)
|
4978
|
);
|
4979
|
|
4980
|
create table PUBLIC.STATEDATA (
|
4981
|
ID integer not null,
|
4982
|
CREATED timestamp,
|
4983
|
UUID varchar(36),
|
4984
|
UPDATED timestamp,
|
4985
|
NUMBER integer,
|
4986
|
CREATEDBY_ID integer,
|
4987
|
UPDATEDBY_ID integer,
|
4988
|
CATEGORICALDATA_ID integer,
|
4989
|
STATE_ID integer,
|
4990
|
primary key (ID)
|
4991
|
);
|
4992
|
|
4993
|
create table PUBLIC.STATEDATA_AUD (
|
4994
|
ID integer not null,
|
4995
|
REV integer not null,
|
4996
|
REVTYPE tinyint,
|
4997
|
CREATED timestamp,
|
4998
|
UUID varchar(36),
|
4999
|
UPDATED timestamp,
|
5000
|
NUMBER integer,
|
5001
|
CREATEDBY_ID integer,
|
5002
|
UPDATEDBY_ID integer,
|
5003
|
CATEGORICALDATA_ID integer,
|
5004
|
STATE_ID integer,
|
5005
|
primary key (ID, REV)
|
5006
|
);
|
5007
|
|
5008
|
create table PUBLIC.STATEDATA_DEFINEDTERMBASE (
|
5009
|
STATEDATA_ID integer not null,
|
5010
|
MODIFIERS_ID integer not null,
|
5011
|
primary key (STATEDATA_ID, MODIFIERS_ID)
|
5012
|
);
|
5013
|
|
5014
|
create table PUBLIC.STATEDATA_DEFINEDTERMBASE_AUD (
|
5015
|
REV integer not null,
|
5016
|
STATEDATA_ID integer not null,
|
5017
|
MODIFIERS_ID integer not null,
|
5018
|
REVTYPE tinyint,
|
5019
|
primary key (REV, STATEDATA_ID, MODIFIERS_ID)
|
5020
|
);
|
5021
|
|
5022
|
create table PUBLIC.STATEDATA_LANGUAGESTRING (
|
5023
|
STATEDATA_ID integer not null,
|
5024
|
MODIFYINGTEXT_ID integer not null,
|
5025
|
MODIFYINGTEXT_MAPKEY_ID integer not null,
|
5026
|
primary key (STATEDATA_ID, MODIFYINGTEXT_MAPKEY_ID)
|
5027
|
);
|
5028
|
|
5029
|
create table PUBLIC.STATEDATA_LANGUAGESTRING_AUD (
|
5030
|
REV integer not null,
|
5031
|
STATEDATA_ID integer not null,
|
5032
|
MODIFYINGTEXT_ID integer not null,
|
5033
|
MODIFYINGTEXT_MAPKEY_ID integer not null,
|
5034
|
REVTYPE tinyint,
|
5035
|
primary key (REV, STATEDATA_ID, MODIFYINGTEXT_ID, MODIFYINGTEXT_MAPKEY_ID)
|
5036
|
);
|
5037
|
|
5038
|
create table PUBLIC.STATISTICALMEASUREMENTVALUE (
|
5039
|
ID integer not null,
|
5040
|
CREATED timestamp,
|
5041
|
UUID varchar(36),
|
5042
|
UPDATED timestamp,
|
5043
|
VALUE decimal(18,9),
|
5044
|
VALUE_SCALE integer,
|
5045
|
CREATEDBY_ID integer,
|
5046
|
UPDATEDBY_ID integer,
|
5047
|
QUANTITATIVEDATA_ID integer,
|
5048
|
TYPE_ID integer,
|
5049
|
primary key (ID)
|
5050
|
);
|
5051
|
|
5052
|
create table PUBLIC.STATISTICALMEASUREMENTVALUE_AUD (
|
5053
|
ID integer not null,
|
5054
|
REV integer not null,
|
5055
|
REVTYPE tinyint,
|
5056
|
CREATED timestamp,
|
5057
|
UUID varchar(36),
|
5058
|
UPDATED timestamp,
|
5059
|
VALUE decimal(18,9),
|
5060
|
VALUE_SCALE integer,
|
5061
|
CREATEDBY_ID integer,
|
5062
|
UPDATEDBY_ID integer,
|
5063
|
QUANTITATIVEDATA_ID integer,
|
5064
|
TYPE_ID integer,
|
5065
|
primary key (ID, REV)
|
5066
|
);
|
5067
|
|
5068
|
create table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE (
|
5069
|
STATISTICALMEASUREMENTVALUE_ID integer not null,
|
5070
|
MODIFIERS_ID integer not null,
|
5071
|
primary key (STATISTICALMEASUREMENTVALUE_ID, MODIFIERS_ID)
|
5072
|
);
|
5073
|
|
5074
|
create table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE_AUD (
|
5075
|
REV integer not null,
|
5076
|
STATISTICALMEASUREMENTVALUE_ID integer not null,
|
5077
|
MODIFIERS_ID integer not null,
|
5078
|
REVTYPE tinyint,
|
5079
|
primary key (REV, STATISTICALMEASUREMENTVALUE_ID, MODIFIERS_ID)
|
5080
|
);
|
5081
|
|
5082
|
create table PUBLIC.TAXONBASE (
|
5083
|
DTYPE varchar(31) not null,
|
5084
|
ID integer not null,
|
5085
|
CREATED timestamp,
|
5086
|
UUID varchar(36),
|
5087
|
UPDATED timestamp,
|
5088
|
LSID_AUTHORITY varchar(255),
|
5089
|
LSID_LSID varchar(255),
|
5090
|
LSID_NAMESPACE varchar(255),
|
5091
|
LSID_OBJECT varchar(255),
|
5092
|
LSID_REVISION varchar(255),
|
5093
|
PROTECTEDTITLECACHE boolean not null,
|
5094
|
TITLECACHE varchar(800),
|
5095
|
APPENDEDPHRASE varchar(255),
|
5096
|
DOUBTFUL boolean not null,
|
5097
|
PUBLISH boolean not null,
|
5098
|
USENAMECACHE boolean not null,
|
5099
|
CONCEPTDEFINITIONS varchar(255),
|
5100
|
CONCEPTID varchar(255),
|
5101
|
CONCEPTSTATUS varchar(255),
|
5102
|
CURRENTCONCEPTPERIOD_END varchar(255),
|
5103
|
CURRENTCONCEPTPERIOD_FREETEXT varchar(255),
|
5104
|
CURRENTCONCEPTPERIOD_START varchar(255),
|
5105
|
TAXONSTATUSUNKNOWN boolean,
|
5106
|
TAXONTYPES varchar(255),
|
5107
|
CREATEDBY_ID integer,
|
5108
|
UPDATEDBY_ID integer,
|
5109
|
NAME_ID integer,
|
5110
|
ACCEPTEDTAXON_ID integer,
|
5111
|
TYPE_ID integer,
|
5112
|
primary key (ID)
|
5113
|
);
|
5114
|
|
5115
|
create table PUBLIC.TAXONBASE_ANNOTATION (
|
5116
|
TAXONBASE_ID integer not null,
|
5117
|
ANNOTATIONS_ID integer not null,
|
5118
|
primary key (TAXONBASE_ID, ANNOTATIONS_ID)
|
5119
|
);
|
5120
|
|
5121
|
create table PUBLIC.TAXONBASE_ANNOTATION_AUD (
|
5122
|
REV integer not null,
|
5123
|
TAXONBASE_ID integer not null,
|
5124
|
ANNOTATIONS_ID integer not null,
|
5125
|
REVTYPE tinyint,
|
5126
|
primary key (REV, TAXONBASE_ID, ANNOTATIONS_ID)
|
5127
|
);
|
5128
|
|
5129
|
create table PUBLIC.TAXONBASE_AUD (
|
5130
|
ID integer not null,
|
5131
|
REV integer not null,
|
5132
|
DTYPE varchar(31) not null,
|
5133
|
REVTYPE tinyint,
|
5134
|
CREATED timestamp,
|
5135
|
UUID varchar(36),
|
5136
|
UPDATED timestamp,
|
5137
|
LSID_AUTHORITY varchar(255),
|
5138
|
LSID_LSID varchar(255),
|
5139
|
LSID_NAMESPACE varchar(255),
|
5140
|
LSID_OBJECT varchar(255),
|
5141
|
LSID_REVISION varchar(255),
|
5142
|
PROTECTEDTITLECACHE boolean,
|
5143
|
TITLECACHE varchar(800),
|
5144
|
APPENDEDPHRASE varchar(255),
|
5145
|
DOUBTFUL boolean,
|
5146
|
PUBLISH boolean,
|
5147
|
USENAMECACHE boolean,
|
5148
|
CREATEDBY_ID integer,
|
5149
|
UPDATEDBY_ID integer,
|
5150
|
NAME_ID integer,
|
5151
|
CONCEPTDEFINITIONS varchar(255),
|
5152
|
CONCEPTID varchar(255),
|
5153
|
CONCEPTSTATUS varchar(255),
|
5154
|
CURRENTCONCEPTPERIOD_END varchar(255),
|
5155
|
CURRENTCONCEPTPERIOD_FREETEXT varchar(255),
|
5156
|
CURRENTCONCEPTPERIOD_START varchar(255),
|
5157
|
TAXONSTATUSUNKNOWN boolean,
|
5158
|
TAXONTYPES varchar(255),
|
5159
|
ACCEPTEDTAXON_ID integer,
|
5160
|
TYPE_ID integer,
|
5161
|
primary key (ID, REV)
|
5162
|
);
|
5163
|
|
5164
|
create table PUBLIC.TAXONBASE_CREDIT (
|
5165
|
TAXONBASE_ID integer not null,
|
5166
|
CREDITS_ID integer not null,
|
5167
|
SORTINDEX integer not null,
|
5168
|
primary key (TAXONBASE_ID, SORTINDEX)
|
5169
|
);
|
5170
|
|
5171
|
create table PUBLIC.TAXONBASE_CREDIT_AUD (
|
5172
|
REV integer not null,
|
5173
|
TAXONBASE_ID integer not null,
|
5174
|
CREDITS_ID integer not null,
|
5175
|
SORTINDEX integer not null,
|
5176
|
REVTYPE tinyint,
|
5177
|
primary key (REV, TAXONBASE_ID, CREDITS_ID, SORTINDEX)
|
5178
|
);
|
5179
|
|
5180
|
create table PUBLIC.TAXONBASE_EXTENSION (
|
5181
|
TAXONBASE_ID integer not null,
|
5182
|
EXTENSIONS_ID integer not null,
|
5183
|
primary key (TAXONBASE_ID, EXTENSIONS_ID)
|
5184
|
);
|
5185
|
|
5186
|
create table PUBLIC.TAXONBASE_EXTENSION_AUD (
|
5187
|
REV integer not null,
|
5188
|
TAXONBASE_ID integer not null,
|
5189
|
EXTENSIONS_ID integer not null,
|
5190
|
REVTYPE tinyint,
|
5191
|
primary key (REV, TAXONBASE_ID, EXTENSIONS_ID)
|
5192
|
);
|
5193
|
|
5194
|
create table PUBLIC.TAXONBASE_EXTERNALLINK (
|
5195
|
TAXONBASE_ID integer not null,
|
5196
|
LINKS_ID integer not null,
|
5197
|
primary key (TAXONBASE_ID, LINKS_ID)
|
5198
|
);
|
5199
|
|
5200
|
create table PUBLIC.TAXONBASE_EXTERNALLINK_AUD (
|
5201
|
REV integer not null,
|
5202
|
TAXONBASE_ID integer not null,
|
5203
|
LINKS_ID integer not null,
|
5204
|
REVTYPE tinyint,
|
5205
|
primary key (REV, TAXONBASE_ID, LINKS_ID)
|
5206
|
);
|
5207
|
|
5208
|
create table PUBLIC.TAXONBASE_IDENTIFIER (
|
5209
|
TAXONBASE_ID integer not null,
|
5210
|
IDENTIFIERS_ID integer not null,
|
5211
|
SORTINDEX integer not null,
|
5212
|
primary key (TAXONBASE_ID, SORTINDEX)
|
5213
|
);
|
5214
|
|
5215
|
create table PUBLIC.TAXONBASE_IDENTIFIER_AUD (
|
5216
|
REV integer not null,
|
5217
|
TAXONBASE_ID integer not null,
|
5218
|
IDENTIFIERS_ID integer not null,
|
5219
|
SORTINDEX integer not null,
|
5220
|
REVTYPE tinyint,
|
5221
|
primary key (REV, TAXONBASE_ID, IDENTIFIERS_ID, SORTINDEX)
|
5222
|
);
|
5223
|
|
5224
|
create table PUBLIC.TAXONBASE_MARKER (
|
5225
|
TAXONBASE_ID integer not null,
|
5226
|
MARKERS_ID integer not null,
|
5227
|
primary key (TAXONBASE_ID, MARKERS_ID)
|
5228
|
);
|
5229
|
|
5230
|
create table PUBLIC.TAXONBASE_MARKER_AUD (
|
5231
|
REV integer not null,
|
5232
|
TAXONBASE_ID integer not null,
|
5233
|
MARKERS_ID integer not null,
|
5234
|
REVTYPE tinyint,
|
5235
|
primary key (REV, TAXONBASE_ID, MARKERS_ID)
|
5236
|
);
|
5237
|
|
5238
|
create table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE (
|
5239
|
TAXONBASE_ID integer not null,
|
5240
|
SOURCES_ID integer not null,
|
5241
|
primary key (TAXONBASE_ID, SOURCES_ID)
|
5242
|
);
|
5243
|
|
5244
|
create table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE_AUD (
|
5245
|
REV integer not null,
|
5246
|
TAXONBASE_ID integer not null,
|
5247
|
SOURCES_ID integer not null,
|
5248
|
REVTYPE tinyint,
|
5249
|
primary key (REV, TAXONBASE_ID, SOURCES_ID)
|
5250
|
);
|
5251
|
|
5252
|
create table PUBLIC.TAXONBASE_RIGHTSINFO (
|
5253
|
TAXONBASE_ID integer not null,
|
5254
|
RIGHTS_ID integer not null,
|
5255
|
primary key (TAXONBASE_ID, RIGHTS_ID)
|
5256
|
);
|
5257
|
|
5258
|
create table PUBLIC.TAXONBASE_RIGHTSINFO_AUD (
|
5259
|
REV integer not null,
|
5260
|
TAXONBASE_ID integer not null,
|
5261
|
RIGHTS_ID integer not null,
|
5262
|
REVTYPE tinyint,
|
5263
|
primary key (REV, TAXONBASE_ID, RIGHTS_ID)
|
5264
|
);
|
5265
|
|
5266
|
create table PUBLIC.TAXONINTERACTION_LANGUAGESTRING (
|
5267
|
TAXONINTERACTION_ID integer not null,
|
5268
|
DESCRIPTION_ID integer not null,
|
5269
|
DESCRIPTION_MAPKEY_ID integer not null,
|
5270
|
primary key (TAXONINTERACTION_ID, DESCRIPTION_MAPKEY_ID)
|
5271
|
);
|
5272
|
|
5273
|
create table PUBLIC.TAXONINTERACTION_LANGUAGESTRING_AUD (
|
5274
|
REV integer not null,
|
5275
|
TAXONINTERACTION_ID integer not null,
|
5276
|
DESCRIPTION_ID integer not null,
|
5277
|
DESCRIPTION_MAPKEY_ID integer not null,
|
5278
|
REVTYPE tinyint,
|
5279
|
primary key (REV, TAXONINTERACTION_ID, DESCRIPTION_ID, DESCRIPTION_MAPKEY_ID)
|
5280
|
);
|
5281
|
|
5282
|
create table PUBLIC.TAXONNAME (
|
5283
|
ID integer not null,
|
5284
|
CREATED timestamp,
|
5285
|
UUID varchar(36),
|
5286
|
UPDATED timestamp,
|
5287
|
LSID_AUTHORITY varchar(255),
|
5288
|
LSID_LSID varchar(255),
|
5289
|
LSID_NAMESPACE varchar(255),
|
5290
|
LSID_OBJECT varchar(255),
|
5291
|
LSID_REVISION varchar(255),
|
5292
|
PROTECTEDTITLECACHE boolean not null,
|
5293
|
TITLECACHE varchar(800),
|
5294
|
ACRONYM varchar(255),
|
5295
|
ANAMORPHIC boolean not null,
|
5296
|
APPENDEDPHRASE varchar(255),
|
5297
|
AUTHORSHIPCACHE varchar(255),
|
5298
|
BINOMHYBRID boolean not null,
|
5299
|
BREED varchar(255),
|
5300
|
CULTIVAREPITHET varchar(255),
|
5301
|
CULTIVARGROUPEPITHET varchar(255),
|
5302
|
FULLTITLECACHE varchar(800),
|
5303
|
GENUSORUNINOMIAL varchar(255),
|
5304
|
HYBRIDFORMULA boolean not null,
|
5305
|
INFRAGENERICEPITHET varchar(255),
|
5306
|
INFRASPECIFICEPITHET varchar(255),
|
5307
|
MONOMHYBRID boolean not null,
|
5308
|
NAMEAPPROBATION varchar(255),
|
5309
|
NAMECACHE varchar(255),
|
5310
|
NAMETYPE varchar(15),
|
5311
|
ORIGINALPUBLICATIONYEAR integer,
|
5312
|
PARSINGPROBLEM integer not null,
|
5313
|
PROBLEMENDS integer not null,
|
5314
|
PROBLEMSTARTS integer not null,
|
5315
|
PROTECTEDAUTHORSHIPCACHE boolean not null,
|
5316
|
PROTECTEDFULLTITLECACHE boolean not null,
|
5317
|
PROTECTEDNAMECACHE boolean not null,
|
5318
|
PUBLICATIONYEAR integer,
|
5319
|
SPECIFICEPITHET varchar(255),
|
5320
|
SUBGENUSAUTHORSHIP varchar(255),
|
5321
|
TRINOMHYBRID boolean not null,
|
5322
|
CREATEDBY_ID integer,
|
5323
|
UPDATEDBY_ID integer,
|
5324
|
BASIONYMAUTHORSHIP_ID integer,
|
5325
|
COMBINATIONAUTHORSHIP_ID integer,
|
5326
|
EXBASIONYMAUTHORSHIP_ID integer,
|
5327
|
EXCOMBINATIONAUTHORSHIP_ID integer,
|
5328
|
HOMOTYPICALGROUP_ID integer,
|
5329
|
INBASIONYMAUTHORSHIP_ID integer,
|
5330
|
INCOMBINATIONAUTHORSHIP_ID integer,
|
5331
|
RANK_ID integer,
|
5332
|
primary key (ID)
|
5333
|
);
|
5334
|
|
5335
|
create table PUBLIC.TAXONNAME_ANNOTATION (
|
5336
|
TAXONNAME_ID integer not null,
|
5337
|
ANNOTATIONS_ID integer not null,
|
5338
|
primary key (TAXONNAME_ID, ANNOTATIONS_ID)
|
5339
|
);
|
5340
|
|
5341
|
create table PUBLIC.TAXONNAME_ANNOTATION_AUD (
|
5342
|
REV integer not null,
|
5343
|
TAXONNAME_ID integer not null,
|
5344
|
ANNOTATIONS_ID integer not null,
|
5345
|
REVTYPE tinyint,
|
5346
|
primary key (REV, TAXONNAME_ID, ANNOTATIONS_ID)
|
5347
|
);
|
5348
|
|
5349
|
create table PUBLIC.TAXONNAME_AUD (
|
5350
|
ID integer not null,
|
5351
|
REV integer not null,
|
5352
|
REVTYPE tinyint,
|
5353
|
CREATED timestamp,
|
5354
|
UUID varchar(36),
|
5355
|
UPDATED timestamp,
|
5356
|
LSID_AUTHORITY varchar(255),
|
5357
|
LSID_LSID varchar(255),
|
5358
|
LSID_NAMESPACE varchar(255),
|
5359
|
LSID_OBJECT varchar(255),
|
5360
|
LSID_REVISION varchar(255),
|
5361
|
PROTECTEDTITLECACHE boolean,
|
5362
|
TITLECACHE varchar(800),
|
5363
|
ACRONYM varchar(255),
|
5364
|
ANAMORPHIC boolean,
|
5365
|
APPENDEDPHRASE varchar(255),
|
5366
|
AUTHORSHIPCACHE varchar(255),
|
5367
|
BINOMHYBRID boolean,
|
5368
|
BREED varchar(255),
|
5369
|
CULTIVAREPITHET varchar(255),
|
5370
|
CULTIVARGROUPEPITHET varchar(255),
|
5371
|
FULLTITLECACHE varchar(800),
|
5372
|
GENUSORUNINOMIAL varchar(255),
|
5373
|
HYBRIDFORMULA boolean,
|
5374
|
INFRAGENERICEPITHET varchar(255),
|
5375
|
INFRASPECIFICEPITHET varchar(255),
|
5376
|
MONOMHYBRID boolean,
|
5377
|
NAMEAPPROBATION varchar(255),
|
5378
|
NAMECACHE varchar(255),
|
5379
|
NAMETYPE varchar(15),
|
5380
|
ORIGINALPUBLICATIONYEAR integer,
|
5381
|
PARSINGPROBLEM integer,
|
5382
|
PROBLEMENDS integer,
|
5383
|
PROBLEMSTARTS integer,
|
5384
|
PROTECTEDAUTHORSHIPCACHE boolean,
|
5385
|
PROTECTEDFULLTITLECACHE boolean,
|
5386
|
PROTECTEDNAMECACHE boolean,
|
5387
|
PUBLICATIONYEAR integer,
|
5388
|
SPECIFICEPITHET varchar(255),
|
5389
|
SUBGENUSAUTHORSHIP varchar(255),
|
5390
|
TRINOMHYBRID boolean,
|
5391
|
CREATEDBY_ID integer,
|
5392
|
UPDATEDBY_ID integer,
|
5393
|
BASIONYMAUTHORSHIP_ID integer,
|
5394
|
COMBINATIONAUTHORSHIP_ID integer,
|
5395
|
EXBASIONYMAUTHORSHIP_ID integer,
|
5396
|
EXCOMBINATIONAUTHORSHIP_ID integer,
|
5397
|
HOMOTYPICALGROUP_ID integer,
|
5398
|
INBASIONYMAUTHORSHIP_ID integer,
|
5399
|
INCOMBINATIONAUTHORSHIP_ID integer,
|
5400
|
RANK_ID integer,
|
5401
|
primary key (ID, REV)
|
5402
|
);
|
5403
|
|
5404
|
create table PUBLIC.TAXONNAME_CREDIT (
|
5405
|
TAXONNAME_ID integer not null,
|
5406
|
CREDITS_ID integer not null,
|
5407
|
SORTINDEX integer not null,
|
5408
|
primary key (TAXONNAME_ID, SORTINDEX)
|
5409
|
);
|
5410
|
|
5411
|
create table PUBLIC.TAXONNAME_CREDIT_AUD (
|
5412
|
REV integer not null,
|
5413
|
TAXONNAME_ID integer not null,
|
5414
|
CREDITS_ID integer not null,
|
5415
|
SORTINDEX integer not null,
|
5416
|
REVTYPE tinyint,
|
5417
|
primary key (REV, TAXONNAME_ID, CREDITS_ID, SORTINDEX)
|
5418
|
);
|
5419
|
|
5420
|
create table PUBLIC.TAXONNAME_EXTENSION (
|
5421
|
TAXONNAME_ID integer not null,
|
5422
|
EXTENSIONS_ID integer not null,
|
5423
|
primary key (TAXONNAME_ID, EXTENSIONS_ID)
|
5424
|
);
|
5425
|
|
5426
|
create table PUBLIC.TAXONNAME_EXTENSION_AUD (
|
5427
|
REV integer not null,
|
5428
|
TAXONNAME_ID integer not null,
|
5429
|
EXTENSIONS_ID integer not null,
|
5430
|
REVTYPE tinyint,
|
5431
|
primary key (REV, TAXONNAME_ID, EXTENSIONS_ID)
|
5432
|
);
|
5433
|
|
5434
|
create table PUBLIC.TAXONNAME_EXTERNALLINK (
|
5435
|
TAXONNAME_ID integer not null,
|
5436
|
LINKS_ID integer not null,
|
5437
|
primary key (TAXONNAME_ID, LINKS_ID)
|
5438
|
);
|
5439
|
|
5440
|
create table PUBLIC.TAXONNAME_EXTERNALLINK_AUD (
|
5441
|
REV integer not null,
|
5442
|
TAXONNAME_ID integer not null,
|
5443
|
LINKS_ID integer not null,
|
5444
|
REVTYPE tinyint,
|
5445
|
primary key (REV, TAXONNAME_ID, LINKS_ID)
|
5446
|
);
|
5447
|
|
5448
|
create table PUBLIC.TAXONNAME_IDENTIFIER (
|
5449
|
TAXONNAME_ID integer not null,
|
5450
|
IDENTIFIERS_ID integer not null,
|
5451
|
SORTINDEX integer not null,
|
5452
|
primary key (TAXONNAME_ID, SORTINDEX)
|
5453
|
);
|
5454
|
|
5455
|
create table PUBLIC.TAXONNAME_IDENTIFIER_AUD (
|
5456
|
REV integer not null,
|
5457
|
TAXONNAME_ID integer not null,
|
5458
|
IDENTIFIERS_ID integer not null,
|
5459
|
SORTINDEX integer not null,
|
5460
|
REVTYPE tinyint,
|
5461
|
primary key (REV, TAXONNAME_ID, IDENTIFIERS_ID, SORTINDEX)
|
5462
|
);
|
5463
|
|
5464
|
create table PUBLIC.TAXONNAME_MARKER (
|
5465
|
TAXONNAME_ID integer not null,
|
5466
|
MARKERS_ID integer not null,
|
5467
|
primary key (TAXONNAME_ID, MARKERS_ID)
|
5468
|
);
|
5469
|
|
5470
|
create table PUBLIC.TAXONNAME_MARKER_AUD (
|
5471
|
REV integer not null,
|
5472
|
TAXONNAME_ID integer not null,
|
5473
|
MARKERS_ID integer not null,
|
5474
|
REVTYPE tinyint,
|
5475
|
primary key (REV, TAXONNAME_ID, MARKERS_ID)
|
5476
|
);
|
5477
|
|
5478
|
create table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE (
|
5479
|
TAXONNAME_ID integer not null,
|
5480
|
SOURCES_ID integer not null,
|
5481
|
primary key (TAXONNAME_ID, SOURCES_ID)
|
5482
|
);
|
5483
|
|
5484
|
create table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE_AUD (
|
5485
|
REV integer not null,
|
5486
|
TAXONNAME_ID integer not null,
|
5487
|
SOURCES_ID integer not null,
|
5488
|
REVTYPE tinyint,
|
5489
|
primary key (REV, TAXONNAME_ID, SOURCES_ID)
|
5490
|
);
|
5491
|
|
5492
|
create table PUBLIC.TAXONNAME_RIGHTSINFO (
|
5493
|
TAXONNAME_ID integer not null,
|
5494
|
RIGHTS_ID integer not null,
|
5495
|
primary key (TAXONNAME_ID, RIGHTS_ID)
|
5496
|
);
|
5497
|
|
5498
|
create table PUBLIC.TAXONNAME_RIGHTSINFO_AUD (
|
5499
|
REV integer not null,
|
5500
|
TAXONNAME_ID integer not null,
|
5501
|
RIGHTS_ID integer not null,
|
5502
|
REVTYPE tinyint,
|
5503
|
primary key (REV, TAXONNAME_ID, RIGHTS_ID)
|
5504
|
);
|
5505
|
|
5506
|
create table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE (
|
5507
|
TAXONNAME_ID integer not null,
|
5508
|
TYPEDESIGNATIONS_ID integer not null,
|
5509
|
primary key (TAXONNAME_ID, TYPEDESIGNATIONS_ID)
|
5510
|
);
|
5511
|
|
5512
|
create table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE_AUD (
|
5513
|
REV integer not null,
|
5514
|
TAXONNAME_ID integer not null,
|
5515
|
TYPEDESIGNATIONS_ID integer not null,
|
5516
|
REVTYPE tinyint,
|
5517
|
primary key (REV, TAXONNAME_ID, TYPEDESIGNATIONS_ID)
|
5518
|
);
|
5519
|
|
5520
|
create table PUBLIC.TAXONNODE (
|
5521
|
ID integer not null,
|
5522
|
CREATED timestamp,
|
5523
|
UUID varchar(36),
|
5524
|
UPDATED timestamp,
|
5525
|
COUNTCHILDREN integer not null,
|
5526
|
STATUS varchar(10),
|
5527
|
TREEINDEX varchar(255),
|
5528
|
CREATEDBY_ID integer,
|
5529
|
UPDATEDBY_ID integer,
|
5530
|
SOURCE_ID integer,
|
5531
|
CLASSIFICATION_ID integer,
|
5532
|
PARENT_ID integer,
|
5533
|
SYNONYMTOBEUSED_ID integer,
|
5534
|
TAXON_ID integer,
|
5535
|
SORTINDEX integer,
|
5536
|
primary key (ID)
|
5537
|
);
|
5538
|
|
5539
|
create table PUBLIC.TAXONNODE_ANNOTATION (
|
5540
|
TAXONNODE_ID integer not null,
|
5541
|
ANNOTATIONS_ID integer not null,
|
5542
|
primary key (TAXONNODE_ID, ANNOTATIONS_ID)
|
5543
|
);
|
5544
|
|
5545
|
create table PUBLIC.TAXONNODE_ANNOTATION_AUD (
|
5546
|
REV integer not null,
|
5547
|
TAXONNODE_ID integer not null,
|
5548
|
ANNOTATIONS_ID integer not null,
|
5549
|
REVTYPE tinyint,
|
5550
|
primary key (REV, TAXONNODE_ID, ANNOTATIONS_ID)
|
5551
|
);
|
5552
|
|
5553
|
create table PUBLIC.TAXONNODE_AUD (
|
5554
|
ID integer not null,
|
5555
|
REV integer not null,
|
5556
|
REVTYPE tinyint,
|
5557
|
CREATED timestamp,
|
5558
|
UUID varchar(36),
|
5559
|
UPDATED timestamp,
|
5560
|
COUNTCHILDREN integer,
|
5561
|
STATUS varchar(10),
|
5562
|
TREEINDEX varchar(255),
|
5563
|
SORTINDEX integer,
|
5564
|
CREATEDBY_ID integer,
|
5565
|
UPDATEDBY_ID integer,
|
5566
|
SOURCE_ID integer,
|
5567
|
CLASSIFICATION_ID integer,
|
5568
|
PARENT_ID integer,
|
5569
|
SYNONYMTOBEUSED_ID integer,
|
5570
|
TAXON_ID integer,
|
5571
|
primary key (ID, REV)
|
5572
|
);
|
5573
|
|
5574
|
create table PUBLIC.TAXONNODE_MARKER (
|
5575
|
TAXONNODE_ID integer not null,
|
5576
|
MARKERS_ID integer not null,
|
5577
|
primary key (TAXONNODE_ID, MARKERS_ID)
|
5578
|
);
|
5579
|
|
5580
|
create table PUBLIC.TAXONNODE_MARKER_AUD (
|
5581
|
REV integer not null,
|
5582
|
TAXONNODE_ID integer not null,
|
5583
|
MARKERS_ID integer not null,
|
5584
|
REVTYPE tinyint,
|
5585
|
primary key (REV, TAXONNODE_ID, MARKERS_ID)
|
5586
|
);
|
5587
|
|
5588
|
create table PUBLIC.TAXONNODE_STATUSNOTE (
|
5589
|
TAXONNODE_ID integer not null,
|
5590
|
STATUSNOTE_ID integer not null,
|
5591
|
STATUSNOTE_KEY integer not null,
|
5592
|
primary key (TAXONNODE_ID, STATUSNOTE_KEY)
|
5593
|
);
|
5594
|
|
5595
|
create table PUBLIC.TAXONNODE_STATUSNOTE_AUD (
|
5596
|
REV integer not null,
|
5597
|
TAXONNODE_ID integer not null,
|
5598
|
STATUSNOTE_ID integer not null,
|
5599
|
STATUSNOTE_KEY integer not null,
|
5600
|
REVTYPE tinyint,
|
5601
|
primary key (REV, TAXONNODE_ID, STATUSNOTE_ID, STATUSNOTE_KEY)
|
5602
|
);
|
5603
|
|
5604
|
create table PUBLIC.TAXONNODEAGENTRELATION (
|
5605
|
ID integer not null,
|
5606
|
CREATED timestamp,
|
5607
|
UUID varchar(36),
|
5608
|
UPDATED timestamp,
|
5609
|
CREATEDBY_ID integer,
|
5610
|
UPDATEDBY_ID integer,
|
5611
|
AGENT_ID integer,
|
5612
|
TAXONNODE_ID integer,
|
5613
|
TYPE_ID integer,
|
5614
|
primary key (ID)
|
5615
|
);
|
5616
|
|
5617
|
create table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION (
|
5618
|
TAXONNODEAGENTRELATION_ID integer not null,
|
5619
|
ANNOTATIONS_ID integer not null,
|
5620
|
primary key (TAXONNODEAGENTRELATION_ID, ANNOTATIONS_ID)
|
5621
|
);
|
5622
|
|
5623
|
create table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION_AUD (
|
5624
|
REV integer not null,
|
5625
|
TAXONNODEAGENTRELATION_ID integer not null,
|
5626
|
ANNOTATIONS_ID integer not null,
|
5627
|
REVTYPE tinyint,
|
5628
|
primary key (REV, TAXONNODEAGENTRELATION_ID, ANNOTATIONS_ID)
|
5629
|
);
|
5630
|
|
5631
|
create table PUBLIC.TAXONNODEAGENTRELATION_AUD (
|
5632
|
ID integer not null,
|
5633
|
REV integer not null,
|
5634
|
REVTYPE tinyint,
|
5635
|
CREATED timestamp,
|
5636
|
UUID varchar(36),
|
5637
|
UPDATED timestamp,
|
5638
|
CREATEDBY_ID integer,
|
5639
|
UPDATEDBY_ID integer,
|
5640
|
AGENT_ID integer,
|
5641
|
TAXONNODE_ID integer,
|
5642
|
TYPE_ID integer,
|
5643
|
primary key (ID, REV)
|
5644
|
);
|
5645
|
|
5646
|
create table PUBLIC.TAXONNODEAGENTRELATION_MARKER (
|
5647
|
TAXONNODEAGENTRELATION_ID integer not null,
|
5648
|
MARKERS_ID integer not null,
|
5649
|
primary key (TAXONNODEAGENTRELATION_ID, MARKERS_ID)
|
5650
|
);
|
5651
|
|
5652
|
create table PUBLIC.TAXONNODEAGENTRELATION_MARKER_AUD (
|
5653
|
REV integer not null,
|
5654
|
TAXONNODEAGENTRELATION_ID integer not null,
|
5655
|
MARKERS_ID integer not null,
|
5656
|
REVTYPE tinyint,
|
5657
|
primary key (REV, TAXONNODEAGENTRELATION_ID, MARKERS_ID)
|
5658
|
);
|
5659
|
|
5660
|
create table PUBLIC.TAXONOMICOPERATION (
|
5661
|
ID integer not null,
|
5662
|
CREATED timestamp,
|
5663
|
UUID varchar(36),
|
5664
|
UPDATED timestamp,
|
5665
|
TIMEPERIOD_END varchar(255),
|
5666
|
TIMEPERIOD_FREETEXT varchar(255),
|
5667
|
TIMEPERIOD_START varchar(255),
|
5668
|
TYPE varchar(20),
|
5669
|
CREATEDBY_ID integer,
|
5670
|
UPDATEDBY_ID integer,
|
5671
|
primary key (ID)
|
5672
|
);
|
5673
|
|
5674
|
create table PUBLIC.TAXONOMICOPERATION_AUD (
|
5675
|
ID integer not null,
|
5676
|
REV integer not null,
|
5677
|
REVTYPE tinyint,
|
5678
|
CREATED timestamp,
|
5679
|
UUID varchar(36),
|
5680
|
UPDATED timestamp,
|
5681
|
TIMEPERIOD_END varchar(255),
|
5682
|
TIMEPERIOD_FREETEXT varchar(255),
|
5683
|
TIMEPERIOD_START varchar(255),
|
5684
|
TYPE varchar(20),
|
5685
|
CREATEDBY_ID integer,
|
5686
|
UPDATEDBY_ID integer,
|
5687
|
primary key (ID, REV)
|
5688
|
);
|
5689
|
|
5690
|
create table PUBLIC.TAXONRELATIONSHIP (
|
5691
|
ID integer not null,
|
5692
|
CREATED timestamp,
|
5693
|
UUID varchar(36),
|
5694
|
UPDATED timestamp,
|
5695
|
DOUBTFUL boolean not null,
|
5696
|
CREATEDBY_ID integer,
|
5697
|
UPDATEDBY_ID integer,
|
5698
|
SOURCE_ID integer,
|
5699
|
OPERATION_ID integer,
|
5700
|
RELATEDFROM_ID integer,
|
5701
|
RELATEDTO_ID integer,
|
5702
|
TYPE_ID integer,
|
5703
|
primary key (ID)
|
5704
|
);
|
5705
|
|
5706
|
create table PUBLIC.TAXONRELATIONSHIP_ANNOTATION (
|
5707
|
TAXONRELATIONSHIP_ID integer not null,
|
5708
|
ANNOTATIONS_ID integer not null,
|
5709
|
primary key (TAXONRELATIONSHIP_ID, ANNOTATIONS_ID)
|
5710
|
);
|
5711
|
|
5712
|
create table PUBLIC.TAXONRELATIONSHIP_ANNOTATION_AUD (
|
5713
|
REV integer not null,
|
5714
|
TAXONRELATIONSHIP_ID integer not null,
|
5715
|
ANNOTATIONS_ID integer not null,
|
5716
|
REVTYPE tinyint,
|
5717
|
primary key (REV, TAXONRELATIONSHIP_ID, ANNOTATIONS_ID)
|
5718
|
);
|
5719
|
|
5720
|
create table PUBLIC.TAXONRELATIONSHIP_AUD (
|
5721
|
ID integer not null,
|
5722
|
REV integer not null,
|
5723
|
REVTYPE tinyint,
|
5724
|
CREATED timestamp,
|
5725
|
UUID varchar(36),
|
5726
|
UPDATED timestamp,
|
5727
|
DOUBTFUL boolean,
|
5728
|
CREATEDBY_ID integer,
|
5729
|
UPDATEDBY_ID integer,
|
5730
|
SOURCE_ID integer,
|
5731
|
OPERATION_ID integer,
|
5732
|
RELATEDFROM_ID integer,
|
5733
|
RELATEDTO_ID integer,
|
5734
|
TYPE_ID integer,
|
5735
|
primary key (ID, REV)
|
5736
|
);
|
5737
|
|
5738
|
create table PUBLIC.TAXONRELATIONSHIP_MARKER (
|
5739
|
TAXONRELATIONSHIP_ID integer not null,
|
5740
|
MARKERS_ID integer not null,
|
5741
|
primary key (TAXONRELATIONSHIP_ID, MARKERS_ID)
|
5742
|
);
|
5743
|
|
5744
|
create table PUBLIC.TAXONRELATIONSHIP_MARKER_AUD (
|
5745
|
REV integer not null,
|
5746
|
TAXONRELATIONSHIP_ID integer not null,
|
5747
|
MARKERS_ID integer not null,
|
5748
|
REVTYPE tinyint,
|
5749
|
primary key (REV, TAXONRELATIONSHIP_ID, MARKERS_ID)
|
5750
|
);
|
5751
|
|
5752
|
create table PUBLIC.TERMCOLLECTION (
|
5753
|
DTYPE varchar(31) not null,
|
5754
|
ID integer not null,
|
5755
|
CREATED timestamp,
|
5756
|
UUID varchar(36),
|
5757
|
UPDATED timestamp,
|
5758
|
LSID_AUTHORITY varchar(255),
|
5759
|
LSID_LSID varchar(255),
|
5760
|
LSID_NAMESPACE varchar(255),
|
5761
|
LSID_OBJECT varchar(255),
|
5762
|
LSID_REVISION varchar(255),
|
5763
|
PROTECTEDTITLECACHE boolean not null,
|
5764
|
TITLECACHE varchar(800),
|
5765
|
TERMTYPE varchar(255),
|
5766
|
URI clob,
|
5767
|
ALLOWDUPLICATES boolean not null,
|
5768
|
ISFLAT boolean not null,
|
5769
|
ORDERRELEVANT boolean not null,
|
5770
|
AUTHORITYTYPE varchar(10),
|
5771
|
EXTERNALID varchar(255),
|
5772
|
EXTERNALLINK clob,
|
5773
|
IMPORTMETHOD varchar(30),
|
5774
|
LASTRETRIEVED timestamp,
|
5775
|
TERMSOURCEURI clob,
|
5776
|
CREATEDBY_ID integer,
|
5777
|
UPDATEDBY_ID integer,
|
5778
|
ROOT_ID integer,
|
5779
|
primary key (ID)
|
5780
|
);
|
5781
|
|
5782
|
create table PUBLIC.TERMCOLLECTION_ANNOTATION (
|
5783
|
TERMCOLLECTION_ID integer not null,
|
5784
|
ANNOTATIONS_ID integer not null,
|
5785
|
primary key (TERMCOLLECTION_ID, ANNOTATIONS_ID)
|
5786
|
);
|
5787
|
|
5788
|
create table PUBLIC.TERMCOLLECTION_ANNOTATION_AUD (
|
5789
|
REV integer not null,
|
5790
|
TERMCOLLECTION_ID integer not null,
|
5791
|
ANNOTATIONS_ID integer not null,
|
5792
|
REVTYPE tinyint,
|
5793
|
primary key (REV, TERMCOLLECTION_ID, ANNOTATIONS_ID)
|
5794
|
);
|
5795
|
|
5796
|
create table PUBLIC.TERMCOLLECTION_AUD (
|
5797
|
ID integer not null,
|
5798
|
REV integer not null,
|
5799
|
DTYPE varchar(31) not null,
|
5800
|
REVTYPE tinyint,
|
5801
|
CREATED timestamp,
|
5802
|
UUID varchar(36),
|
5803
|
UPDATED timestamp,
|
5804
|
LSID_AUTHORITY varchar(255),
|
5805
|
LSID_LSID varchar(255),
|
5806
|
LSID_NAMESPACE varchar(255),
|
5807
|
LSID_OBJECT varchar(255),
|
5808
|
LSID_REVISION varchar(255),
|
5809
|
PROTECTEDTITLECACHE boolean,
|
5810
|
TITLECACHE varchar(800),
|
5811
|
TERMTYPE varchar(255),
|
5812
|
URI clob,
|
5813
|
ALLOWDUPLICATES boolean,
|
5814
|
ISFLAT boolean,
|
5815
|
ORDERRELEVANT boolean,
|
5816
|
CREATEDBY_ID integer,
|
5817
|
UPDATEDBY_ID integer,
|
5818
|
ROOT_ID integer,
|
5819
|
AUTHORITYTYPE varchar(10),
|
5820
|
EXTERNALID varchar(255),
|
5821
|
EXTERNALLINK clob,
|
5822
|
IMPORTMETHOD varchar(30),
|
5823
|
LASTRETRIEVED timestamp,
|
5824
|
TERMSOURCEURI clob,
|
5825
|
primary key (ID, REV)
|
5826
|
);
|
5827
|
|
5828
|
create table PUBLIC.TERMCOLLECTION_CREDIT (
|
5829
|
TERMCOLLECTION_ID integer not null,
|
5830
|
CREDITS_ID integer not null,
|
5831
|
SORTINDEX integer not null,
|
5832
|
primary key (TERMCOLLECTION_ID, SORTINDEX)
|
5833
|
);
|
5834
|
|
5835
|
create table PUBLIC.TERMCOLLECTION_CREDIT_AUD (
|
5836
|
REV integer not null,
|
5837
|
TERMCOLLECTION_ID integer not null,
|
5838
|
CREDITS_ID integer not null,
|
5839
|
SORTINDEX integer not null,
|
5840
|
REVTYPE tinyint,
|
5841
|
primary key (REV, TERMCOLLECTION_ID, CREDITS_ID, SORTINDEX)
|
5842
|
);
|
5843
|
|
5844
|
create table PUBLIC.TERMCOLLECTION_EXTENSION (
|
5845
|
TERMCOLLECTION_ID integer not null,
|
5846
|
EXTENSIONS_ID integer not null,
|
5847
|
primary key (TERMCOLLECTION_ID, EXTENSIONS_ID)
|
5848
|
);
|
5849
|
|
5850
|
create table PUBLIC.TERMCOLLECTION_EXTENSION_AUD (
|
5851
|
REV integer not null,
|
5852
|
TERMCOLLECTION_ID integer not null,
|
5853
|
EXTENSIONS_ID integer not null,
|
5854
|
REVTYPE tinyint,
|
5855
|
primary key (REV, TERMCOLLECTION_ID, EXTENSIONS_ID)
|
5856
|
);
|
5857
|
|
5858
|
create table PUBLIC.TERMCOLLECTION_EXTERNALLINK (
|
5859
|
TERMCOLLECTION_ID integer not null,
|
5860
|
LINKS_ID integer not null,
|
5861
|
primary key (TERMCOLLECTION_ID, LINKS_ID)
|
5862
|
);
|
5863
|
|
5864
|
create table PUBLIC.TERMCOLLECTION_EXTERNALLINK_AUD (
|
5865
|
REV integer not null,
|
5866
|
TERMCOLLECTION_ID integer not null,
|
5867
|
LINKS_ID integer not null,
|
5868
|
REVTYPE tinyint,
|
5869
|
primary key (REV, TERMCOLLECTION_ID, LINKS_ID)
|
5870
|
);
|
5871
|
|
5872
|
create table PUBLIC.TERMCOLLECTION_IDENTIFIER (
|
5873
|
TERMCOLLECTION_ID integer not null,
|
5874
|
IDENTIFIERS_ID integer not null,
|
5875
|
SORTINDEX integer not null,
|
5876
|
primary key (TERMCOLLECTION_ID, SORTINDEX)
|
5877
|
);
|
5878
|
|
5879
|
create table PUBLIC.TERMCOLLECTION_IDENTIFIER_AUD (
|
5880
|
REV integer not null,
|
5881
|
TERMCOLLECTION_ID integer not null,
|
5882
|
IDENTIFIERS_ID integer not null,
|
5883
|
SORTINDEX integer not null,
|
5884
|
REVTYPE tinyint,
|
5885
|
primary key (REV, TERMCOLLECTION_ID, IDENTIFIERS_ID, SORTINDEX)
|
5886
|
);
|
5887
|
|
5888
|
create table PUBLIC.TERMCOLLECTION_MARKER (
|
5889
|
TERMCOLLECTION_ID integer not null,
|
5890
|
MARKERS_ID integer not null,
|
5891
|
primary key (TERMCOLLECTION_ID, MARKERS_ID)
|
5892
|
);
|
5893
|
|
5894
|
create table PUBLIC.TERMCOLLECTION_MARKER_AUD (
|
5895
|
REV integer not null,
|
5896
|
TERMCOLLECTION_ID integer not null,
|
5897
|
MARKERS_ID integer not null,
|
5898
|
REVTYPE tinyint,
|
5899
|
primary key (REV, TERMCOLLECTION_ID, MARKERS_ID)
|
5900
|
);
|
5901
|
|
5902
|
create table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE (
|
5903
|
TERMCOLLECTION_ID integer not null,
|
5904
|
SOURCES_ID integer not null,
|
5905
|
primary key (TERMCOLLECTION_ID, SOURCES_ID)
|
5906
|
);
|
5907
|
|
5908
|
create table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE_AUD (
|
5909
|
REV integer not null,
|
5910
|
TERMCOLLECTION_ID integer not null,
|
5911
|
SOURCES_ID integer not null,
|
5912
|
REVTYPE tinyint,
|
5913
|
primary key (REV, TERMCOLLECTION_ID, SOURCES_ID)
|
5914
|
);
|
5915
|
|
5916
|
create table PUBLIC.TERMCOLLECTION_REPRESENTATION (
|
5917
|
TERMCOLLECTION_ID integer not null,
|
5918
|
REPRESENTATIONS_ID integer not null,
|
5919
|
primary key (TERMCOLLECTION_ID, REPRESENTATIONS_ID)
|
5920
|
);
|
5921
|
|
5922
|
create table PUBLIC.TERMCOLLECTION_REPRESENTATION_AUD (
|
5923
|
REV integer not null,
|
5924
|
TERMCOLLECTION_ID integer not null,
|
5925
|
REPRESENTATIONS_ID integer not null,
|
5926
|
REVTYPE tinyint,
|
5927
|
primary key (REV, TERMCOLLECTION_ID, REPRESENTATIONS_ID)
|
5928
|
);
|
5929
|
|
5930
|
create table PUBLIC.TERMCOLLECTION_RIGHTSINFO (
|
5931
|
TERMCOLLECTION_ID integer not null,
|
5932
|
RIGHTS_ID integer not null,
|
5933
|
primary key (TERMCOLLECTION_ID, RIGHTS_ID)
|
5934
|
);
|
5935
|
|
5936
|
create table PUBLIC.TERMCOLLECTION_RIGHTSINFO_AUD (
|
5937
|
REV integer not null,
|
5938
|
TERMCOLLECTION_ID integer not null,
|
5939
|
RIGHTS_ID integer not null,
|
5940
|
REVTYPE tinyint,
|
5941
|
primary key (REV, TERMCOLLECTION_ID, RIGHTS_ID)
|
5942
|
);
|
5943
|
|
5944
|
create table PUBLIC.TERMNODE_INAPPLICABLEIF (
|
5945
|
TERMNODE_ID integer not null,
|
5946
|
INAPPLICABLEIF_ID integer not null,
|
5947
|
primary key (TERMNODE_ID, INAPPLICABLEIF_ID)
|
5948
|
);
|
5949
|
|
5950
|
create table PUBLIC.TERMNODE_INAPPLICABLEIF_AUD (
|
5951
|
REV integer not null,
|
5952
|
TERMNODE_ID integer not null,
|
5953
|
INAPPLICABLEIF_ID integer not null,
|
5954
|
REVTYPE tinyint,
|
5955
|
primary key (REV, TERMNODE_ID, INAPPLICABLEIF_ID)
|
5956
|
);
|
5957
|
|
5958
|
create table PUBLIC.TERMNODE_ONLYAPPLICABLEIF (
|
5959
|
TERMNODE_ID integer not null,
|
5960
|
ONLYAPPLICABLEIF_ID integer not null,
|
5961
|
primary key (TERMNODE_ID, ONLYAPPLICABLEIF_ID)
|
5962
|
);
|
5963
|
|
5964
|
create table PUBLIC.TERMNODE_ONLYAPPLICABLEIF_AUD (
|
5965
|
REV integer not null,
|
5966
|
TERMNODE_ID integer not null,
|
5967
|
ONLYAPPLICABLEIF_ID integer not null,
|
5968
|
REVTYPE tinyint,
|
5969
|
primary key (REV, TERMNODE_ID, ONLYAPPLICABLEIF_ID)
|
5970
|
);
|
5971
|
|
5972
|
create table PUBLIC.TERMRELATION (
|
5973
|
DTYPE varchar(31) not null,
|
5974
|
ID integer not null,
|
5975
|
CREATED timestamp,
|
5976
|
UUID varchar(36),
|
5977
|
UPDATED timestamp,
|
5978
|
TERMTYPE varchar(255),
|
5979
|
TREEINDEX varchar(255),
|
5980
|
CREATEDBY_ID integer,
|
5981
|
UPDATEDBY_ID integer,
|
5982
|
GRAPH_ID integer,
|
5983
|
TERM_ID integer,
|
5984
|
PARENT_ID integer,
|
5985
|
TOTERM_ID integer,
|
5986
|
SORTINDEX integer,
|
5987
|
primary key (ID)
|
5988
|
);
|
5989
|
|
5990
|
create table PUBLIC.TERMRELATION_AUD (
|
5991
|
ID integer not null,
|
5992
|
REV integer not null,
|
5993
|
DTYPE varchar(31) not null,
|
5994
|
REVTYPE tinyint,
|
5995
|
CREATED timestamp,
|
5996
|
UUID varchar(36),
|
5997
|
UPDATED timestamp,
|
5998
|
TERMTYPE varchar(255),
|
5999
|
CREATEDBY_ID integer,
|
6000
|
UPDATEDBY_ID integer,
|
6001
|
GRAPH_ID integer,
|
6002
|
TERM_ID integer,
|
6003
|
TOTERM_ID integer,
|
6004
|
TREEINDEX varchar(255),
|
6005
|
SORTINDEX integer,
|
6006
|
PARENT_ID integer,
|
6007
|
primary key (ID, REV)
|
6008
|
);
|
6009
|
|
6010
|
create table PUBLIC.TYPEDESIGNATIONBASE (
|
6011
|
DTYPE varchar(31) not null,
|
6012
|
ID integer not null,
|
6013
|
CREATED timestamp,
|
6014
|
UUID varchar(36),
|
6015
|
UPDATED timestamp,
|
6016
|
NOTDESIGNATED boolean not null,
|
6017
|
CONSERVEDTYPE boolean,
|
6018
|
REJECTEDTYPE boolean,
|
6019
|
ISVERBATIM boolean,
|
6020
|
CREATEDBY_ID integer,
|
6021
|
UPDATEDBY_ID integer,
|
6022
|
DESIGNATIONSOURCE_ID integer,
|
6023
|
TYPESTATUS_ID integer,
|
6024
|
TYPENAME_ID integer,
|
6025
|
TYPESPECIMEN_ID integer,
|
6026
|
primary key (ID)
|
6027
|
);
|
6028
|
|
6029
|
create table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION (
|
6030
|
TYPEDESIGNATIONBASE_ID integer not null,
|
6031
|
ANNOTATIONS_ID integer not null,
|
6032
|
primary key (TYPEDESIGNATIONBASE_ID, ANNOTATIONS_ID)
|
6033
|
);
|
6034
|
|
6035
|
create table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION_AUD (
|
6036
|
REV integer not null,
|
6037
|
TYPEDESIGNATIONBASE_ID integer not null,
|
6038
|
ANNOTATIONS_ID integer not null,
|
6039
|
REVTYPE tinyint,
|
6040
|
primary key (REV, TYPEDESIGNATIONBASE_ID, ANNOTATIONS_ID)
|
6041
|
);
|
6042
|
|
6043
|
create table PUBLIC.TYPEDESIGNATIONBASE_AUD (
|
6044
|
ID integer not null,
|
6045
|
REV integer not null,
|
6046
|
DTYPE varchar(31) not null,
|
6047
|
REVTYPE tinyint,
|
6048
|
CREATED timestamp,
|
6049
|
UUID varchar(36),
|
6050
|
UPDATED timestamp,
|
6051
|
NOTDESIGNATED boolean,
|
6052
|
CREATEDBY_ID integer,
|
6053
|
UPDATEDBY_ID integer,
|
6054
|
DESIGNATIONSOURCE_ID integer,
|
6055
|
TYPESTATUS_ID integer,
|
6056
|
ISVERBATIM boolean,
|
6057
|
CONSERVEDTYPE boolean,
|
6058
|
REJECTEDTYPE boolean,
|
6059
|
TYPENAME_ID integer,
|
6060
|
TYPESPECIMEN_ID integer,
|
6061
|
primary key (ID, REV)
|
6062
|
);
|
6063
|
|
6064
|
create table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING (
|
6065
|
TEXTUALTYPEDESIGNATION_ID integer not null,
|
6066
|
TEXT_ID integer not null,
|
6067
|
TEXT_MAPKEY_ID integer not null,
|
6068
|
primary key (TEXTUALTYPEDESIGNATION_ID, TEXT_MAPKEY_ID)
|
6069
|
);
|
6070
|
|
6071
|
create table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING_AUD (
|
6072
|
REV integer not null,
|
6073
|
TEXTUALTYPEDESIGNATION_ID integer not null,
|
6074
|
TEXT_ID integer not null,
|
6075
|
TEXT_MAPKEY_ID integer not null,
|
6076
|
REVTYPE tinyint,
|
6077
|
primary key (REV, TEXTUALTYPEDESIGNATION_ID, TEXT_ID, TEXT_MAPKEY_ID)
|
6078
|
);
|
6079
|
|
6080
|
create table PUBLIC.TYPEDESIGNATIONBASE_MARKER (
|
6081
|
TYPEDESIGNATIONBASE_ID integer not null,
|
6082
|
MARKERS_ID integer not null,
|
6083
|
primary key (TYPEDESIGNATIONBASE_ID, MARKERS_ID)
|
6084
|
);
|
6085
|
|
6086
|
create table PUBLIC.TYPEDESIGNATIONBASE_MARKER_AUD (
|
6087
|
REV integer not null,
|
6088
|
TYPEDESIGNATIONBASE_ID integer not null,
|
6089
|
MARKERS_ID integer not null,
|
6090
|
REVTYPE tinyint,
|
6091
|
primary key (REV, TYPEDESIGNATIONBASE_ID, MARKERS_ID)
|
6092
|
);
|
6093
|
|
6094
|
create table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE (
|
6095
|
TYPEDESIGNATIONBASE_ID integer not null,
|
6096
|
SOURCES_ID integer not null,
|
6097
|
primary key (TYPEDESIGNATIONBASE_ID, SOURCES_ID)
|
6098
|
);
|
6099
|
|
6100
|
create table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE_AUD (
|
6101
|
REV integer not null,
|
6102
|
TYPEDESIGNATIONBASE_ID integer not null,
|
6103
|
SOURCES_ID integer not null,
|
6104
|
REVTYPE tinyint,
|
6105
|
primary key (REV, TYPEDESIGNATIONBASE_ID, SOURCES_ID)
|
6106
|
);
|
6107
|
|
6108
|
create table PUBLIC.USERACCOUNT (
|
6109
|
ID integer not null,
|
6110
|
CREATED timestamp,
|
6111
|
UUID varchar(36),
|
6112
|
ACCOUNTNONEXPIRED boolean not null,
|
6113
|
ACCOUNTNONLOCKED boolean not null,
|
6114
|
CREDENTIALSNONEXPIRED boolean not null,
|
6115
|
EMAILADDRESS varchar(255),
|
6116
|
ENABLED boolean not null,
|
6117
|
PASSWORD varchar(255),
|
6118
|
SALT varchar(255),
|
6119
|
USERNAME varchar(255),
|
6120
|
CREATEDBY_ID integer,
|
6121
|
PERSON_ID integer,
|
6122
|
primary key (ID)
|
6123
|
);
|
6124
|
|
6125
|
create table PUBLIC.USERACCOUNT_AUD (
|
6126
|
ID integer not null,
|
6127
|
REV integer not null,
|
6128
|
REVTYPE tinyint,
|
6129
|
CREATED timestamp,
|
6130
|
UUID varchar(36),
|
6131
|
ACCOUNTNONEXPIRED boolean,
|
6132
|
ACCOUNTNONLOCKED boolean,
|
6133
|
CREDENTIALSNONEXPIRED boolean,
|
6134
|
EMAILADDRESS varchar(255),
|
6135
|
ENABLED boolean,
|
6136
|
USERNAME varchar(255),
|
6137
|
CREATEDBY_ID integer,
|
6138
|
PERSON_ID integer,
|
6139
|
primary key (ID, REV)
|
6140
|
);
|
6141
|
|
6142
|
create table PUBLIC.USERACCOUNT_AUTHORITY (
|
6143
|
USER_ID integer not null,
|
6144
|
AUTHORITIES_ID integer not null,
|
6145
|
primary key (USER_ID, AUTHORITIES_ID)
|
6146
|
);
|
6147
|
|
6148
|
create table PUBLIC.USERACCOUNT_GRANTEDAUTHORITYIMPL (
|
6149
|
USER_ID integer not null,
|
6150
|
GRANTEDAUTHORITIES_ID integer not null,
|
6151
|
primary key (USER_ID, GRANTEDAUTHORITIES_ID)
|
6152
|
);
|
6153
|
|
6154
|
create table PUBLIC.USERACCOUNT_PERMISSIONGROUP (
|
6155
|
MEMBERS_ID integer not null,
|
6156
|
GROUPS_ID integer not null,
|
6157
|
primary key (MEMBERS_ID, GROUPS_ID)
|
6158
|
);
|
6159
|
|
6160
|
alter table PUBLIC.ADDRESS
|
6161
|
add constraint UK_9clb583wvapp1ci5oeisrt61 unique (UUID);
|
6162
|
create index PUBLIC.agentTitleCacheIndex on PUBLIC.AGENTBASE (TITLECACHE);
|
6163
|
|
6164
|
alter table PUBLIC.AGENTBASE
|
6165
|
add constraint UK_4ei0rlutaalnvnubcnow3ef1 unique (UUID);
|
6166
|
|
6167
|
alter table PUBLIC.AGENTBASE_ADDRESS
|
6168
|
add constraint UK_cvdiogpr0laels61vj8bnc4ng unique (CONTACT_ADDRESSES_ID);
|
6169
|
|
6170
|
alter table PUBLIC.AGENTBASE_ANNOTATION
|
6171
|
add constraint UK_6s0cudxh96hovi0u0rucvaulp unique (ANNOTATIONS_ID);
|
6172
|
|
6173
|
alter table PUBLIC.AGENTBASE_CREDIT
|
6174
|
add constraint UK_9y4svg7lhlc4uveq3syw11j36 unique (CREDITS_ID);
|
6175
|
|
6176
|
alter table PUBLIC.AGENTBASE_EXTENSION
|
6177
|
add constraint UK_rem00q8m9f46ejhjqnptpt7hk unique (EXTENSIONS_ID);
|
6178
|
|
6179
|
alter table PUBLIC.AGENTBASE_EXTERNALLINK
|
6180
|
add constraint UK_8cjw4ns8v404ceichpxmkkcqt unique (LINKS_ID);
|
6181
|
|
6182
|
alter table PUBLIC.AGENTBASE_IDENTIFIER
|
6183
|
add constraint UK_9o5liw6mq29n2oes8pkfj4l4a unique (IDENTIFIERS_ID);
|
6184
|
|
6185
|
alter table PUBLIC.AGENTBASE_MARKER
|
6186
|
add constraint UK_q2aychk6t9tcrxfuuy1i4l5wb unique (MARKERS_ID);
|
6187
|
|
6188
|
alter table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE
|
6189
|
add constraint UK_oaeqnvcpn9ylgvbva7n39xhmh unique (SOURCES_ID);
|
6190
|
|
6191
|
alter table PUBLIC.AMPLIFICATION
|
6192
|
add constraint UK_h4ko0h40lll1pvyaaulh4naav unique (UUID);
|
6193
|
|
6194
|
alter table PUBLIC.AMPLIFICATION_ANNOTATION
|
6195
|
add constraint UK_3dh4jvnl5ayu9vegv784ncahu unique (ANNOTATIONS_ID);
|
6196
|
|
6197
|
alter table PUBLIC.AMPLIFICATION_MARKER
|
6198
|
add constraint UK_opkihlv8e7lba21tykv7v7hh6 unique (MARKERS_ID);
|
6199
|
|
6200
|
alter table PUBLIC.AMPLIFICATIONRESULT
|
6201
|
add constraint UK_73e8bdi0f8fdsenryj6jcn5rs unique (UUID);
|
6202
|
|
6203
|
alter table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION
|
6204
|
add constraint UK_jceqjpdtpx9mt7qvrkr9tbs0q unique (ANNOTATIONS_ID);
|
6205
|
|
6206
|
alter table PUBLIC.AMPLIFICATIONRESULT_MARKER
|
6207
|
add constraint UK_7n9vx2thf0flns8c58bexyv6j unique (MARKERS_ID);
|
6208
|
|
6209
|
alter table PUBLIC.ANNOTATION
|
6210
|
add constraint UK_mu34eryd59s0hn00cu5tx3ron unique (UUID);
|
6211
|
|
6212
|
alter table PUBLIC.ANNOTATION_ANNOTATION
|
6213
|
add constraint UK_diab6q8r8tc0w6daye8dr6tdi unique (ANNOTATIONS_ID);
|
6214
|
|
6215
|
alter table PUBLIC.ANNOTATION_MARKER
|
6216
|
add constraint UK_jycj0vang3ijurbbp4toejxnq unique (MARKERS_ID);
|
6217
|
|
6218
|
alter table PUBLIC.AUTHORITY
|
6219
|
add constraint UK_8xsrgqm96m9lrarc6oo4og4hp unique (UUID);
|
6220
|
|
6221
|
alter table PUBLIC.CDMLINK
|
6222
|
add constraint UK_p7g8aby1jwbukospmq8gwki37 unique (UUID);
|
6223
|
|
6224
|
alter table PUBLIC.CDMMETADATA
|
6225
|
add constraint UK_99gyqm5udalalfmwbvralhh92 unique (UUID);
|
6226
|
|
6227
|
alter table PUBLIC.CLASSIFICATION
|
6228
|
add constraint UK_nqawfsih67rp1ptf6ld6fr3g4 unique (UUID);
|
6229
|
|
6230
|
alter table PUBLIC.CLASSIFICATION_ANNOTATION
|
6231
|
add constraint UK_sl8wuile23wqvex1rbfa7g3da unique (ANNOTATIONS_ID);
|
6232
|
|
6233
|
alter table PUBLIC.CLASSIFICATION_CREDIT
|
6234
|
add constraint UK_99wcpwd19nw7vrcpfc0br5v1a unique (CREDITS_ID);
|
6235
|
|
6236
|
alter table PUBLIC.CLASSIFICATION_DESCRIPTION
|
6237
|
add constraint UK_beqh9hktrc4y1retfd7wmnclu unique (DESCRIPTION_ID);
|
6238
|
|
6239
|
alter table PUBLIC.CLASSIFICATION_EXTENSION
|
6240
|
add constraint UK_fk1h0ttdug97dofinalp4boiu unique (EXTENSIONS_ID);
|
6241
|
|
6242
|
alter table PUBLIC.CLASSIFICATION_EXTERNALLINK
|
6243
|
add constraint UK_kf5p4cr5vgj0407w89v82gqnn unique (LINKS_ID);
|
6244
|
|
6245
|
alter table PUBLIC.CLASSIFICATION_IDENTIFIER
|
6246
|
add constraint UK_ha3vuterlgkpjaacuass551nu unique (IDENTIFIERS_ID);
|
6247
|
|
6248
|
alter table PUBLIC.CLASSIFICATION_MARKER
|
6249
|
add constraint UK_39r93iquk0seccq3a49qjcwmu unique (MARKERS_ID);
|
6250
|
|
6251
|
alter table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE
|
6252
|
add constraint UK_1472iuoq8xgfwclvp4jsyiyqp unique (SOURCES_ID);
|
6253
|
create index PUBLIC.collectionTitleCacheIndex on PUBLIC.COLLECTION (TITLECACHE);
|
6254
|
|
6255
|
alter table PUBLIC.COLLECTION
|
6256
|
add constraint UK_6r423jyk86wpvr89sotn9uhyh unique (UUID);
|
6257
|
|
6258
|
alter table PUBLIC.COLLECTION_ANNOTATION
|
6259
|
add constraint UK_4lowyr94wfg09na4evnnih1jd unique (ANNOTATIONS_ID);
|
6260
|
|
6261
|
alter table PUBLIC.COLLECTION_CREDIT
|
6262
|
add constraint UK_rqfs5w3up9dgd3hwu40l2r9go unique (CREDITS_ID);
|
6263
|
|
6264
|
alter table PUBLIC.COLLECTION_EXTENSION
|
6265
|
add constraint UK_gyc0cprm86m7lif1rqy3rm6am unique (EXTENSIONS_ID);
|
6266
|
|
6267
|
alter table PUBLIC.COLLECTION_EXTERNALLINK
|
6268
|
add constraint UK_h402cb7gl1p2hp3cpx15t43hc unique (LINKS_ID);
|
6269
|
|
6270
|
alter table PUBLIC.COLLECTION_IDENTIFIER
|
6271
|
add constraint UK_5jqv1wsi7e9x4j7j63p09iydg unique (IDENTIFIERS_ID);
|
6272
|
|
6273
|
alter table PUBLIC.COLLECTION_MARKER
|
6274
|
add constraint UK_qi5mqhonhu6iwomnqoebbnjgs unique (MARKERS_ID);
|
6275
|
|
6276
|
alter table PUBLIC.COLLECTION_ORIGINALSOURCEBASE
|
6277
|
add constraint UK_h54orj0te9bynutrg7sgn3k75 unique (SOURCES_ID);
|
6278
|
|
6279
|
alter table PUBLIC.CREDIT
|
6280
|
add constraint UK_nc0wrn96hh7ep5vn77wp1jscu unique (UUID);
|
6281
|
|
6282
|
alter table PUBLIC.CREDIT_ANNOTATION
|
6283
|
add constraint UK_a35lqrqu1o76x2ov0r3jaiweu unique (ANNOTATIONS_ID);
|
6284
|
|
6285
|
alter table PUBLIC.CREDIT_MARKER
|
6286
|
add constraint UK_4pkhcnhk7pypxu4jqj9ofq8yn unique (MARKERS_ID);
|
6287
|
|
6288
|
alter table PUBLIC.DEFINEDTERMBASE
|
6289
|
add constraint UK_psnti5ip73xb2bejsld78m1py unique (UUID);
|
6290
|
|
6291
|
alter table PUBLIC.DEFINEDTERMBASE_ANNOTATION
|
6292
|
add constraint UK_rkf21bv6vx08d29oxkorfw427 unique (ANNOTATIONS_ID);
|
6293
|
|
6294
|
alter table PUBLIC.DEFINEDTERMBASE_CREDIT
|
6295
|
add constraint UK_alayy9tbx56ae6liqxfls543c unique (CREDITS_ID);
|
6296
|
|
6297
|
alter table PUBLIC.DEFINEDTERMBASE_EXTENSION
|
6298
|
add constraint UK_9dif6hvl5aneafhnokip4ddvm unique (EXTENSIONS_ID);
|
6299
|
|
6300
|
alter table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK
|
6301
|
add constraint UK_2yqnc61bk1g61amrpdmvgrovh unique (LINKS_ID);
|
6302
|
|
6303
|
alter table PUBLIC.DEFINEDTERMBASE_IDENTIFIER
|
6304
|
add constraint UK_2f7c1h6jiy53if9lafo5a440x unique (IDENTIFIERS_ID);
|
6305
|
|
6306
|
alter table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION
|
6307
|
add constraint UK_2bsje3ep6kseejpxd0tp3g8cv unique (INVERSEREPRESENTATIONS_ID);
|
6308
|
|
6309
|
alter table PUBLIC.DEFINEDTERMBASE_MARKER
|
6310
|
add constraint UK_l2l1fq7qf502h5gfbq7j6n3mn unique (MARKERS_ID);
|
6311
|
|
6312
|
alter table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE
|
6313
|
add constraint UK_ejw4fuvlfs4af2y0fd0hej3ai unique (SOURCES_ID);
|
6314
|
|
6315
|
alter table PUBLIC.DEFINEDTERMBASE_REPRESENTATION
|
6316
|
add constraint UK_g6op0how9xhuf8osa1f4m5nvo unique (REPRESENTATIONS_ID);
|
6317
|
|
6318
|
alter table PUBLIC.DERIVATIONEVENT
|
6319
|
add constraint UK_2xtoagqa8n458v49ap1pbllsh unique (UUID);
|
6320
|
|
6321
|
alter table PUBLIC.DERIVATIONEVENT_ANNOTATION
|
6322
|
add constraint UK_gc9w9dn83oo6q4e7sdojy4kuq unique (ANNOTATIONS_ID);
|
6323
|
|
6324
|
alter table PUBLIC.DERIVATIONEVENT_MARKER
|
6325
|
add constraint UK_99oosnn09f9ygcmeen15lsmqr unique (MARKERS_ID);
|
6326
|
|
6327
|
alter table PUBLIC.DESCRIPTIONBASE
|
6328
|
add constraint UK_df4fx5ki8bypbjofgyoccs64w unique (UUID);
|
6329
|
|
6330
|
alter table PUBLIC.DESCRIPTIONBASE_ANNOTATION
|
6331
|
add constraint UK_laxprubofx54e45bms9t7sg2f unique (ANNOTATIONS_ID);
|
6332
|
|
6333
|
alter table PUBLIC.DESCRIPTIONBASE_CREDIT
|
6334
|
add constraint UK_838hic0ia4xs89sw1058i6p2k unique (CREDITS_ID);
|
6335
|
|
6336
|
alter table PUBLIC.DESCRIPTIONBASE_EXTENSION
|
6337
|
add constraint UK_kv2o30k0kmn337wly93cp3wri unique (EXTENSIONS_ID);
|
6338
|
|
6339
|
alter table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK
|
6340
|
add constraint UK_74t9m4y4lq8qbrhvum6298yhb unique (LINKS_ID);
|
6341
|
|
6342
|
alter table PUBLIC.DESCRIPTIONBASE_IDENTIFIER
|
6343
|
add constraint UK_cmvdtu0etv97kmcnnysnhska7 unique (IDENTIFIERS_ID);
|
6344
|
|
6345
|
alter table PUBLIC.DESCRIPTIONBASE_MARKER
|
6346
|
add constraint UK_napxj2u5ysal1itu3b3i7kil9 unique (MARKERS_ID);
|
6347
|
|
6348
|
alter table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE
|
6349
|
add constraint UK_gaaqecejj6gk4mp9fseo00907 unique (SOURCES_ID);
|
6350
|
|
6351
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
6352
|
add constraint UK_75kga2fwo0rvfdtpb5meocduj unique (UUID);
|
6353
|
|
6354
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION
|
6355
|
add constraint UK_ixgli0qk2cas7128ujrti6y5h unique (ANNOTATIONS_ID);
|
6356
|
|
6357
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING
|
6358
|
add constraint UK_pa998ww8yh7c4f3lclq5idnsb unique (MULTILANGUAGETEXT_ID);
|
6359
|
|
6360
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER
|
6361
|
add constraint UK_bobj0hopby071s1xhlsk605cr unique (MARKERS_ID);
|
6362
|
|
6363
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT
|
6364
|
add constraint UK_ew1xlx48jefqrfux2rb2yyuv1 unique (MODIFYINGTEXT_ID);
|
6365
|
|
6366
|
alter table PUBLIC.DESCRIPTIVEDATASET
|
6367
|
add constraint UK_4u34f69h4ujnpci1fiaqfbbbf unique (UUID);
|
6368
|
|
6369
|
alter table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION
|
6370
|
add constraint UK_8lgyefjk89e5v4lsq5pnp8xow unique (ANNOTATIONS_ID);
|
6371
|
|
6372
|
alter table PUBLIC.DESCRIPTIVEDATASET_CREDIT
|
6373
|
add constraint UK_quq231wblu9abtqjpixtinvmc unique (CREDITS_ID);
|
6374
|
|
6375
|
alter table PUBLIC.DESCRIPTIVEDATASET_EXTENSION
|
6376
|
add constraint UK_tky0pww5iqg8tfuelhsq81e08 unique (EXTENSIONS_ID);
|
6377
|
|
6378
|
alter table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK
|
6379
|
add constraint UK_q092ogptflabu8w40cf9bab8d unique (LINKS_ID);
|
6380
|
|
6381
|
alter table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER
|
6382
|
add constraint UK_n01ftofpntemp0lskda360asv unique (IDENTIFIERS_ID);
|
6383
|
|
6384
|
alter table PUBLIC.DESCRIPTIVEDATASET_MARKER
|
6385
|
add constraint UK_3uudtc3awclptgru52sk6cv37 unique (MARKERS_ID);
|
6386
|
|
6387
|
alter table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE
|
6388
|
add constraint UK_9lpflbbhkll6d3co3vf6ciebe unique (SOURCES_ID);
|
6389
|
|
6390
|
alter table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION
|
6391
|
add constraint UK_n2j0pcwee94m4ubhdp5j2mpb4 unique (REPRESENTATIONS_ID);
|
6392
|
|
6393
|
alter table PUBLIC.DETERMINATIONEVENT
|
6394
|
add constraint UK_oxf2ym92njr7whsj4gl9s249a unique (UUID);
|
6395
|
|
6396
|
alter table PUBLIC.DETERMINATIONEVENT_ANNOTATION
|
6397
|
add constraint UK_cghyhbvsmei4646bx7seawxin unique (ANNOTATIONS_ID);
|
6398
|
|
6399
|
alter table PUBLIC.DETERMINATIONEVENT_MARKER
|
6400
|
add constraint UK_rstkk68kt55j2f63fc0q4m2ns unique (MARKERS_ID);
|
6401
|
|
6402
|
alter table PUBLIC.DNAQUALITY
|
6403
|
add constraint UK_8agtfcxhkai1eem9ufiwvgctw unique (UUID);
|
6404
|
|
6405
|
alter table PUBLIC.ENTITYCONSTRAINTVIOLATION
|
6406
|
add constraint UK_hamskc9agohwhjqci2w8et0gd unique (UUID);
|
6407
|
|
6408
|
alter table PUBLIC.ENTITYVALIDATION
|
6409
|
add constraint UK_lkhhv2fav0hj128s652t5u8lq unique (UUID);
|
6410
|
|
6411
|
alter table PUBLIC.EXTENSION
|
6412
|
add constraint UK_c5nj171x4dca6ml8a03p3pq0y unique (UUID);
|
6413
|
|
6414
|
alter table PUBLIC.EXTERNALLINK
|
6415
|
add constraint UK_gduah5s46v7pn6jb2h4d9fxh4 unique (UUID);
|
6416
|
|
6417
|
alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING
|
6418
|
add constraint UK_on4cnu6bysf4ogtqjq20lbhq4 unique (DESCRIPTION_ID);
|
6419
|
|
6420
|
alter table PUBLIC.FEATURESTATE
|
6421
|
add constraint UK_ovjy8a6ajertbjasdcg0gbt7c unique (UUID);
|
6422
|
|
6423
|
alter table PUBLIC.GATHERINGEVENT
|
6424
|
add constraint UK_3umqstcmw1s4idfb917fi4sjt unique (UUID);
|
6425
|
|
6426
|
alter table PUBLIC.GATHERINGEVENT_ANNOTATION
|
6427
|
add constraint UK_5hf9i5nhvm66ybfvafe5hrui0 unique (ANNOTATIONS_ID);
|
6428
|
|
6429
|
alter table PUBLIC.GATHERINGEVENT_MARKER
|
6430
|
add constraint UK_s9yrejry52c3sy81r2ikoi8h2 unique (MARKERS_ID);
|
6431
|
|
6432
|
alter table PUBLIC.GRANTEDAUTHORITYIMPL
|
6433
|
add constraint UK_rngb7w69h2ccred6rgvn9ajef unique (UUID);
|
6434
|
|
6435
|
alter table PUBLIC.GRANTEDAUTHORITYIMPL
|
6436
|
add constraint UK_kluqifir9uwyt1v1gwiapsav9 unique (AUTHORITY);
|
6437
|
|
6438
|
alter table PUBLIC.HOMOTYPICALGROUP
|
6439
|
add constraint UK_5v8ugjbk3i9k4cppfpkpwnsik unique (UUID);
|
6440
|
|
6441
|
alter table PUBLIC.HOMOTYPICALGROUP_ANNOTATION
|
6442
|
add constraint UK_173rdn88dcfrnvngblw3dxqgr unique (ANNOTATIONS_ID);
|
6443
|
|
6444
|
alter table PUBLIC.HOMOTYPICALGROUP_MARKER
|
6445
|
add constraint UK_c0l8leexhg1xyf253o4j0jjky unique (MARKERS_ID);
|
6446
|
|
6447
|
alter table PUBLIC.HYBRIDRELATIONSHIP
|
6448
|
add constraint UK_hvbo7jkvihx3mrg07g3w70c9d unique (UUID);
|
6449
|
|
6450
|
alter table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION
|
6451
|
add constraint UK_13y92s9sri1br1emvqtplcfsx unique (ANNOTATIONS_ID);
|
6452
|
|
6453
|
alter table PUBLIC.HYBRIDRELATIONSHIP_MARKER
|
6454
|
add constraint UK_6ioyjrlpuqj4b3atmkqp8f461 unique (MARKERS_ID);
|
6455
|
create index PUBLIC.identifierIndex on PUBLIC.IDENTIFIER (IDENTIFIER);
|
6456
|
|
6457
|
alter table PUBLIC.IDENTIFIER
|
6458
|
add constraint UK_e8yq6g9ax49hr1bglo81e7rak unique (UUID);
|
6459
|
|
6460
|
alter table PUBLIC.IDENTIFIER_ANNOTATION
|
6461
|
add constraint UK_6x1kypi91p9n2m5el0t4gs0q2 unique (ANNOTATIONS_ID);
|
6462
|
|
6463
|
alter table PUBLIC.IDENTIFIER_MARKER
|
6464
|
add constraint UK_7cgblyq3d0hq6m6l4ei0jekwy unique (MARKERS_ID);
|
6465
|
|
6466
|
alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING
|
6467
|
add constraint UK_h4j460ta6ucanjwk3utn3jrbe unique (DESCRIPTION_ID);
|
6468
|
|
6469
|
alter table PUBLIC.INSTITUTIONALMEMBERSHIP
|
6470
|
add constraint UK_mgbnvvnn1u3uyfki50nort2mp unique (UUID);
|
6471
|
|
6472
|
alter table PUBLIC.KEYSTATEMENT
|
6473
|
add constraint UK_alsrknyt8ypwq1064r3lmrnat unique (UUID);
|
6474
|
|
6475
|
alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING
|
6476
|
add constraint UK_lm25srmact7ftq3f6wbkaryvb unique (LABEL_ID);
|
6477
|
|
6478
|
alter table PUBLIC.LANGUAGESTRING
|
6479
|
add constraint UK_giwyr684cmf754vu9p3ugaibn unique (UUID);
|
6480
|
|
6481
|
alter table PUBLIC.LANGUAGESTRING_ANNOTATION
|
6482
|
add constraint UK_hlqpn5o077v146lk1em0rt9ls unique (ANNOTATIONS_ID);
|
6483
|
|
6484
|
alter table PUBLIC.LANGUAGESTRING_MARKER
|
6485
|
add constraint UK_qq4jf37c9do79fnwn78excag unique (MARKERS_ID);
|
6486
|
|
6487
|
alter table PUBLIC.LSIDAUTHORITY
|
6488
|
add constraint UK_rddq46ttjgfetrsnhoj3fla3s unique (UUID, AUTHORITY);
|
6489
|
|
6490
|
alter table PUBLIC.MARKER
|
6491
|
add constraint UK_833bcnp9gc4vx1kmhbk7h15si unique (UUID);
|
6492
|
|
6493
|
alter table PUBLIC.MATERIALORMETHODEVENT
|
6494
|
add constraint UK_hde768a425jcvaoafytdcler1 unique (UUID);
|
6495
|
|
6496
|
alter table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION
|
6497
|
add constraint UK_aoc5dowwrv20ujlr4vsbbue1o unique (ANNOTATIONS_ID);
|
6498
|
|
6499
|
alter table PUBLIC.MATERIALORMETHODEVENT_MARKER
|
6500
|
add constraint UK_epjt9lpulngp56d2vwyfot38h unique (MARKERS_ID);
|
6501
|
|
6502
|
alter table PUBLIC.MEDIA
|
6503
|
add constraint UK_e903skexx8bi2xrru5fj3ws1v unique (UUID);
|
6504
|
|
6505
|
alter table PUBLIC.MEDIA_ANNOTATION
|
6506
|
add constraint UK_27iy9xlqsjh9u6r9lguk6frjw unique (ANNOTATIONS_ID);
|
6507
|
|
6508
|
alter table PUBLIC.MEDIA_CREDIT
|
6509
|
add constraint UK_p95ivxcnvm67eon1qy6unn1pk unique (CREDITS_ID);
|
6510
|
|
6511
|
alter table PUBLIC.MEDIA_DESCRIPTION
|
6512
|
add constraint UK_ls9ed68vr7becmhacmwuvm377 unique (DESCRIPTION_ID);
|
6513
|
|
6514
|
alter table PUBLIC.MEDIA_EXTENSION
|
6515
|
add constraint UK_mlnxopk4gwce49x3lr4xanp8c unique (EXTENSIONS_ID);
|
6516
|
|
6517
|
alter table PUBLIC.MEDIA_EXTERNALLINK
|
6518
|
add constraint UK_jwhh1o8ma1x0crw4dfb2lcebj unique (LINKS_ID);
|
6519
|
|
6520
|
alter table PUBLIC.MEDIA_IDENTIFIER
|
6521
|
add constraint UK_px8b20lrxle2bk015fvc6fghi unique (IDENTIFIERS_ID);
|
6522
|
|
6523
|
alter table PUBLIC.MEDIA_LANGUAGESTRING
|
6524
|
add constraint UK_edhxisfrvom1781d06q3ybmhu unique (TITLE_ID);
|
6525
|
|
6526
|
alter table PUBLIC.MEDIA_MARKER
|
6527
|
add constraint UK_tijp58aaycrm4c29pcprd0b5d unique (MARKERS_ID);
|
6528
|
|
6529
|
alter table PUBLIC.MEDIA_ORIGINALSOURCEBASE
|
6530
|
add constraint UK_82tfn9ftk3740pg40bc3ifgjr unique (SOURCES_ID);
|
6531
|
|
6532
|
alter table PUBLIC.MEDIA_REPRESENTATION
|
6533
|
add constraint UK_2jag0s8fk0hn5ceichsjfg6qi unique (KEYREPRESENTATIONS_ID);
|
6534
|
|
6535
|
alter table PUBLIC.MEDIAMETADATA
|
6536
|
add constraint UK_rd6dmkti568ace8drcd56g309 unique (UUID);
|
6537
|
|
6538
|
alter table PUBLIC.MEDIAREPRESENTATION
|
6539
|
add constraint UK_spthhq2u1quivt0ogwhkrm2nm unique (UUID);
|
6540
|
|
6541
|
alter table PUBLIC.MEDIAREPRESENTATIONPART
|
6542
|
add constraint UK_39r3g6unkr1ihlkis8e5evts7 unique (UUID);
|
6543
|
|
6544
|
alter table PUBLIC.NAMERELATIONSHIP
|
6545
|
add constraint UK_cwn9kp29mwken47qmosriq5mm unique (UUID);
|
6546
|
|
6547
|
alter table PUBLIC.NAMERELATIONSHIP_ANNOTATION
|
6548
|
add constraint UK_8bc04siyxgik88glkvkoqpwy8 unique (ANNOTATIONS_ID);
|
6549
|
|
6550
|
alter table PUBLIC.NAMERELATIONSHIP_MARKER
|
6551
|
add constraint UK_d12d1c61qmrioi7nkbar6nc9c unique (MARKERS_ID);
|
6552
|
|
6553
|
alter table PUBLIC.NOMENCLATURALSTATUS
|
6554
|
add constraint UK_9qx74vyx50c9kx4256q4umbra unique (UUID);
|
6555
|
|
6556
|
alter table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION
|
6557
|
add constraint UK_l9jfu3iy2fc5f73k7pk8ol0pi unique (ANNOTATIONS_ID);
|
6558
|
|
6559
|
alter table PUBLIC.NOMENCLATURALSTATUS_MARKER
|
6560
|
add constraint UK_saklwbur1mqmhvdhsh6dci3iq unique (MARKERS_ID);
|
6561
|
|
6562
|
alter table PUBLIC.OCCURRENCESTATUS
|
6563
|
add constraint UK_201g7rgldqpqn4jmemit52d1c unique (UUID);
|
6564
|
|
6565
|
alter table PUBLIC.OCCURRENCESTATUS_ANNOTATION
|
6566
|
add constraint UK_q3p7hbhd61t4brm52guo2eepk unique (ANNOTATIONS_ID);
|
6567
|
|
6568
|
alter table PUBLIC.OCCURRENCESTATUS_MARKER
|
6569
|
add constraint UK_por4d68d3hn2vxfccdsk34ey9 unique (MARKERS_ID);
|
6570
|
|
6571
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
6572
|
add constraint UK_9t54m29vo2d7ome1vwvb5nu7l unique (UUID);
|
6573
|
|
6574
|
alter table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION
|
6575
|
add constraint UK_bsawlumx8aitv5xjbxhi5fgmf unique (ANNOTATIONS_ID);
|
6576
|
|
6577
|
alter table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK
|
6578
|
add constraint UK_6to970y1pydudj76fq0oyx93i unique (LINKS_ID);
|
6579
|
|
6580
|
alter table PUBLIC.ORIGINALSOURCEBASE_MARKER
|
6581
|
add constraint UK_28k4eysi2u85a98dc8ey5a64v unique (MARKERS_ID);
|
6582
|
|
6583
|
alter table PUBLIC.PERMISSIONGROUP
|
6584
|
add constraint UK_p8g72itwomreh0b1619s30uou unique (UUID);
|
6585
|
|
6586
|
alter table PUBLIC.PERMISSIONGROUP
|
6587
|
add constraint UK_d056m1b7ub5218mofxc7yer6c unique (NAME);
|
6588
|
|
6589
|
alter table PUBLIC.POLYTOMOUSKEY
|
6590
|
add constraint UK_o9oq3tucnxkl7fwc4uhiv07hp unique (UUID);
|
6591
|
|
6592
|
alter table PUBLIC.POLYTOMOUSKEY_ANNOTATION
|
6593
|
add constraint UK_764kbeevuq12va0qc7omt7w9i unique (ANNOTATIONS_ID);
|
6594
|
|
6595
|
alter table PUBLIC.POLYTOMOUSKEY_CREDIT
|
6596
|
add constraint UK_681mwyicu64u5e9qhn7h59ivt unique (CREDITS_ID);
|
6597
|
|
6598
|
alter table PUBLIC.POLYTOMOUSKEY_EXTENSION
|
6599
|
add constraint UK_pqkxu3pukwej04xkqt0ms8sjs unique (EXTENSIONS_ID);
|
6600
|
|
6601
|
alter table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK
|
6602
|
add constraint UK_h3d8buneoag332g1jkh8mvvms unique (LINKS_ID);
|
6603
|
|
6604
|
alter table PUBLIC.POLYTOMOUSKEY_IDENTIFIER
|
6605
|
add constraint UK_cvknxr0yd2ytowyc81ofgst18 unique (IDENTIFIERS_ID);
|
6606
|
|
6607
|
alter table PUBLIC.POLYTOMOUSKEY_MARKER
|
6608
|
add constraint UK_22bvucvl0bgjk46h045g2f14x unique (MARKERS_ID);
|
6609
|
|
6610
|
alter table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE
|
6611
|
add constraint UK_lnowp18v9eovm8v9lpfo4y2ls unique (SOURCES_ID);
|
6612
|
|
6613
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
6614
|
add constraint UK_3l8qp1vin0xd2qk27ffl2e8u9 unique (UUID);
|
6615
|
|
6616
|
alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING
|
6617
|
add constraint UK_jnr5d7grv07kwww0y2x77lm6a unique (MODIFYINGTEXT_ID);
|
6618
|
|
6619
|
alter table PUBLIC.PRIMER
|
6620
|
add constraint UK_i8q8a5i0w2ynuwlwv76uoc2oj unique (UUID);
|
6621
|
|
6622
|
alter table PUBLIC.PRIMER_ANNOTATION
|
6623
|
add constraint UK_dmvxnfqu6sm3jcj7tqxwsh2nt unique (ANNOTATIONS_ID);
|
6624
|
|
6625
|
alter table PUBLIC.PRIMER_MARKER
|
6626
|
add constraint UK_rs2l7i9qyoiyf7ntplw16x26w unique (MARKERS_ID);
|
6627
|
create index PUBLIC.referenceTitleCacheIndex on PUBLIC.REFERENCE (TITLECACHE);
|
6628
|
|
6629
|
alter table PUBLIC.REFERENCE
|
6630
|
add constraint UK_p5aij0oskebqpdrj3xt4rgh0g unique (UUID);
|
6631
|
|
6632
|
alter table PUBLIC.REFERENCE_ANNOTATION
|
6633
|
add constraint UK_reoadqaqikai0r09qhvcifilh unique (ANNOTATIONS_ID);
|
6634
|
|
6635
|
alter table PUBLIC.REFERENCE_CREDIT
|
6636
|
add constraint UK_kqehwvwkio05f5rtbj1xnu0vk unique (CREDITS_ID);
|
6637
|
|
6638
|
alter table PUBLIC.REFERENCE_EXTENSION
|
6639
|
add constraint UK_8cpu7c1a5jf5w63wonep2ph9i unique (EXTENSIONS_ID);
|
6640
|
|
6641
|
alter table PUBLIC.REFERENCE_EXTERNALLINK
|
6642
|
add constraint UK_do9wpr7qyg6qkrgm1920us4r9 unique (LINKS_ID);
|
6643
|
|
6644
|
alter table PUBLIC.REFERENCE_IDENTIFIER
|
6645
|
add constraint UK_26mibvas6188vcn5d8bptc510 unique (IDENTIFIERS_ID);
|
6646
|
|
6647
|
alter table PUBLIC.REFERENCE_MARKER
|
6648
|
add constraint UK_3sk7anuk8rst1d6sougjitc53 unique (MARKERS_ID);
|
6649
|
|
6650
|
alter table PUBLIC.REFERENCE_ORIGINALSOURCEBASE
|
6651
|
add constraint UK_cs5msb4qf2we8mqao36j4gdib unique (SOURCES_ID);
|
6652
|
|
6653
|
alter table PUBLIC.REGISTRATION
|
6654
|
add constraint UK_jlmg8hxvasuxkp0eqjp31dchw unique (UUID);
|
6655
|
|
6656
|
alter table PUBLIC.REGISTRATION_ANNOTATION
|
6657
|
add constraint UK_55urufed66j5kq01tviawb3va unique (ANNOTATIONS_ID);
|
6658
|
|
6659
|
alter table PUBLIC.REGISTRATION_MARKER
|
6660
|
add constraint UK_2mo4b14e6kl0dvwrmpuejs4m9 unique (MARKERS_ID);
|
6661
|
|
6662
|
alter table PUBLIC.REPRESENTATION
|
6663
|
add constraint UK_an2rur8uq2apu72tqjhc4yod8 unique (UUID);
|
6664
|
|
6665
|
alter table PUBLIC.REPRESENTATION_ANNOTATION
|
6666
|
add constraint UK_1pqv8mc7g5nd4ttjjbjpwy4ft unique (ANNOTATIONS_ID);
|
6667
|
|
6668
|
alter table PUBLIC.REPRESENTATION_MARKER
|
6669
|
add constraint UK_876atb7xdlkjml81wodim8k9h unique (MARKERS_ID);
|
6670
|
|
6671
|
alter table PUBLIC.RIGHTSINFO
|
6672
|
add constraint UK_l6ym3l79t6ggcw00mahj7gueq unique (UUID);
|
6673
|
|
6674
|
alter table PUBLIC.RIGHTSINFO_ANNOTATION
|
6675
|
add constraint UK_r3msmoqd706daaud09bom8xti unique (ANNOTATIONS_ID);
|
6676
|
|
6677
|
alter table PUBLIC.RIGHTSINFO_MARKER
|
6678
|
add constraint UK_3cet6vbo0nilelqwam3jmpe8g unique (MARKERS_ID);
|
6679
|
|
6680
|
alter table PUBLIC.SEQUENCE
|
6681
|
add constraint UK_bou2od3w7b3271360d2bv07c3 unique (UUID);
|
6682
|
|
6683
|
alter table PUBLIC.SEQUENCE_ANNOTATION
|
6684
|
add constraint UK_e3rvjtgcdpxa9gyvldcl30w2h unique (ANNOTATIONS_ID);
|
6685
|
|
6686
|
alter table PUBLIC.SEQUENCE_MARKER
|
6687
|
add constraint UK_gj5sini73vkgaobldhey5bw9t unique (MARKERS_ID);
|
6688
|
|
6689
|
alter table PUBLIC.SINGLEREAD
|
6690
|
add constraint UK_o868ocfpttd7ifvseqor0g0c3 unique (UUID);
|
6691
|
|
6692
|
alter table PUBLIC.SINGLEREAD_ANNOTATION
|
6693
|
add constraint UK_tpy02pbwcrchbctine35wkr0f unique (ANNOTATIONS_ID);
|
6694
|
|
6695
|
alter table PUBLIC.SINGLEREAD_MARKER
|
6696
|
add constraint UK_m9q7b8k3q29nmhso84ev8x1xm unique (MARKERS_ID);
|
6697
|
|
6698
|
alter table PUBLIC.SINGLEREADALIGNMENT
|
6699
|
add constraint UK_fl9co1dw95f699y1b1m48bhgn unique (UUID);
|
6700
|
create index PUBLIC.specimenOrObservationBaseTitleCacheIndex on PUBLIC.SPECIMENOROBSERVATIONBASE (TITLECACHE);
|
6701
|
create index PUBLIC.specimenOrObservationBaseIdentityCacheIndex on PUBLIC.SPECIMENOROBSERVATIONBASE (IDENTITYCACHE);
|
6702
|
|
6703
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
6704
|
add constraint UK_f0cpmddrfy3qfs6dfp7yyxs1h unique (UUID);
|
6705
|
|
6706
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION
|
6707
|
add constraint UK_jwut0kj9vxxh95dnpqmy214yh unique (ANNOTATIONS_ID);
|
6708
|
|
6709
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT
|
6710
|
add constraint UK_fuwk11rqcwpcofhfe491a8hqu unique (CREDITS_ID);
|
6711
|
|
6712
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION
|
6713
|
add constraint UK_qk700525rhot8xjgiqfdxo428 unique (EXTENSIONS_ID);
|
6714
|
|
6715
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK
|
6716
|
add constraint UK_10lsmwriuryd1go9r024628bp unique (LINKS_ID);
|
6717
|
|
6718
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER
|
6719
|
add constraint UK_kwy5o93oabwtp3ljdpopkr6lb unique (IDENTIFIERS_ID);
|
6720
|
|
6721
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING
|
6722
|
add constraint UK_fg4antv7csnl898t0hshqwm2 unique (DEFINITION_ID);
|
6723
|
|
6724
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER
|
6725
|
add constraint UK_4e18eoogff2fh09ocluhwlc75 unique (MARKERS_ID);
|
6726
|
|
6727
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE
|
6728
|
add constraint UK_eugvoksqnvktygwbi34crvxhk unique (SOURCES_ID);
|
6729
|
|
6730
|
alter table PUBLIC.STATEDATA
|
6731
|
add constraint UK_qnw4vi9b7bvq81r4tb9eja1cn unique (UUID);
|
6732
|
|
6733
|
alter table PUBLIC.STATEDATA_LANGUAGESTRING
|
6734
|
add constraint UK_9ctih4esnw42a9e7q77t425um unique (MODIFYINGTEXT_ID);
|
6735
|
|
6736
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE
|
6737
|
add constraint UK_q39pvb872whdirbaqmwerxify unique (UUID);
|
6738
|
create index PUBLIC.taxonBaseTitleCacheIndex on PUBLIC.TAXONBASE (TITLECACHE);
|
6739
|
|
6740
|
alter table PUBLIC.TAXONBASE
|
6741
|
add constraint UK_sb7p9cbtabtyvuprexl4ic1ae unique (UUID);
|
6742
|
|
6743
|
alter table PUBLIC.TAXONBASE_ANNOTATION
|
6744
|
add constraint UK_7l4b2min46q8f9s6lj5046jje unique (ANNOTATIONS_ID);
|
6745
|
|
6746
|
alter table PUBLIC.TAXONBASE_CREDIT
|
6747
|
add constraint UK_iehcdmgb16v4hv2akbmx196bo unique (CREDITS_ID);
|
6748
|
|
6749
|
alter table PUBLIC.TAXONBASE_EXTENSION
|
6750
|
add constraint UK_i5rufqct42ietqmx5oep221bi unique (EXTENSIONS_ID);
|
6751
|
|
6752
|
alter table PUBLIC.TAXONBASE_EXTERNALLINK
|
6753
|
add constraint UK_mwvx7jk8sb04ot7n9tx2crux1 unique (LINKS_ID);
|
6754
|
|
6755
|
alter table PUBLIC.TAXONBASE_IDENTIFIER
|
6756
|
add constraint UK_2aq3vs8rtguh779c0m3rgecea unique (IDENTIFIERS_ID);
|
6757
|
|
6758
|
alter table PUBLIC.TAXONBASE_MARKER
|
6759
|
add constraint UK_f36k3he99htk5n7d36dh8mfuq unique (MARKERS_ID);
|
6760
|
|
6761
|
alter table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE
|
6762
|
add constraint UK_qrcoswdw81wt0gr2mio4l6idl unique (SOURCES_ID);
|
6763
|
|
6764
|
alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING
|
6765
|
add constraint UK_s3qxptnq5d45t9l1w59gmcu8s unique (DESCRIPTION_ID);
|
6766
|
create index PUBLIC.taxonNameBaseTitleCacheIndex on PUBLIC.TAXONNAME (TITLECACHE);
|
6767
|
create index PUBLIC.taxonNameBaseNameCacheIndex on PUBLIC.TAXONNAME (NAMECACHE);
|
6768
|
|
6769
|
alter table PUBLIC.TAXONNAME
|
6770
|
add constraint UK_4l1e83ge70egn2r8yjq74gea6 unique (UUID);
|
6771
|
|
6772
|
alter table PUBLIC.TAXONNAME_ANNOTATION
|
6773
|
add constraint UK_5gfqtjf214yjy0mymmws0o1h7 unique (ANNOTATIONS_ID);
|
6774
|
|
6775
|
alter table PUBLIC.TAXONNAME_CREDIT
|
6776
|
add constraint UK_t3ems383sc090xgf3huro3yg7 unique (CREDITS_ID);
|
6777
|
|
6778
|
alter table PUBLIC.TAXONNAME_EXTENSION
|
6779
|
add constraint UK_navjxgsmcc9a91ieys39bpqwm unique (EXTENSIONS_ID);
|
6780
|
|
6781
|
alter table PUBLIC.TAXONNAME_EXTERNALLINK
|
6782
|
add constraint UK_at4fx3ogkjoo0o78a9h8s87qe unique (LINKS_ID);
|
6783
|
|
6784
|
alter table PUBLIC.TAXONNAME_IDENTIFIER
|
6785
|
add constraint UK_g2jbvancfpnvgtrbgipl0s5xq unique (IDENTIFIERS_ID);
|
6786
|
|
6787
|
alter table PUBLIC.TAXONNAME_MARKER
|
6788
|
add constraint UK_lnf8165xrf7v05e6jvtx8aiy1 unique (MARKERS_ID);
|
6789
|
|
6790
|
alter table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE
|
6791
|
add constraint UK_aa3vu8j4kf8wjraw5y8s06vd5 unique (SOURCES_ID);
|
6792
|
create index PUBLIC.taxonNodeTreeIndex on PUBLIC.TAXONNODE (TREEINDEX);
|
6793
|
|
6794
|
alter table PUBLIC.TAXONNODE
|
6795
|
add constraint UK_mlle48ucll3xxvnsfkhrccdld unique (UUID);
|
6796
|
|
6797
|
alter table PUBLIC.TAXONNODE_ANNOTATION
|
6798
|
add constraint UK_t5d4bswjyneyw5heavqmwhdkl unique (ANNOTATIONS_ID);
|
6799
|
|
6800
|
alter table PUBLIC.TAXONNODE_MARKER
|
6801
|
add constraint UK_j4bhc8mkfqhn2n0nsnm4f6efy unique (MARKERS_ID);
|
6802
|
|
6803
|
alter table PUBLIC.TAXONNODE_STATUSNOTE
|
6804
|
add constraint UK_jfouc5s3975d5dyc1uwkdwdgw unique (STATUSNOTE_ID);
|
6805
|
|
6806
|
alter table PUBLIC.TAXONNODEAGENTRELATION
|
6807
|
add constraint UK_sf7xk84whxbdu1sycpmcbm0x unique (UUID);
|
6808
|
|
6809
|
alter table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION
|
6810
|
add constraint UK_jh8v3vp9cr8roqq7a4h5db3va unique (ANNOTATIONS_ID);
|
6811
|
|
6812
|
alter table PUBLIC.TAXONNODEAGENTRELATION_MARKER
|
6813
|
add constraint UK_crputx6a8memm8w88gesg168i unique (MARKERS_ID);
|
6814
|
|
6815
|
alter table PUBLIC.TAXONOMICOPERATION
|
6816
|
add constraint UK_9vpe7l9q6vftay8t5xuq7a6ya unique (UUID);
|
6817
|
|
6818
|
alter table PUBLIC.TAXONRELATIONSHIP
|
6819
|
add constraint UK_s6oxy40kxrigdao7pn2w73fue unique (UUID);
|
6820
|
|
6821
|
alter table PUBLIC.TAXONRELATIONSHIP_ANNOTATION
|
6822
|
add constraint UK_ls1cxpc4bte4cowpacf6o7b43 unique (ANNOTATIONS_ID);
|
6823
|
|
6824
|
alter table PUBLIC.TAXONRELATIONSHIP_MARKER
|
6825
|
add constraint UK_d95igpufr177599tohg130iye unique (MARKERS_ID);
|
6826
|
|
6827
|
alter table PUBLIC.TERMCOLLECTION
|
6828
|
add constraint UK_jl6hv9p9d0csr5ijn2962ktml unique (UUID);
|
6829
|
|
6830
|
alter table PUBLIC.TERMCOLLECTION_ANNOTATION
|
6831
|
add constraint UK_sw5ehtc5opkf40s6d7l2gum7t unique (ANNOTATIONS_ID);
|
6832
|
|
6833
|
alter table PUBLIC.TERMCOLLECTION_CREDIT
|
6834
|
add constraint UK_4jhf3nd3vptdrsf1f71s6as27 unique (CREDITS_ID);
|
6835
|
|
6836
|
alter table PUBLIC.TERMCOLLECTION_EXTENSION
|
6837
|
add constraint UK_b925e1is6ajb3jn2hr0fxo5jm unique (EXTENSIONS_ID);
|
6838
|
|
6839
|
alter table PUBLIC.TERMCOLLECTION_EXTERNALLINK
|
6840
|
add constraint UK_sveiqla6bbvc3njg68b8igh15 unique (LINKS_ID);
|
6841
|
|
6842
|
alter table PUBLIC.TERMCOLLECTION_IDENTIFIER
|
6843
|
add constraint UK_oocbjwc0oetiw3g9v9ulkde3q unique (IDENTIFIERS_ID);
|
6844
|
|
6845
|
alter table PUBLIC.TERMCOLLECTION_MARKER
|
6846
|
add constraint UK_w5qwecy3q3kwiufwgskc8qng unique (MARKERS_ID);
|
6847
|
|
6848
|
alter table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE
|
6849
|
add constraint UK_6y05x1g9o0n7cc4net3w2np7u unique (SOURCES_ID);
|
6850
|
|
6851
|
alter table PUBLIC.TERMCOLLECTION_REPRESENTATION
|
6852
|
add constraint UK_pch9ie6gf2o7i2fljsoc289qi unique (REPRESENTATIONS_ID);
|
6853
|
|
6854
|
alter table PUBLIC.TERMNODE_INAPPLICABLEIF
|
6855
|
add constraint UK_582bjfhlg9nmuklxbr8wnvn7q unique (INAPPLICABLEIF_ID);
|
6856
|
|
6857
|
alter table PUBLIC.TERMNODE_ONLYAPPLICABLEIF
|
6858
|
add constraint UK_cbo8s0bkxy2ptaot85kqwb23m unique (ONLYAPPLICABLEIF_ID);
|
6859
|
create index PUBLIC.termNodeTreeIndex on PUBLIC.TERMRELATION (TREEINDEX);
|
6860
|
|
6861
|
alter table PUBLIC.TERMRELATION
|
6862
|
add constraint UK_j14j67r7qxdo868dyvsehhoe4 unique (UUID);
|
6863
|
|
6864
|
alter table PUBLIC.TYPEDESIGNATIONBASE
|
6865
|
add constraint UK_6o6iea656lcqgr3jdsjffq824 unique (UUID);
|
6866
|
|
6867
|
alter table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION
|
6868
|
add constraint UK_9ftdxvimlgemx14yg80r37gcq unique (ANNOTATIONS_ID);
|
6869
|
|
6870
|
alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING
|
6871
|
add constraint UK_jplwby9906fs8gp24kjh6qyc4 unique (TEXT_ID);
|
6872
|
|
6873
|
alter table PUBLIC.TYPEDESIGNATIONBASE_MARKER
|
6874
|
add constraint UK_k0evxiokuaj0w1adi5r4agobo unique (MARKERS_ID);
|
6875
|
|
6876
|
alter table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE
|
6877
|
add constraint UK_en07pnjivtsx8ou4fj2qfyfxv unique (SOURCES_ID);
|
6878
|
|
6879
|
alter table PUBLIC.USERACCOUNT
|
6880
|
add constraint UK_fpfcytsdxnlpf0a7d37ljv5vj unique (UUID);
|
6881
|
|
6882
|
alter table PUBLIC.USERACCOUNT
|
6883
|
add constraint UK_1nnsbewxnofohthirkbtgntnl unique (USERNAME);
|
6884
|
|
6885
|
alter table PUBLIC.ADDRESS
|
6886
|
add constraint FK4ucgu2k1x96axqym63s1bjklj
|
6887
|
foreign key (CREATEDBY_ID)
|
6888
|
references PUBLIC.USERACCOUNT;
|
6889
|
|
6890
|
alter table PUBLIC.ADDRESS
|
6891
|
add constraint FKnld5itwlxlr6n6rn4m6uo5702
|
6892
|
foreign key (UPDATEDBY_ID)
|
6893
|
references PUBLIC.USERACCOUNT;
|
6894
|
|
6895
|
alter table PUBLIC.ADDRESS
|
6896
|
add constraint FK5vrq4xoocin0tfnn2k0o7fgu9
|
6897
|
foreign key (COUNTRY_ID)
|
6898
|
references PUBLIC.DEFINEDTERMBASE;
|
6899
|
|
6900
|
alter table PUBLIC.ADDRESS
|
6901
|
add constraint FK4ynij9obfnle8n53megsp2s63
|
6902
|
foreign key (LOCATION_REFERENCESYSTEM_ID)
|
6903
|
references PUBLIC.DEFINEDTERMBASE;
|
6904
|
|
6905
|
alter table PUBLIC.ADDRESS_AUD
|
6906
|
add constraint FK65kadmtueylsama4ktibsjt4y
|
6907
|
foreign key (REV)
|
6908
|
references PUBLIC.AUDITEVENT;
|
6909
|
|
6910
|
alter table PUBLIC.AGENTBASE
|
6911
|
add constraint FK2wqyuafrx0ro0hfyjus1g9j3e
|
6912
|
foreign key (CREATEDBY_ID)
|
6913
|
references PUBLIC.USERACCOUNT;
|
6914
|
|
6915
|
alter table PUBLIC.AGENTBASE
|
6916
|
add constraint FK2dk90cjhq1q169kc7x2podtls
|
6917
|
foreign key (UPDATEDBY_ID)
|
6918
|
references PUBLIC.USERACCOUNT;
|
6919
|
|
6920
|
alter table PUBLIC.AGENTBASE
|
6921
|
add constraint FKjvl6wijugr6w0mmw3l026n8i2
|
6922
|
foreign key (ISPARTOF_ID)
|
6923
|
references PUBLIC.AGENTBASE;
|
6924
|
|
6925
|
alter table PUBLIC.AGENTBASE_ADDRESS
|
6926
|
add constraint FKcntyphn1hjdlm76nnrwkkyccq
|
6927
|
foreign key (CONTACT_ADDRESSES_ID)
|
6928
|
references PUBLIC.ADDRESS;
|
6929
|
|
6930
|
alter table PUBLIC.AGENTBASE_ADDRESS
|
6931
|
add constraint FKmxdedf5wdw16eiascup6dfw67
|
6932
|
foreign key (AGENTBASE_ID)
|
6933
|
references PUBLIC.AGENTBASE;
|
6934
|
|
6935
|
alter table PUBLIC.AGENTBASE_ADDRESS_AUD
|
6936
|
add constraint FKg2o3b80cmdhx50nu234b3jp5n
|
6937
|
foreign key (REV)
|
6938
|
references PUBLIC.AUDITEVENT;
|
6939
|
|
6940
|
alter table PUBLIC.AGENTBASE_AGENTBASE
|
6941
|
add constraint FKd2e8c7dryqv5va74t23qs31hy
|
6942
|
foreign key (TEAMMEMBERS_ID)
|
6943
|
references PUBLIC.AGENTBASE;
|
6944
|
|
6945
|
alter table PUBLIC.AGENTBASE_AGENTBASE
|
6946
|
add constraint FKmvi8barhxvk72b04pkayyblrt
|
6947
|
foreign key (TEAM_ID)
|
6948
|
references PUBLIC.AGENTBASE;
|
6949
|
|
6950
|
alter table PUBLIC.AGENTBASE_AGENTBASE_AUD
|
6951
|
add constraint FK51egqestirnkim270xisp5grm
|
6952
|
foreign key (REV)
|
6953
|
references PUBLIC.AUDITEVENT;
|
6954
|
|
6955
|
alter table PUBLIC.AGENTBASE_ANNOTATION
|
6956
|
add constraint FKcmc6ttg9588euaxt5yf893gdg
|
6957
|
foreign key (ANNOTATIONS_ID)
|
6958
|
references PUBLIC.ANNOTATION;
|
6959
|
|
6960
|
alter table PUBLIC.AGENTBASE_ANNOTATION
|
6961
|
add constraint FKoyl6wb0lbo2c7lyeywgxwj3bb
|
6962
|
foreign key (AGENTBASE_ID)
|
6963
|
references PUBLIC.AGENTBASE;
|
6964
|
|
6965
|
alter table PUBLIC.AGENTBASE_ANNOTATION_AUD
|
6966
|
add constraint FKqin12utbh2o7i0acp5huj9rr
|
6967
|
foreign key (REV)
|
6968
|
references PUBLIC.AUDITEVENT;
|
6969
|
|
6970
|
alter table PUBLIC.AGENTBASE_AUD
|
6971
|
add constraint FKgym7blcrrp35xt8k8qv38yfaj
|
6972
|
foreign key (REV)
|
6973
|
references PUBLIC.AUDITEVENT;
|
6974
|
|
6975
|
alter table PUBLIC.AGENTBASE_CONTACT_EMAILADDRESSES
|
6976
|
add constraint FK9dh06kdcj7eled8svb3wb5n1l
|
6977
|
foreign key (AGENTBASE_ID)
|
6978
|
references PUBLIC.AGENTBASE;
|
6979
|
|
6980
|
alter table PUBLIC.AGENTBASE_CONTACT_EMAILADDRESSES_AUD
|
6981
|
add constraint FKb6duaqf53qdj42ylb7gjmh368
|
6982
|
foreign key (REV)
|
6983
|
references PUBLIC.AUDITEVENT;
|
6984
|
|
6985
|
alter table PUBLIC.AGENTBASE_CONTACT_FAXNUMBERS
|
6986
|
add constraint FKlhdtkf6picqn8jj287yn1byr4
|
6987
|
foreign key (AGENTBASE_ID)
|
6988
|
references PUBLIC.AGENTBASE;
|
6989
|
|
6990
|
alter table PUBLIC.AGENTBASE_CONTACT_FAXNUMBERS_AUD
|
6991
|
add constraint FK34nu6a5fxdq0j37ai3k2ta2kt
|
6992
|
foreign key (REV)
|
6993
|
references PUBLIC.AUDITEVENT;
|
6994
|
|
6995
|
alter table PUBLIC.AGENTBASE_CONTACT_PHONENUMBERS
|
6996
|
add constraint FKkafujnx69xdskrhrdxy6r76gr
|
6997
|
foreign key (AGENTBASE_ID)
|
6998
|
references PUBLIC.AGENTBASE;
|
6999
|
|
7000
|
alter table PUBLIC.AGENTBASE_CONTACT_PHONENUMBERS_AUD
|
7001
|
add constraint FKk88m67ah84utcl6l16ty7axpk
|
7002
|
foreign key (REV)
|
7003
|
references PUBLIC.AUDITEVENT;
|
7004
|
|
7005
|
alter table PUBLIC.AGENTBASE_CONTACT_URLS
|
7006
|
add constraint FKfcu7wbui8v00fr88g59boe9o
|
7007
|
foreign key (AGENTBASE_ID)
|
7008
|
references PUBLIC.AGENTBASE;
|
7009
|
|
7010
|
alter table PUBLIC.AGENTBASE_CONTACT_URLS_AUD
|
7011
|
add constraint FK2js3r2a2k96bd0pmas609tn1p
|
7012
|
foreign key (REV)
|
7013
|
references PUBLIC.AUDITEVENT;
|
7014
|
|
7015
|
alter table PUBLIC.AGENTBASE_CREDIT
|
7016
|
add constraint FK4jqjvouwnpubyyg5986gmtier
|
7017
|
foreign key (CREDITS_ID)
|
7018
|
references PUBLIC.CREDIT;
|
7019
|
|
7020
|
alter table PUBLIC.AGENTBASE_CREDIT
|
7021
|
add constraint FKe3c1smld4f75h801gpf37px61
|
7022
|
foreign key (AGENTBASE_ID)
|
7023
|
references PUBLIC.AGENTBASE;
|
7024
|
|
7025
|
alter table PUBLIC.AGENTBASE_CREDIT_AUD
|
7026
|
add constraint FK1m26u4jlwklbadwc72i5ooasj
|
7027
|
foreign key (REV)
|
7028
|
references PUBLIC.AUDITEVENT;
|
7029
|
|
7030
|
alter table PUBLIC.AGENTBASE_DEFINEDTERMBASE
|
7031
|
add constraint FK3xsxg9u6vdogocdt9lyce9oib
|
7032
|
foreign key (TYPES_ID)
|
7033
|
references PUBLIC.DEFINEDTERMBASE;
|
7034
|
|
7035
|
alter table PUBLIC.AGENTBASE_DEFINEDTERMBASE
|
7036
|
add constraint FKgi2m4vopmip0cwkn9664vfseb
|
7037
|
foreign key (INSTITUTION_ID)
|
7038
|
references PUBLIC.AGENTBASE;
|
7039
|
|
7040
|
alter table PUBLIC.AGENTBASE_DEFINEDTERMBASE_AUD
|
7041
|
add constraint FKrx5bgsbsgkeknolsp0rrvk6on
|
7042
|
foreign key (REV)
|
7043
|
references PUBLIC.AUDITEVENT;
|
7044
|
|
7045
|
alter table PUBLIC.AGENTBASE_EXTENSION
|
7046
|
add constraint FKqplrrcfus7mccy5ns4jc91aru
|
7047
|
foreign key (EXTENSIONS_ID)
|
7048
|
references PUBLIC.EXTENSION;
|
7049
|
|
7050
|
alter table PUBLIC.AGENTBASE_EXTENSION
|
7051
|
add constraint FKontmchwnmmisbs0b5k292mr86
|
7052
|
foreign key (AGENTBASE_ID)
|
7053
|
references PUBLIC.AGENTBASE;
|
7054
|
|
7055
|
alter table PUBLIC.AGENTBASE_EXTENSION_AUD
|
7056
|
add constraint FKnj6at41pqo6rg5ygnvjqc8rn5
|
7057
|
foreign key (REV)
|
7058
|
references PUBLIC.AUDITEVENT;
|
7059
|
|
7060
|
alter table PUBLIC.AGENTBASE_EXTERNALLINK
|
7061
|
add constraint FKuxv4hhugvfe6mcsfunb5650i
|
7062
|
foreign key (LINKS_ID)
|
7063
|
references PUBLIC.EXTERNALLINK;
|
7064
|
|
7065
|
alter table PUBLIC.AGENTBASE_EXTERNALLINK
|
7066
|
add constraint FKfxhopx04ndnytutki834yuwfe
|
7067
|
foreign key (AGENTBASE_ID)
|
7068
|
references PUBLIC.AGENTBASE;
|
7069
|
|
7070
|
alter table PUBLIC.AGENTBASE_EXTERNALLINK_AUD
|
7071
|
add constraint FK34q7mjokjqoxsml11wlh0xplh
|
7072
|
foreign key (REV)
|
7073
|
references PUBLIC.AUDITEVENT;
|
7074
|
|
7075
|
alter table PUBLIC.AGENTBASE_IDENTIFIER
|
7076
|
add constraint FKqxkj1a94db5mia7yys54reold
|
7077
|
foreign key (IDENTIFIERS_ID)
|
7078
|
references PUBLIC.IDENTIFIER;
|
7079
|
|
7080
|
alter table PUBLIC.AGENTBASE_IDENTIFIER
|
7081
|
add constraint FKhl4qwchibscv1g8dylrqd1w4
|
7082
|
foreign key (AGENTBASE_ID)
|
7083
|
references PUBLIC.AGENTBASE;
|
7084
|
|
7085
|
alter table PUBLIC.AGENTBASE_IDENTIFIER_AUD
|
7086
|
add constraint FKi0pufao4s2f8ihdmmn6fyyy0q
|
7087
|
foreign key (REV)
|
7088
|
references PUBLIC.AUDITEVENT;
|
7089
|
|
7090
|
alter table PUBLIC.AGENTBASE_MARKER
|
7091
|
add constraint FK3dt51ouyb34v9chrsyn59e9ei
|
7092
|
foreign key (MARKERS_ID)
|
7093
|
references PUBLIC.MARKER;
|
7094
|
|
7095
|
alter table PUBLIC.AGENTBASE_MARKER
|
7096
|
add constraint FK8pnkerbko59y3rpb89yiqj95l
|
7097
|
foreign key (AGENTBASE_ID)
|
7098
|
references PUBLIC.AGENTBASE;
|
7099
|
|
7100
|
alter table PUBLIC.AGENTBASE_MARKER_AUD
|
7101
|
add constraint FKss43tmhb68lxclf5kei792e9s
|
7102
|
foreign key (REV)
|
7103
|
references PUBLIC.AUDITEVENT;
|
7104
|
|
7105
|
alter table PUBLIC.AGENTBASE_MEDIA
|
7106
|
add constraint FK222xuab15mhtj8yipui46t07o
|
7107
|
foreign key (MEDIA_ID)
|
7108
|
references PUBLIC.MEDIA;
|
7109
|
|
7110
|
alter table PUBLIC.AGENTBASE_MEDIA
|
7111
|
add constraint FKnioh9oqclhvmrrcr7fg9mms9x
|
7112
|
foreign key (AGENTBASE_ID)
|
7113
|
references PUBLIC.AGENTBASE;
|
7114
|
|
7115
|
alter table PUBLIC.AGENTBASE_MEDIA_AUD
|
7116
|
add constraint FKolslg458ivq55og3m5luc36j6
|
7117
|
foreign key (REV)
|
7118
|
references PUBLIC.AUDITEVENT;
|
7119
|
|
7120
|
alter table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE
|
7121
|
add constraint FKh2kpg4c2wn20f49iwfrhxg2ml
|
7122
|
foreign key (SOURCES_ID)
|
7123
|
references PUBLIC.ORIGINALSOURCEBASE;
|
7124
|
|
7125
|
alter table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE
|
7126
|
add constraint FKsuxbcb55jrldg0nbnl0t4r82w
|
7127
|
foreign key (AGENTBASE_ID)
|
7128
|
references PUBLIC.AGENTBASE;
|
7129
|
|
7130
|
alter table PUBLIC.AGENTBASE_ORIGINALSOURCEBASE_AUD
|
7131
|
add constraint FK41x4x6j13w5khoshqx4b1ah3n
|
7132
|
foreign key (REV)
|
7133
|
references PUBLIC.AUDITEVENT;
|
7134
|
|
7135
|
alter table PUBLIC.AGENTBASE_RIGHTSINFO
|
7136
|
add constraint FKie0if1mwaa72h1w6ui40w8t36
|
7137
|
foreign key (RIGHTS_ID)
|
7138
|
references PUBLIC.RIGHTSINFO;
|
7139
|
|
7140
|
alter table PUBLIC.AGENTBASE_RIGHTSINFO
|
7141
|
add constraint FK6743kq4ef45qu746lbolkmyas
|
7142
|
foreign key (AGENTBASE_ID)
|
7143
|
references PUBLIC.AGENTBASE;
|
7144
|
|
7145
|
alter table PUBLIC.AGENTBASE_RIGHTSINFO_AUD
|
7146
|
add constraint FK9isndson1t8p0v7y2qmeff0s4
|
7147
|
foreign key (REV)
|
7148
|
references PUBLIC.AUDITEVENT;
|
7149
|
|
7150
|
alter table PUBLIC.AMPLIFICATION
|
7151
|
add constraint FK1xojysrvwwfnebyex3e31w853
|
7152
|
foreign key (CREATEDBY_ID)
|
7153
|
references PUBLIC.USERACCOUNT;
|
7154
|
|
7155
|
alter table PUBLIC.AMPLIFICATION
|
7156
|
add constraint FKcae8io9d4s2myw32sgfv94hyf
|
7157
|
foreign key (UPDATEDBY_ID)
|
7158
|
references PUBLIC.USERACCOUNT;
|
7159
|
|
7160
|
alter table PUBLIC.AMPLIFICATION
|
7161
|
add constraint FKngpl7af5f9xwjcf37uph7evhu
|
7162
|
foreign key (ACTOR_ID)
|
7163
|
references PUBLIC.AGENTBASE;
|
7164
|
|
7165
|
alter table PUBLIC.AMPLIFICATION
|
7166
|
add constraint FKqsxpw3iaiq0t90w20u0rcj3bf
|
7167
|
foreign key (DNAMARKER_ID)
|
7168
|
references PUBLIC.DEFINEDTERMBASE;
|
7169
|
|
7170
|
alter table PUBLIC.AMPLIFICATION
|
7171
|
add constraint FKoi0u606eqgyxlap5wks2vafu3
|
7172
|
foreign key (FORWARDPRIMER_ID)
|
7173
|
references PUBLIC.PRIMER;
|
7174
|
|
7175
|
alter table PUBLIC.AMPLIFICATION
|
7176
|
add constraint FK6i5gmvv7afcwlvktim38mru0d
|
7177
|
foreign key (INSTITUTION_ID)
|
7178
|
references PUBLIC.AGENTBASE;
|
7179
|
|
7180
|
alter table PUBLIC.AMPLIFICATION
|
7181
|
add constraint FKbyugjve8vxmkrj8fo4cpnqjxj
|
7182
|
foreign key (PURIFICATION_ID)
|
7183
|
references PUBLIC.MATERIALORMETHODEVENT;
|
7184
|
|
7185
|
alter table PUBLIC.AMPLIFICATION
|
7186
|
add constraint FKik8lk5fhby7chv5gl5bvnjvbu
|
7187
|
foreign key (REVERSEPRIMER_ID)
|
7188
|
references PUBLIC.PRIMER;
|
7189
|
|
7190
|
alter table PUBLIC.AMPLIFICATION_ANNOTATION
|
7191
|
add constraint FKlee27egderups2a2yl54nexs7
|
7192
|
foreign key (ANNOTATIONS_ID)
|
7193
|
references PUBLIC.ANNOTATION;
|
7194
|
|
7195
|
alter table PUBLIC.AMPLIFICATION_ANNOTATION
|
7196
|
add constraint FKgdih74ol7iylvsxyvth9qrn1q
|
7197
|
foreign key (AMPLIFICATION_ID)
|
7198
|
references PUBLIC.AMPLIFICATION;
|
7199
|
|
7200
|
alter table PUBLIC.AMPLIFICATION_ANNOTATION_AUD
|
7201
|
add constraint FK88obviycurtpk53imaxsnb9mj
|
7202
|
foreign key (REV)
|
7203
|
references PUBLIC.AUDITEVENT;
|
7204
|
|
7205
|
alter table PUBLIC.AMPLIFICATION_AUD
|
7206
|
add constraint FK8y28ce3b2buhaym766upy07av
|
7207
|
foreign key (REV)
|
7208
|
references PUBLIC.AUDITEVENT;
|
7209
|
|
7210
|
alter table PUBLIC.AMPLIFICATION_MARKER
|
7211
|
add constraint FKo6k308tqbxuvfqvgdduo1y77b
|
7212
|
foreign key (MARKERS_ID)
|
7213
|
references PUBLIC.MARKER;
|
7214
|
|
7215
|
alter table PUBLIC.AMPLIFICATION_MARKER
|
7216
|
add constraint FK8nhayjmq76u85l8n22vsyp5fh
|
7217
|
foreign key (AMPLIFICATION_ID)
|
7218
|
references PUBLIC.AMPLIFICATION;
|
7219
|
|
7220
|
alter table PUBLIC.AMPLIFICATION_MARKER_AUD
|
7221
|
add constraint FK9rqvwfbub3tm9wblf6tek39qp
|
7222
|
foreign key (REV)
|
7223
|
references PUBLIC.AUDITEVENT;
|
7224
|
|
7225
|
alter table PUBLIC.AMPLIFICATIONRESULT
|
7226
|
add constraint FK3b3d3s3tn381k1vninqdxhheu
|
7227
|
foreign key (CREATEDBY_ID)
|
7228
|
references PUBLIC.USERACCOUNT;
|
7229
|
|
7230
|
alter table PUBLIC.AMPLIFICATIONRESULT
|
7231
|
add constraint FKo3b1j8e8futl2t5soe2ellcm1
|
7232
|
foreign key (UPDATEDBY_ID)
|
7233
|
references PUBLIC.USERACCOUNT;
|
7234
|
|
7235
|
alter table PUBLIC.AMPLIFICATIONRESULT
|
7236
|
add constraint FK6n6jbo188pd398ilhn3v9kykb
|
7237
|
foreign key (AMPLIFICATION_ID)
|
7238
|
references PUBLIC.AMPLIFICATION;
|
7239
|
|
7240
|
alter table PUBLIC.AMPLIFICATIONRESULT
|
7241
|
add constraint FK90hpg93frjq5hcafy8rd9yte4
|
7242
|
foreign key (CLONING_ID)
|
7243
|
references PUBLIC.MATERIALORMETHODEVENT;
|
7244
|
|
7245
|
alter table PUBLIC.AMPLIFICATIONRESULT
|
7246
|
add constraint FK9wk7u0bkjbgubhpysj47cqlci
|
7247
|
foreign key (DNASAMPLE_ID)
|
7248
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
7249
|
|
7250
|
alter table PUBLIC.AMPLIFICATIONRESULT
|
7251
|
add constraint FK5qmolsiw4ngx75bypxdoo7agy
|
7252
|
foreign key (GELPHOTO_ID)
|
7253
|
references PUBLIC.MEDIA;
|
7254
|
|
7255
|
alter table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION
|
7256
|
add constraint FK12e1stp1n3hvgdtpaviyyw49w
|
7257
|
foreign key (ANNOTATIONS_ID)
|
7258
|
references PUBLIC.ANNOTATION;
|
7259
|
|
7260
|
alter table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION
|
7261
|
add constraint FKae2qa8p6p11ewqtvnm7fwh9t9
|
7262
|
foreign key (AMPLIFICATIONRESULT_ID)
|
7263
|
references PUBLIC.AMPLIFICATIONRESULT;
|
7264
|
|
7265
|
alter table PUBLIC.AMPLIFICATIONRESULT_ANNOTATION_AUD
|
7266
|
add constraint FKnqycnsfacq99qo4rxs3jgs7tc
|
7267
|
foreign key (REV)
|
7268
|
references PUBLIC.AUDITEVENT;
|
7269
|
|
7270
|
alter table PUBLIC.AMPLIFICATIONRESULT_AUD
|
7271
|
add constraint FKgl3drut58mf5ioxm5x6h50b5
|
7272
|
foreign key (REV)
|
7273
|
references PUBLIC.AUDITEVENT;
|
7274
|
|
7275
|
alter table PUBLIC.AMPLIFICATIONRESULT_MARKER
|
7276
|
add constraint FKovlgwjrb3bh1xo987f7q3jos0
|
7277
|
foreign key (MARKERS_ID)
|
7278
|
references PUBLIC.MARKER;
|
7279
|
|
7280
|
alter table PUBLIC.AMPLIFICATIONRESULT_MARKER
|
7281
|
add constraint FKevfdo56aoakkul7r6mrqpg4u7
|
7282
|
foreign key (AMPLIFICATIONRESULT_ID)
|
7283
|
references PUBLIC.AMPLIFICATIONRESULT;
|
7284
|
|
7285
|
alter table PUBLIC.AMPLIFICATIONRESULT_MARKER_AUD
|
7286
|
add constraint FKebym14g0cbujys5kyovs4fvd2
|
7287
|
foreign key (REV)
|
7288
|
references PUBLIC.AUDITEVENT;
|
7289
|
|
7290
|
alter table PUBLIC.ANNOTATION
|
7291
|
add constraint FKewex7292t9d0usppo9nx6k1d7
|
7292
|
foreign key (CREATEDBY_ID)
|
7293
|
references PUBLIC.USERACCOUNT;
|
7294
|
|
7295
|
alter table PUBLIC.ANNOTATION
|
7296
|
add constraint FKfuglud1lpnbhtm42q5aao09ct
|
7297
|
foreign key (UPDATEDBY_ID)
|
7298
|
references PUBLIC.USERACCOUNT;
|
7299
|
|
7300
|
alter table PUBLIC.ANNOTATION
|
7301
|
add constraint FK8v8qer98budr20lld7le6u5ye
|
7302
|
foreign key (LANGUAGE_ID)
|
7303
|
references PUBLIC.DEFINEDTERMBASE;
|
7304
|
|
7305
|
alter table PUBLIC.ANNOTATION
|
7306
|
add constraint FKl4hcvr3bn48w9mnqlo1yqhhbi
|
7307
|
foreign key (ANNOTATIONTYPE_ID)
|
7308
|
references PUBLIC.DEFINEDTERMBASE;
|
7309
|
|
7310
|
alter table PUBLIC.ANNOTATION
|
7311
|
add constraint FKreyb0muyukftpon2o37p3ub48
|
7312
|
foreign key (COMMENTATOR_ID)
|
7313
|
references PUBLIC.AGENTBASE;
|
7314
|
|
7315
|
alter table PUBLIC.ANNOTATION_ANNOTATION
|
7316
|
add constraint FKmmm2stvvgqwuytfrrf5jyj3td
|
7317
|
foreign key (ANNOTATIONS_ID)
|
7318
|
references PUBLIC.ANNOTATION;
|
7319
|
|
7320
|
alter table PUBLIC.ANNOTATION_ANNOTATION
|
7321
|
add constraint FK75ew0i9xcjt1uc5pw7gq6hipa
|
7322
|
foreign key (ANNOTATION_ID)
|
7323
|
references PUBLIC.ANNOTATION;
|
7324
|
|
7325
|
alter table PUBLIC.ANNOTATION_ANNOTATION_AUD
|
7326
|
add constraint FKg11kfnkhiednxngs811wtllnn
|
7327
|
foreign key (REV)
|
7328
|
references PUBLIC.AUDITEVENT;
|
7329
|
|
7330
|
alter table PUBLIC.ANNOTATION_AUD
|
7331
|
add constraint FK5389365adrqa3haak3mggfhcu
|
7332
|
foreign key (REV)
|
7333
|
references PUBLIC.AUDITEVENT;
|
7334
|
|
7335
|
alter table PUBLIC.ANNOTATION_MARKER
|
7336
|
add constraint FKgvss9aa3158kjrg2kn160sjdf
|
7337
|
foreign key (MARKERS_ID)
|
7338
|
references PUBLIC.MARKER;
|
7339
|
|
7340
|
alter table PUBLIC.ANNOTATION_MARKER
|
7341
|
add constraint FKq6nns47wvop7chd6uufmkl6w9
|
7342
|
foreign key (ANNOTATION_ID)
|
7343
|
references PUBLIC.ANNOTATION;
|
7344
|
|
7345
|
alter table PUBLIC.ANNOTATION_MARKER_AUD
|
7346
|
add constraint FK678dbuu0lgcvu88xpllq1nug
|
7347
|
foreign key (REV)
|
7348
|
references PUBLIC.AUDITEVENT;
|
7349
|
|
7350
|
alter table PUBLIC.AUTHORITY
|
7351
|
add constraint FK3057y4veq7v9ujmotr0fhtwmj
|
7352
|
foreign key (CREATEDBY_ID)
|
7353
|
references PUBLIC.USERACCOUNT;
|
7354
|
|
7355
|
alter table PUBLIC.CDMLINK
|
7356
|
add constraint FK2yp6walj1xmfrq8d4t1io1dow
|
7357
|
foreign key (CREATEDBY_ID)
|
7358
|
references PUBLIC.USERACCOUNT;
|
7359
|
|
7360
|
alter table PUBLIC.CDMLINK
|
7361
|
add constraint FKp1ol20hdsrqkkrvrajpt9vdqf
|
7362
|
foreign key (UPDATEDBY_ID)
|
7363
|
references PUBLIC.USERACCOUNT;
|
7364
|
|
7365
|
alter table PUBLIC.CDMLINK
|
7366
|
add constraint FKkbucit7cvksfgwbggw1x3981c
|
7367
|
foreign key (TAXON_ID)
|
7368
|
references PUBLIC.TAXONBASE;
|
7369
|
|
7370
|
alter table PUBLIC.CDMLINK
|
7371
|
add constraint FKd207pj50xmykcsi2w4ef3bofw
|
7372
|
foreign key (AGENT_ID)
|
7373
|
references PUBLIC.AGENTBASE;
|
7374
|
|
7375
|
alter table PUBLIC.CDMLINK
|
7376
|
add constraint FKirtrn7cxv287a4fetv98medff
|
7377
|
foreign key (ANNOTATION_ID)
|
7378
|
references PUBLIC.ANNOTATION;
|
7379
|
|
7380
|
alter table PUBLIC.CDMLINK
|
7381
|
add constraint FK2qqqvmdr2r8n2o6m0kd06wp6j
|
7382
|
foreign key (KEY_ID)
|
7383
|
references PUBLIC.POLYTOMOUSKEY;
|
7384
|
|
7385
|
alter table PUBLIC.CDMLINK
|
7386
|
add constraint FKguxg4v53b6ep1frao8yvw5it4
|
7387
|
foreign key (LANGUAGESTRING_ID)
|
7388
|
references PUBLIC.LANGUAGESTRING;
|
7389
|
|
7390
|
alter table PUBLIC.CDMLINK
|
7391
|
add constraint FKkfpd3x5kyxrj75jj85gbr6rss
|
7392
|
foreign key (MEDIA_ID)
|
7393
|
references PUBLIC.MEDIA;
|
7394
|
|
7395
|
alter table PUBLIC.CDMLINK
|
7396
|
add constraint FKqcjl52fxkqy6583moai8i6u42
|
7397
|
foreign key (OCCURRENCE_ID)
|
7398
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
7399
|
|
7400
|
alter table PUBLIC.CDMLINK
|
7401
|
add constraint FKpsulp6rvar43f25ta07qm9cch
|
7402
|
foreign key (REFERENCE_ID)
|
7403
|
references PUBLIC.REFERENCE;
|
7404
|
|
7405
|
alter table PUBLIC.CDMLINK
|
7406
|
add constraint FK3iwuprr3aqi86s660lf8vai1v
|
7407
|
foreign key (SOURCE_ID)
|
7408
|
references PUBLIC.ORIGINALSOURCEBASE;
|
7409
|
|
7410
|
alter table PUBLIC.CDMLINK
|
7411
|
add constraint FKdbjn49d5nupj3efo3e0q89uji
|
7412
|
foreign key (TAXONNAME_ID)
|
7413
|
references PUBLIC.TAXONNAME;
|
7414
|
|
7415
|
alter table PUBLIC.CDMLINK
|
7416
|
add constraint FKngbopmjq8vx38ii99ghfw7ekm
|
7417
|
foreign key (DESCRIPTION_ID)
|
7418
|
references PUBLIC.DESCRIPTIONBASE;
|
7419
|
|
7420
|
alter table PUBLIC.CDMLINK_AUD
|
7421
|
add constraint FK2c5m4aykhi6hj6udhihurfe0e
|
7422
|
foreign key (REV)
|
7423
|
references PUBLIC.AUDITEVENT;
|
7424
|
|
7425
|
alter table PUBLIC.CDMMETADATA
|
7426
|
add constraint FK3atmavb2wt4os2fnegbwvgfyq
|
7427
|
foreign key (CREATEDBY_ID)
|
7428
|
references PUBLIC.USERACCOUNT;
|
7429
|
|
7430
|
alter table PUBLIC.CLASSIFICATION
|
7431
|
add constraint FK9f8rfi8qils6hqua3y6m9883l
|
7432
|
foreign key (CREATEDBY_ID)
|
7433
|
references PUBLIC.USERACCOUNT;
|
7434
|
|
7435
|
alter table PUBLIC.CLASSIFICATION
|
7436
|
add constraint FKnh8m8dgd468dyrwed05mdj12s
|
7437
|
foreign key (UPDATEDBY_ID)
|
7438
|
references PUBLIC.USERACCOUNT;
|
7439
|
|
7440
|
alter table PUBLIC.CLASSIFICATION
|
7441
|
add constraint FKre50258tldwfs0mgtdd0x41iu
|
7442
|
foreign key (NAME_ID)
|
7443
|
references PUBLIC.LANGUAGESTRING;
|
7444
|
|
7445
|
alter table PUBLIC.CLASSIFICATION
|
7446
|
add constraint FKm669u8ptjck3dl7xc55dc3rca
|
7447
|
foreign key (ROOTNODE_ID)
|
7448
|
references PUBLIC.TAXONNODE;
|
7449
|
|
7450
|
alter table PUBLIC.CLASSIFICATION
|
7451
|
add constraint FKm9wq7hpdgvt1xpqna7ho1hsv1
|
7452
|
foreign key (SOURCE_ID)
|
7453
|
references PUBLIC.ORIGINALSOURCEBASE;
|
7454
|
|
7455
|
alter table PUBLIC.CLASSIFICATION_ANNOTATION
|
7456
|
add constraint FKkkx63kq2tmusrgh0dwj1yub2s
|
7457
|
foreign key (ANNOTATIONS_ID)
|
7458
|
references PUBLIC.ANNOTATION;
|
7459
|
|
7460
|
alter table PUBLIC.CLASSIFICATION_ANNOTATION
|
7461
|
add constraint FKqldoiq8d02nf37knijsvofypu
|
7462
|
foreign key (CLASSIFICATION_ID)
|
7463
|
references PUBLIC.CLASSIFICATION;
|
7464
|
|
7465
|
alter table PUBLIC.CLASSIFICATION_ANNOTATION_AUD
|
7466
|
add constraint FKfahyc4nx8mf72pw48o6ddfcef
|
7467
|
foreign key (REV)
|
7468
|
references PUBLIC.AUDITEVENT;
|
7469
|
|
7470
|
alter table PUBLIC.CLASSIFICATION_AUD
|
7471
|
add constraint FKrb02o4ahqu6d5ej90gq94l3oy
|
7472
|
foreign key (REV)
|
7473
|
references PUBLIC.AUDITEVENT;
|
7474
|
|
7475
|
alter table PUBLIC.CLASSIFICATION_CREDIT
|
7476
|
add constraint FKgti801rdpco3otj4uherswy01
|
7477
|
foreign key (CREDITS_ID)
|
7478
|
references PUBLIC.CREDIT;
|
7479
|
|
7480
|
alter table PUBLIC.CLASSIFICATION_CREDIT
|
7481
|
add constraint FKiqgku2djno6q007iws2aojb0b
|
7482
|
foreign key (CLASSIFICATION_ID)
|
7483
|
references PUBLIC.CLASSIFICATION;
|
7484
|
|
7485
|
alter table PUBLIC.CLASSIFICATION_CREDIT_AUD
|
7486
|
add constraint FKjk5ian5883j2q6miyr80r4xyg
|
7487
|
foreign key (REV)
|
7488
|
references PUBLIC.AUDITEVENT;
|
7489
|
|
7490
|
alter table PUBLIC.CLASSIFICATION_DESCRIPTION
|
7491
|
add constraint FKqd3wcov08none01qmt95uo6j6
|
7492
|
foreign key (DESCRIPTION_ID)
|
7493
|
references PUBLIC.LANGUAGESTRING;
|
7494
|
|
7495
|
alter table PUBLIC.CLASSIFICATION_DESCRIPTION
|
7496
|
add constraint FK2rlp2ut05bk0m52vt9m5vjkwa
|
7497
|
foreign key (DESCRIPTION_MAPKEY_ID)
|
7498
|
references PUBLIC.DEFINEDTERMBASE;
|
7499
|
|
7500
|
alter table PUBLIC.CLASSIFICATION_DESCRIPTION
|
7501
|
add constraint FKievv6lpbbe1baasr1opv2eoi3
|
7502
|
foreign key (CLASSIFICATION_ID)
|
7503
|
references PUBLIC.CLASSIFICATION;
|
7504
|
|
7505
|
alter table PUBLIC.CLASSIFICATION_DESCRIPTION_AUD
|
7506
|
add constraint FKnrnp8ov7fy8wi27fcp37j6whv
|
7507
|
foreign key (REV)
|
7508
|
references PUBLIC.AUDITEVENT;
|
7509
|
|
7510
|
alter table PUBLIC.CLASSIFICATION_EXTENSION
|
7511
|
add constraint FKhalygbjfuwa98ke5r7c51sqx7
|
7512
|
foreign key (EXTENSIONS_ID)
|
7513
|
references PUBLIC.EXTENSION;
|
7514
|
|
7515
|
alter table PUBLIC.CLASSIFICATION_EXTENSION
|
7516
|
add constraint FKadgbwxt0o22sbcf0bbaa71rio
|
7517
|
foreign key (CLASSIFICATION_ID)
|
7518
|
references PUBLIC.CLASSIFICATION;
|
7519
|
|
7520
|
alter table PUBLIC.CLASSIFICATION_EXTENSION_AUD
|
7521
|
add constraint FKdgr7w9gdnnsfpmp4ai2onba7h
|
7522
|
foreign key (REV)
|
7523
|
references PUBLIC.AUDITEVENT;
|
7524
|
|
7525
|
alter table PUBLIC.CLASSIFICATION_EXTERNALLINK
|
7526
|
add constraint FKpjfx3r688od51i949uu8xrfyx
|
7527
|
foreign key (LINKS_ID)
|
7528
|
references PUBLIC.EXTERNALLINK;
|
7529
|
|
7530
|
alter table PUBLIC.CLASSIFICATION_EXTERNALLINK
|
7531
|
add constraint FK8m123d5coqp3nlip05b21fdc5
|
7532
|
foreign key (CLASSIFICATION_ID)
|
7533
|
references PUBLIC.CLASSIFICATION;
|
7534
|
|
7535
|
alter table PUBLIC.CLASSIFICATION_EXTERNALLINK_AUD
|
7536
|
add constraint FKl8g143jqbl82fbqx2wpf3e65x
|
7537
|
foreign key (REV)
|
7538
|
references PUBLIC.AUDITEVENT;
|
7539
|
|
7540
|
alter table PUBLIC.CLASSIFICATION_GEOSCOPE
|
7541
|
add constraint FKqsqhnw148jg963e9nd0kte667
|
7542
|
foreign key (GEOSCOPES_ID)
|
7543
|
references PUBLIC.DEFINEDTERMBASE;
|
7544
|
|
7545
|
alter table PUBLIC.CLASSIFICATION_GEOSCOPE
|
7546
|
add constraint FK842o0rtid7mx5864hwotpwx7a
|
7547
|
foreign key (CLASSIFICATION_ID)
|
7548
|
references PUBLIC.CLASSIFICATION;
|
7549
|
|
7550
|
alter table PUBLIC.CLASSIFICATION_GEOSCOPE_AUD
|
7551
|
add constraint FKirn88iems71co6fdidq0puob5
|
7552
|
foreign key (REV)
|
7553
|
references PUBLIC.AUDITEVENT;
|
7554
|
|
7555
|
alter table PUBLIC.CLASSIFICATION_IDENTIFIER
|
7556
|
add constraint FKsbwcq73m161m1v9agued800mv
|
7557
|
foreign key (IDENTIFIERS_ID)
|
7558
|
references PUBLIC.IDENTIFIER;
|
7559
|
|
7560
|
alter table PUBLIC.CLASSIFICATION_IDENTIFIER
|
7561
|
add constraint FKe60yves5lfhxw5o9f2gp467vo
|
7562
|
foreign key (CLASSIFICATION_ID)
|
7563
|
references PUBLIC.CLASSIFICATION;
|
7564
|
|
7565
|
alter table PUBLIC.CLASSIFICATION_IDENTIFIER_AUD
|
7566
|
add constraint FKj464e6ji7uon714l6ybkcnyyw
|
7567
|
foreign key (REV)
|
7568
|
references PUBLIC.AUDITEVENT;
|
7569
|
|
7570
|
alter table PUBLIC.CLASSIFICATION_MARKER
|
7571
|
add constraint FK3en6pf3bodbmpcxn4arvxcufv
|
7572
|
foreign key (MARKERS_ID)
|
7573
|
references PUBLIC.MARKER;
|
7574
|
|
7575
|
alter table PUBLIC.CLASSIFICATION_MARKER
|
7576
|
add constraint FK9639swl12cbttnmandeim0uhd
|
7577
|
foreign key (CLASSIFICATION_ID)
|
7578
|
references PUBLIC.CLASSIFICATION;
|
7579
|
|
7580
|
alter table PUBLIC.CLASSIFICATION_MARKER_AUD
|
7581
|
add constraint FKsvqwt8nf9rd74tsn3ygd2ro2h
|
7582
|
foreign key (REV)
|
7583
|
references PUBLIC.AUDITEVENT;
|
7584
|
|
7585
|
alter table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE
|
7586
|
add constraint FK5ahc7mh5ic8aumnta0e931g1p
|
7587
|
foreign key (SOURCES_ID)
|
7588
|
references PUBLIC.ORIGINALSOURCEBASE;
|
7589
|
|
7590
|
alter table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE
|
7591
|
add constraint FKktstbmbgi695favr1onon81mf
|
7592
|
foreign key (CLASSIFICATION_ID)
|
7593
|
references PUBLIC.CLASSIFICATION;
|
7594
|
|
7595
|
alter table PUBLIC.CLASSIFICATION_ORIGINALSOURCEBASE_AUD
|
7596
|
add constraint FKro4jb1r6s43o5g85t7gsq30de
|
7597
|
foreign key (REV)
|
7598
|
references PUBLIC.AUDITEVENT;
|
7599
|
|
7600
|
alter table PUBLIC.CLASSIFICATION_RIGHTSINFO
|
7601
|
add constraint FKm3p68dfqlfv5vqb588ahs3m8j
|
7602
|
foreign key (RIGHTS_ID)
|
7603
|
references PUBLIC.RIGHTSINFO;
|
7604
|
|
7605
|
alter table PUBLIC.CLASSIFICATION_RIGHTSINFO
|
7606
|
add constraint FKg7yol7y6vd73g7lg632hryo6h
|
7607
|
foreign key (CLASSIFICATION_ID)
|
7608
|
references PUBLIC.CLASSIFICATION;
|
7609
|
|
7610
|
alter table PUBLIC.CLASSIFICATION_RIGHTSINFO_AUD
|
7611
|
add constraint FKolqc9rttitlati1mugtugv5um
|
7612
|
foreign key (REV)
|
7613
|
references PUBLIC.AUDITEVENT;
|
7614
|
|
7615
|
alter table PUBLIC.COLLECTION
|
7616
|
add constraint FKpm7kt6wv5q8t2g678h8g3g8nc
|
7617
|
foreign key (CREATEDBY_ID)
|
7618
|
references PUBLIC.USERACCOUNT;
|
7619
|
|
7620
|
alter table PUBLIC.COLLECTION
|
7621
|
add constraint FKem7fi1eichawkp44o43kjuwts
|
7622
|
foreign key (UPDATEDBY_ID)
|
7623
|
references PUBLIC.USERACCOUNT;
|
7624
|
|
7625
|
alter table PUBLIC.COLLECTION
|
7626
|
add constraint FKh7y8j8mvloiec86ntnmj86b1q
|
7627
|
foreign key (INSTITUTE_ID)
|
7628
|
references PUBLIC.AGENTBASE;
|
7629
|
|
7630
|
alter table PUBLIC.COLLECTION
|
7631
|
add constraint FK7ggpqep2xubk0lg0vgcq1dhre
|
7632
|
foreign key (SUPERCOLLECTION_ID)
|
7633
|
references PUBLIC.COLLECTION;
|
7634
|
|
7635
|
alter table PUBLIC.COLLECTION_ANNOTATION
|
7636
|
add constraint FKoex6uik6t09hncshwfpogjbq4
|
7637
|
foreign key (ANNOTATIONS_ID)
|
7638
|
references PUBLIC.ANNOTATION;
|
7639
|
|
7640
|
alter table PUBLIC.COLLECTION_ANNOTATION
|
7641
|
add constraint FKjlskcryouw4qynbdu1gc5fm4u
|
7642
|
foreign key (COLLECTION_ID)
|
7643
|
references PUBLIC.COLLECTION;
|
7644
|
|
7645
|
alter table PUBLIC.COLLECTION_ANNOTATION_AUD
|
7646
|
add constraint FK1k6wux5dbpyeta2uon0n95ba8
|
7647
|
foreign key (REV)
|
7648
|
references PUBLIC.AUDITEVENT;
|
7649
|
|
7650
|
alter table PUBLIC.COLLECTION_AUD
|
7651
|
add constraint FKt8mrocxu5sj3p7x98oq0i40l
|
7652
|
foreign key (REV)
|
7653
|
references PUBLIC.AUDITEVENT;
|
7654
|
|
7655
|
alter table PUBLIC.COLLECTION_CREDIT
|
7656
|
add constraint FK3t6gm7142whg0rbsavkm98mo3
|
7657
|
foreign key (CREDITS_ID)
|
7658
|
references PUBLIC.CREDIT;
|
7659
|
|
7660
|
alter table PUBLIC.COLLECTION_CREDIT
|
7661
|
add constraint FKqwyk5j9xuwqnpwge1q68c5x0s
|
7662
|
foreign key (COLLECTION_ID)
|
7663
|
references PUBLIC.COLLECTION;
|
7664
|
|
7665
|
alter table PUBLIC.COLLECTION_CREDIT_AUD
|
7666
|
add constraint FKeuowuy1u43ukowji9q8hdwrme
|
7667
|
foreign key (REV)
|
7668
|
references PUBLIC.AUDITEVENT;
|
7669
|
|
7670
|
alter table PUBLIC.COLLECTION_EXTENSION
|
7671
|
add constraint FKjidd98y7gkk4cplpl06o3rvc4
|
7672
|
foreign key (EXTENSIONS_ID)
|
7673
|
references PUBLIC.EXTENSION;
|
7674
|
|
7675
|
alter table PUBLIC.COLLECTION_EXTENSION
|
7676
|
add constraint FKsfa6gcuj9ekhbp6eh10jcq4rh
|
7677
|
foreign key (COLLECTION_ID)
|
7678
|
references PUBLIC.COLLECTION;
|
7679
|
|
7680
|
alter table PUBLIC.COLLECTION_EXTENSION_AUD
|
7681
|
add constraint FK96v1yb5dy4lkbxor2oag9373s
|
7682
|
foreign key (REV)
|
7683
|
references PUBLIC.AUDITEVENT;
|
7684
|
|
7685
|
alter table PUBLIC.COLLECTION_EXTERNALLINK
|
7686
|
add constraint FKgn3etmj0as8ulbup2y76rih7x
|
7687
|
foreign key (LINKS_ID)
|
7688
|
references PUBLIC.EXTERNALLINK;
|
7689
|
|
7690
|
alter table PUBLIC.COLLECTION_EXTERNALLINK
|
7691
|
add constraint FK4oxku534783br162jcke3qvi6
|
7692
|
foreign key (COLLECTION_ID)
|
7693
|
references PUBLIC.COLLECTION;
|
7694
|
|
7695
|
alter table PUBLIC.COLLECTION_EXTERNALLINK_AUD
|
7696
|
add constraint FKb2aha3nojyn9e6rrygqoj976c
|
7697
|
foreign key (REV)
|
7698
|
references PUBLIC.AUDITEVENT;
|
7699
|
|
7700
|
alter table PUBLIC.COLLECTION_IDENTIFIER
|
7701
|
add constraint FKqgmgmseexfq5wabvg5ts5au6g
|
7702
|
foreign key (IDENTIFIERS_ID)
|
7703
|
references PUBLIC.IDENTIFIER;
|
7704
|
|
7705
|
alter table PUBLIC.COLLECTION_IDENTIFIER
|
7706
|
add constraint FK1mhgu979s43xrxi7hhwnxe6f3
|
7707
|
foreign key (COLLECTION_ID)
|
7708
|
references PUBLIC.COLLECTION;
|
7709
|
|
7710
|
alter table PUBLIC.COLLECTION_IDENTIFIER_AUD
|
7711
|
add constraint FK10ojdgspogrsb8u5aix2ate7j
|
7712
|
foreign key (REV)
|
7713
|
references PUBLIC.AUDITEVENT;
|
7714
|
|
7715
|
alter table PUBLIC.COLLECTION_MARKER
|
7716
|
add constraint FKgxb5k6wi0xdmomyi5blco5wug
|
7717
|
foreign key (MARKERS_ID)
|
7718
|
references PUBLIC.MARKER;
|
7719
|
|
7720
|
alter table PUBLIC.COLLECTION_MARKER
|
7721
|
add constraint FK5i1kccnp9u11jf2sn5sxelcw9
|
7722
|
foreign key (COLLECTION_ID)
|
7723
|
references PUBLIC.COLLECTION;
|
7724
|
|
7725
|
alter table PUBLIC.COLLECTION_MARKER_AUD
|
7726
|
add constraint FK4uibiju6y533vqm0aooko9d9k
|
7727
|
foreign key (REV)
|
7728
|
references PUBLIC.AUDITEVENT;
|
7729
|
|
7730
|
alter table PUBLIC.COLLECTION_MEDIA
|
7731
|
add constraint FK2yl77qc56ilpchgm98rv5yo3x
|
7732
|
foreign key (MEDIA_ID)
|
7733
|
references PUBLIC.MEDIA;
|
7734
|
|
7735
|
alter table PUBLIC.COLLECTION_MEDIA
|
7736
|
add constraint FKtfbpb6gg5uoqfyam7lor6hm71
|
7737
|
foreign key (COLLECTION_ID)
|
7738
|
references PUBLIC.COLLECTION;
|
7739
|
|
7740
|
alter table PUBLIC.COLLECTION_MEDIA_AUD
|
7741
|
add constraint FKepp7rch19m8611ruc3tp8wqel
|
7742
|
foreign key (REV)
|
7743
|
references PUBLIC.AUDITEVENT;
|
7744
|
|
7745
|
alter table PUBLIC.COLLECTION_ORIGINALSOURCEBASE
|
7746
|
add constraint FK52l838ps7etrq93bpdq2qp09c
|
7747
|
foreign key (SOURCES_ID)
|
7748
|
references PUBLIC.ORIGINALSOURCEBASE;
|
7749
|
|
7750
|
alter table PUBLIC.COLLECTION_ORIGINALSOURCEBASE
|
7751
|
add constraint FK8atn8wr15rpbv1wij11kmd1ph
|
7752
|
foreign key (COLLECTION_ID)
|
7753
|
references PUBLIC.COLLECTION;
|
7754
|
|
7755
|
alter table PUBLIC.COLLECTION_ORIGINALSOURCEBASE_AUD
|
7756
|
add constraint FKqo1lkcd1qlvhdg4v5dih03afb
|
7757
|
foreign key (REV)
|
7758
|
references PUBLIC.AUDITEVENT;
|
7759
|
|
7760
|
alter table PUBLIC.COLLECTION_RIGHTSINFO
|
7761
|
add constraint FK96eonimkwfhxa2xkk9g5uv0ju
|
7762
|
foreign key (RIGHTS_ID)
|
7763
|
references PUBLIC.RIGHTSINFO;
|
7764
|
|
7765
|
alter table PUBLIC.COLLECTION_RIGHTSINFO
|
7766
|
add constraint FKs8bmdt0yyiejsfcn11o3ethb0
|
7767
|
foreign key (COLLECTION_ID)
|
7768
|
references PUBLIC.COLLECTION;
|
7769
|
|
7770
|
alter table PUBLIC.COLLECTION_RIGHTSINFO_AUD
|
7771
|
add constraint FKm4gdb6wmb9mvix6vy0vk2ldjm
|
7772
|
foreign key (REV)
|
7773
|
references PUBLIC.AUDITEVENT;
|
7774
|
|
7775
|
alter table PUBLIC.CREDIT
|
7776
|
add constraint FKb35m2jbj12rsh77y186eart5l
|
7777
|
foreign key (CREATEDBY_ID)
|
7778
|
references PUBLIC.USERACCOUNT;
|
7779
|
|
7780
|
alter table PUBLIC.CREDIT
|
7781
|
add constraint FKifwh2v5u19b1qvjklnhqr9wgn
|
7782
|
foreign key (UPDATEDBY_ID)
|
7783
|
references PUBLIC.USERACCOUNT;
|
7784
|
|
7785
|
alter table PUBLIC.CREDIT
|
7786
|
add constraint FK7f5c2t7s3m7t2a7mrgj6v354o
|
7787
|
foreign key (LANGUAGE_ID)
|
7788
|
references PUBLIC.DEFINEDTERMBASE;
|
7789
|
|
7790
|
alter table PUBLIC.CREDIT
|
7791
|
add constraint FKrih53sycdajs7vgjnd78dwn88
|
7792
|
foreign key (AGENT_ID)
|
7793
|
references PUBLIC.AGENTBASE;
|
7794
|
|
7795
|
alter table PUBLIC.CREDIT_ANNOTATION
|
7796
|
add constraint FKtgpjoy6n3iyshcr0g2hkdnovv
|
7797
|
foreign key (ANNOTATIONS_ID)
|
7798
|
references PUBLIC.ANNOTATION;
|
7799
|
|
7800
|
alter table PUBLIC.CREDIT_ANNOTATION
|
7801
|
add constraint FKrsfa4v6ut11ehslrtwb588gxc
|
7802
|
foreign key (CREDIT_ID)
|
7803
|
references PUBLIC.CREDIT;
|
7804
|
|
7805
|
alter table PUBLIC.CREDIT_ANNOTATION_AUD
|
7806
|
add constraint FK5275eh6yh4g03agchxa33eecm
|
7807
|
foreign key (REV)
|
7808
|
references PUBLIC.AUDITEVENT;
|
7809
|
|
7810
|
alter table PUBLIC.CREDIT_AUD
|
7811
|
add constraint FKpksc0dgkpl27cfvfri3dg9v4i
|
7812
|
foreign key (REV)
|
7813
|
references PUBLIC.AUDITEVENT;
|
7814
|
|
7815
|
alter table PUBLIC.CREDIT_MARKER
|
7816
|
add constraint FKmnyvq5xjgw7r7ic81xmreu0bo
|
7817
|
foreign key (MARKERS_ID)
|
7818
|
references PUBLIC.MARKER;
|
7819
|
|
7820
|
alter table PUBLIC.CREDIT_MARKER
|
7821
|
add constraint FK20th9eb8uggrlc8p7okebnh5
|
7822
|
foreign key (CREDIT_ID)
|
7823
|
references PUBLIC.CREDIT;
|
7824
|
|
7825
|
alter table PUBLIC.CREDIT_MARKER_AUD
|
7826
|
add constraint FK3wb7ws7jeuwvb0t2g9nti85sn
|
7827
|
foreign key (REV)
|
7828
|
references PUBLIC.AUDITEVENT;
|
7829
|
|
7830
|
alter table PUBLIC.DEFINEDTERMBASE
|
7831
|
add constraint FKia6701jqggad9vb2vg3kwab07
|
7832
|
foreign key (CREATEDBY_ID)
|
7833
|
references PUBLIC.USERACCOUNT;
|
7834
|
|
7835
|
alter table PUBLIC.DEFINEDTERMBASE
|
7836
|
add constraint FK6v21kadexfski1wykv8av0kel
|
7837
|
foreign key (UPDATEDBY_ID)
|
7838
|
references PUBLIC.USERACCOUNT;
|
7839
|
|
7840
|
alter table PUBLIC.DEFINEDTERMBASE
|
7841
|
add constraint FKf9dga0a1shqbl4qxn7n3y6gti
|
7842
|
foreign key (KINDOF_ID)
|
7843
|
references PUBLIC.DEFINEDTERMBASE;
|
7844
|
|
7845
|
alter table PUBLIC.DEFINEDTERMBASE
|
7846
|
add constraint FK8r6w2siuj6exk4klp6put3dxq
|
7847
|
foreign key (PARTOF_ID)
|
7848
|
references PUBLIC.DEFINEDTERMBASE;
|
7849
|
|
7850
|
alter table PUBLIC.DEFINEDTERMBASE
|
7851
|
add constraint FK7y2c8u20csc7s39a9ww34u8i3
|
7852
|
foreign key (VOCABULARY_ID)
|
7853
|
references PUBLIC.TERMCOLLECTION;
|
7854
|
|
7855
|
alter table PUBLIC.DEFINEDTERMBASE
|
7856
|
add constraint FKcrwcypdmmdi7wmdl1dkh9fsi5
|
7857
|
foreign key (PROPERTY_ID)
|
7858
|
references PUBLIC.TERMRELATION;
|
7859
|
|
7860
|
alter table PUBLIC.DEFINEDTERMBASE
|
7861
|
add constraint FKiyoarp5tjpct53oq6xoxi58j4
|
7862
|
foreign key (PROPERTYMODIFIER_ID)
|
7863
|
references PUBLIC.DEFINEDTERMBASE;
|
7864
|
|
7865
|
alter table PUBLIC.DEFINEDTERMBASE
|
7866
|
add constraint FKm7uh4exmgcxse6goaa9bah6yw
|
7867
|
foreign key (RATIOTOSTRUCTURE_ID)
|
7868
|
references PUBLIC.TERMRELATION;
|
7869
|
|
7870
|
alter table PUBLIC.DEFINEDTERMBASE
|
7871
|
add constraint FKrbpx5955tsdt6w1iu4tv10si4
|
7872
|
foreign key (STRUCTURE_ID)
|
7873
|
references PUBLIC.TERMRELATION;
|
7874
|
|
7875
|
alter table PUBLIC.DEFINEDTERMBASE
|
7876
|
add constraint FKnsmveh7a3vfvlwp132ebvghxs
|
7877
|
foreign key (STRUCTUREMODIFIER_ID)
|
7878
|
references PUBLIC.DEFINEDTERMBASE;
|
7879
|
|
7880
|
alter table PUBLIC.DEFINEDTERMBASE
|
7881
|
add constraint FKojs9tjome6abglngh4rogaexy
|
7882
|
foreign key (LEVEL_ID)
|
7883
|
references PUBLIC.DEFINEDTERMBASE;
|
7884
|
|
7885
|
alter table PUBLIC.DEFINEDTERMBASE
|
7886
|
add constraint FK5br6r8er70nk7bak12evsdpsd
|
7887
|
foreign key (POINTAPPROXIMATION_REFERENCESYSTEM_ID)
|
7888
|
references PUBLIC.DEFINEDTERMBASE;
|
7889
|
|
7890
|
alter table PUBLIC.DEFINEDTERMBASE
|
7891
|
add constraint FKq5i0098o549pmu97b6dgdrf0o
|
7892
|
foreign key (SHAPE_ID)
|
7893
|
references PUBLIC.MEDIA;
|
7894
|
|
7895
|
alter table PUBLIC.DEFINEDTERMBASE
|
7896
|
add constraint FK24eo9scr2u5njg4nhfh9afgtt
|
7897
|
foreign key (TYPE_ID)
|
7898
|
references PUBLIC.DEFINEDTERMBASE;
|
7899
|
|
7900
|
alter table PUBLIC.DEFINEDTERMBASE_ANNOTATION
|
7901
|
add constraint FKbig4dl2sbcwsnb946a19hfl14
|
7902
|
foreign key (ANNOTATIONS_ID)
|
7903
|
references PUBLIC.ANNOTATION;
|
7904
|
|
7905
|
alter table PUBLIC.DEFINEDTERMBASE_ANNOTATION
|
7906
|
add constraint FKpi9dfqtvl9wgncukhix5aeg4i
|
7907
|
foreign key (DEFINEDTERMBASE_ID)
|
7908
|
references PUBLIC.DEFINEDTERMBASE;
|
7909
|
|
7910
|
alter table PUBLIC.DEFINEDTERMBASE_ANNOTATION_AUD
|
7911
|
add constraint FKbejtrjqyyo1fjs1wle47s0x2u
|
7912
|
foreign key (REV)
|
7913
|
references PUBLIC.AUDITEVENT;
|
7914
|
|
7915
|
alter table PUBLIC.DEFINEDTERMBASE_AUD
|
7916
|
add constraint FK1f2wh9wgcdeegy9xbi1qvkiuj
|
7917
|
foreign key (REV)
|
7918
|
references PUBLIC.AUDITEVENT;
|
7919
|
|
7920
|
alter table PUBLIC.DEFINEDTERMBASE_CONTINENT
|
7921
|
add constraint FK7j01xlfaqne2427u8pf5rd0ov
|
7922
|
foreign key (CONTINENTS_ID)
|
7923
|
references PUBLIC.DEFINEDTERMBASE;
|
7924
|
|
7925
|
alter table PUBLIC.DEFINEDTERMBASE_CONTINENT
|
7926
|
add constraint FKr045abi94xve0vfxe4m4wlogc
|
7927
|
foreign key (COUNTRY_ID)
|
7928
|
references PUBLIC.DEFINEDTERMBASE;
|
7929
|
|
7930
|
alter table PUBLIC.DEFINEDTERMBASE_CONTINENT_AUD
|
7931
|
add constraint FKjrmt119e274aedq45087axn5g
|
7932
|
foreign key (REV)
|
7933
|
references PUBLIC.AUDITEVENT;
|
7934
|
|
7935
|
alter table PUBLIC.DEFINEDTERMBASE_COUNTRY
|
7936
|
add constraint FKg3agyu98ymgecgebbbu6ygwny
|
7937
|
foreign key (COUNTRIES_ID)
|
7938
|
references PUBLIC.DEFINEDTERMBASE;
|
7939
|
|
7940
|
alter table PUBLIC.DEFINEDTERMBASE_COUNTRY
|
7941
|
add constraint FKbu5fxflefymqtwf3xbw44bj3l
|
7942
|
foreign key (NAMEDAREA_ID)
|
7943
|
references PUBLIC.DEFINEDTERMBASE;
|
7944
|
|
7945
|
alter table PUBLIC.DEFINEDTERMBASE_COUNTRY_AUD
|
7946
|
add constraint FKjybfqg1y3ewm3vh7nmlhu33ly
|
7947
|
foreign key (REV)
|
7948
|
references PUBLIC.AUDITEVENT;
|
7949
|
|
7950
|
alter table PUBLIC.DEFINEDTERMBASE_CREDIT
|
7951
|
add constraint FKdqwfsp7cqhxesri75kby3rq65
|
7952
|
foreign key (CREDITS_ID)
|
7953
|
references PUBLIC.CREDIT;
|
7954
|
|
7955
|
alter table PUBLIC.DEFINEDTERMBASE_CREDIT
|
7956
|
add constraint FK2y2wa79vcduina8qsl0wlhgfq
|
7957
|
foreign key (DEFINEDTERMBASE_ID)
|
7958
|
references PUBLIC.DEFINEDTERMBASE;
|
7959
|
|
7960
|
alter table PUBLIC.DEFINEDTERMBASE_CREDIT_AUD
|
7961
|
add constraint FK85t6yn3ca3fvaiekl726bxauo
|
7962
|
foreign key (REV)
|
7963
|
references PUBLIC.AUDITEVENT;
|
7964
|
|
7965
|
alter table PUBLIC.DEFINEDTERMBASE_EXTENSION
|
7966
|
add constraint FKfu9xgc54yij1gc5lpm3gkmo1p
|
7967
|
foreign key (EXTENSIONS_ID)
|
7968
|
references PUBLIC.EXTENSION;
|
7969
|
|
7970
|
alter table PUBLIC.DEFINEDTERMBASE_EXTENSION
|
7971
|
add constraint FKeotxgo4utv8v3fyqgrstgtso6
|
7972
|
foreign key (DEFINEDTERMBASE_ID)
|
7973
|
references PUBLIC.DEFINEDTERMBASE;
|
7974
|
|
7975
|
alter table PUBLIC.DEFINEDTERMBASE_EXTENSION_AUD
|
7976
|
add constraint FKiy1mmrce81aio9l18o1en2an0
|
7977
|
foreign key (REV)
|
7978
|
references PUBLIC.AUDITEVENT;
|
7979
|
|
7980
|
alter table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK
|
7981
|
add constraint FKb01g6wm59tp1w1fq8ffjvjp8w
|
7982
|
foreign key (LINKS_ID)
|
7983
|
references PUBLIC.EXTERNALLINK;
|
7984
|
|
7985
|
alter table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK
|
7986
|
add constraint FKm550s09ulpb6ewouh85n3lugp
|
7987
|
foreign key (DEFINEDTERMBASE_ID)
|
7988
|
references PUBLIC.DEFINEDTERMBASE;
|
7989
|
|
7990
|
alter table PUBLIC.DEFINEDTERMBASE_EXTERNALLINK_AUD
|
7991
|
add constraint FKnup3nbtbmcpi7c5x5brmya1nj
|
7992
|
foreign key (REV)
|
7993
|
references PUBLIC.AUDITEVENT;
|
7994
|
|
7995
|
alter table PUBLIC.DEFINEDTERMBASE_IDENTIFIER
|
7996
|
add constraint FK523gsg7u02lknafy7m0uivuxp
|
7997
|
foreign key (IDENTIFIERS_ID)
|
7998
|
references PUBLIC.IDENTIFIER;
|
7999
|
|
8000
|
alter table PUBLIC.DEFINEDTERMBASE_IDENTIFIER
|
8001
|
add constraint FKkgo1qkqjvvyow8y0wyjifjt
|
8002
|
foreign key (DEFINEDTERMBASE_ID)
|
8003
|
references PUBLIC.DEFINEDTERMBASE;
|
8004
|
|
8005
|
alter table PUBLIC.DEFINEDTERMBASE_IDENTIFIER_AUD
|
8006
|
add constraint FKmj786k4npyc71ha9152v5804k
|
8007
|
foreign key (REV)
|
8008
|
references PUBLIC.AUDITEVENT;
|
8009
|
|
8010
|
alter table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION
|
8011
|
add constraint FK7b00b11adfafft9rx7ud2l0ce
|
8012
|
foreign key (INVERSEREPRESENTATIONS_ID)
|
8013
|
references PUBLIC.REPRESENTATION;
|
8014
|
|
8015
|
alter table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION
|
8016
|
add constraint FKt1uswhlpdx6yu2bm03v63rhdu
|
8017
|
foreign key (DEFINEDTERMBASE_ID)
|
8018
|
references PUBLIC.DEFINEDTERMBASE;
|
8019
|
|
8020
|
alter table PUBLIC.DEFINEDTERMBASE_INVERSEREPRESENTATION_AUD
|
8021
|
add constraint FK82787rbf6p6xbiqxhxcw0h546
|
8022
|
foreign key (REV)
|
8023
|
references PUBLIC.AUDITEVENT;
|
8024
|
|
8025
|
alter table PUBLIC.DEFINEDTERMBASE_MARKER
|
8026
|
add constraint FKq0b0f7ibdjh686pjtq8ivmxxq
|
8027
|
foreign key (MARKERS_ID)
|
8028
|
references PUBLIC.MARKER;
|
8029
|
|
8030
|
alter table PUBLIC.DEFINEDTERMBASE_MARKER
|
8031
|
add constraint FKdc2qe862qlr5rae6tbrvp00rk
|
8032
|
foreign key (DEFINEDTERMBASE_ID)
|
8033
|
references PUBLIC.DEFINEDTERMBASE;
|
8034
|
|
8035
|
alter table PUBLIC.DEFINEDTERMBASE_MARKER_AUD
|
8036
|
add constraint FK4sdldeq2ftvx0oct20e9lhbwa
|
8037
|
foreign key (REV)
|
8038
|
references PUBLIC.AUDITEVENT;
|
8039
|
|
8040
|
alter table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT
|
8041
|
add constraint FK2c2klcuky3jkgkoutjd9ckdvf
|
8042
|
foreign key (RECOMMENDEDMEASUREMENTUNITS_ID)
|
8043
|
references PUBLIC.DEFINEDTERMBASE;
|
8044
|
|
8045
|
alter table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT
|
8046
|
add constraint FK92hn832j3iwqh9lr5hj2mgwre
|
8047
|
foreign key (FEATURE_ID)
|
8048
|
references PUBLIC.DEFINEDTERMBASE;
|
8049
|
|
8050
|
alter table PUBLIC.DEFINEDTERMBASE_MEASUREMENTUNIT_AUD
|
8051
|
add constraint FKbb4jps4mequfgsc2dvvo4xht0
|
8052
|
foreign key (REV)
|
8053
|
references PUBLIC.AUDITEVENT;
|
8054
|
|
8055
|
alter table PUBLIC.DEFINEDTERMBASE_MEDIA
|
8056
|
add constraint FKhqgd3bq1geb6bv6w67ajkidxe
|
8057
|
foreign key (MEDIA_ID)
|
8058
|
references PUBLIC.MEDIA;
|
8059
|
|
8060
|
alter table PUBLIC.DEFINEDTERMBASE_MEDIA
|
8061
|
add constraint FKdkp3uk91pvotko6cbp4qocatg
|
8062
|
foreign key (DEFINEDTERMBASE_ID)
|
8063
|
references PUBLIC.DEFINEDTERMBASE;
|
8064
|
|
8065
|
alter table PUBLIC.DEFINEDTERMBASE_MEDIA_AUD
|
8066
|
add constraint FKhrg1whaaw2pci2suny814iddu
|
8067
|
foreign key (REV)
|
8068
|
references PUBLIC.AUDITEVENT;
|
8069
|
|
8070
|
alter table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE
|
8071
|
add constraint FKh6tund7jtkmmrtpvf1tgvy1dk
|
8072
|
foreign key (SOURCES_ID)
|
8073
|
references PUBLIC.ORIGINALSOURCEBASE;
|
8074
|
|
8075
|
alter table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE
|
8076
|
add constraint FKp570yj1e4sef5nryt43rw8ywj
|
8077
|
foreign key (DEFINEDTERMBASE_ID)
|
8078
|
references PUBLIC.DEFINEDTERMBASE;
|
8079
|
|
8080
|
alter table PUBLIC.DEFINEDTERMBASE_ORIGINALSOURCEBASE_AUD
|
8081
|
add constraint FKgti0wnlglx6lt6msp3d8tey08
|
8082
|
foreign key (REV)
|
8083
|
references PUBLIC.AUDITEVENT;
|
8084
|
|
8085
|
alter table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION
|
8086
|
add constraint FKhmi9vmqbcs1op8odb8rqjx01p
|
8087
|
foreign key (RECOMMENDEDMODIFIERENUMERATION_ID)
|
8088
|
references PUBLIC.TERMCOLLECTION;
|
8089
|
|
8090
|
alter table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION
|
8091
|
add constraint FK884m1dolwdy7nkk407x25dr0t
|
8092
|
foreign key (FEATURE_ID)
|
8093
|
references PUBLIC.DEFINEDTERMBASE;
|
8094
|
|
8095
|
alter table PUBLIC.DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION_AUD
|
8096
|
add constraint FK2vq35l99lowmomqtwap41qdoy
|
8097
|
foreign key (REV)
|
8098
|
references PUBLIC.AUDITEVENT;
|
8099
|
|
8100
|
alter table PUBLIC.DEFINEDTERMBASE_REPRESENTATION
|
8101
|
add constraint FKcyop6p6f7iga1qor1m61l8ijo
|
8102
|
foreign key (REPRESENTATIONS_ID)
|
8103
|
references PUBLIC.REPRESENTATION;
|
8104
|
|
8105
|
alter table PUBLIC.DEFINEDTERMBASE_REPRESENTATION
|
8106
|
add constraint FK71e29efm9fbxf3urar13g8g2b
|
8107
|
foreign key (DEFINEDTERMBASE_ID)
|
8108
|
references PUBLIC.DEFINEDTERMBASE;
|
8109
|
|
8110
|
alter table PUBLIC.DEFINEDTERMBASE_REPRESENTATION_AUD
|
8111
|
add constraint FKbm4gxyalnpk81k40ur1lt7hcy
|
8112
|
foreign key (REV)
|
8113
|
references PUBLIC.AUDITEVENT;
|
8114
|
|
8115
|
alter table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO
|
8116
|
add constraint FKog3u5a703y8j86s35oovhlnxy
|
8117
|
foreign key (RIGHTS_ID)
|
8118
|
references PUBLIC.RIGHTSINFO;
|
8119
|
|
8120
|
alter table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO
|
8121
|
add constraint FKjld1fmkx3d5qtt7m6agvubsyo
|
8122
|
foreign key (DEFINEDTERMBASE_ID)
|
8123
|
references PUBLIC.DEFINEDTERMBASE;
|
8124
|
|
8125
|
alter table PUBLIC.DEFINEDTERMBASE_RIGHTSINFO_AUD
|
8126
|
add constraint FKrttp27bsbsawtjipyw8mef9u0
|
8127
|
foreign key (REV)
|
8128
|
references PUBLIC.AUDITEVENT;
|
8129
|
|
8130
|
alter table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE
|
8131
|
add constraint FKfcl99trilnlmfxfrnsga0b06l
|
8132
|
foreign key (RECOMMENDEDSTATISTICALMEASURES_ID)
|
8133
|
references PUBLIC.DEFINEDTERMBASE;
|
8134
|
|
8135
|
alter table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE
|
8136
|
add constraint FKe1nbvo0sfymdk0hpldl8e6iiy
|
8137
|
foreign key (FEATURE_ID)
|
8138
|
references PUBLIC.DEFINEDTERMBASE;
|
8139
|
|
8140
|
alter table PUBLIC.DEFINEDTERMBASE_STATISTICALMEASURE_AUD
|
8141
|
add constraint FKhfv3y2r69kxb844gcjegt0d8q
|
8142
|
foreign key (REV)
|
8143
|
references PUBLIC.AUDITEVENT;
|
8144
|
|
8145
|
alter table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION
|
8146
|
add constraint FKo5rh3yfoqq2np1rdrmu5mv97k
|
8147
|
foreign key (SUPPORTEDCATEGORICALENUMERATIONS_ID)
|
8148
|
references PUBLIC.TERMCOLLECTION;
|
8149
|
|
8150
|
alter table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION
|
8151
|
add constraint FKry9mdq1812glecnuq28warxgl
|
8152
|
foreign key (FEATURE_ID)
|
8153
|
references PUBLIC.DEFINEDTERMBASE;
|
8154
|
|
8155
|
alter table PUBLIC.DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION_AUD
|
8156
|
add constraint FKl0o5skf3jlgx8fftsd5pt6vlv
|
8157
|
foreign key (REV)
|
8158
|
references PUBLIC.AUDITEVENT;
|
8159
|
|
8160
|
alter table PUBLIC.DERIVATIONEVENT
|
8161
|
add constraint FK150pptx4jsd9bu8ouuuvu86a1
|
8162
|
foreign key (CREATEDBY_ID)
|
8163
|
references PUBLIC.USERACCOUNT;
|
8164
|
|
8165
|
alter table PUBLIC.DERIVATIONEVENT
|
8166
|
add constraint FKkpyo2otsqbcxfh9qbefk084o1
|
8167
|
foreign key (UPDATEDBY_ID)
|
8168
|
references PUBLIC.USERACCOUNT;
|
8169
|
|
8170
|
alter table PUBLIC.DERIVATIONEVENT
|
8171
|
add constraint FK627c58c1c3xe99eks3t9aev0p
|
8172
|
foreign key (ACTOR_ID)
|
8173
|
references PUBLIC.AGENTBASE;
|
8174
|
|
8175
|
alter table PUBLIC.DERIVATIONEVENT
|
8176
|
add constraint FKdnosspecdqgpemwydov32wm2n
|
8177
|
foreign key (INSTITUTION_ID)
|
8178
|
references PUBLIC.AGENTBASE;
|
8179
|
|
8180
|
alter table PUBLIC.DERIVATIONEVENT
|
8181
|
add constraint FKac4bf9hrw5dk447jwje2977xw
|
8182
|
foreign key (TYPE_ID)
|
8183
|
references PUBLIC.DEFINEDTERMBASE;
|
8184
|
|
8185
|
alter table PUBLIC.DERIVATIONEVENT_ANNOTATION
|
8186
|
add constraint FKp3drqnxabu6xntr0m17jxf4gs
|
8187
|
foreign key (ANNOTATIONS_ID)
|
8188
|
references PUBLIC.ANNOTATION;
|
8189
|
|
8190
|
alter table PUBLIC.DERIVATIONEVENT_ANNOTATION
|
8191
|
add constraint FKi2qv3fkrd0l60lb6q92hismg9
|
8192
|
foreign key (DERIVATIONEVENT_ID)
|
8193
|
references PUBLIC.DERIVATIONEVENT;
|
8194
|
|
8195
|
alter table PUBLIC.DERIVATIONEVENT_ANNOTATION_AUD
|
8196
|
add constraint FKa8k02vxgtsgrrmlc6fn4g6c
|
8197
|
foreign key (REV)
|
8198
|
references PUBLIC.AUDITEVENT;
|
8199
|
|
8200
|
alter table PUBLIC.DERIVATIONEVENT_AUD
|
8201
|
add constraint FKjyohtxu59eik46wciyd7ved7g
|
8202
|
foreign key (REV)
|
8203
|
references PUBLIC.AUDITEVENT;
|
8204
|
|
8205
|
alter table PUBLIC.DERIVATIONEVENT_MARKER
|
8206
|
add constraint FK2lbr0jees9ywd9twot80p2i79
|
8207
|
foreign key (MARKERS_ID)
|
8208
|
references PUBLIC.MARKER;
|
8209
|
|
8210
|
alter table PUBLIC.DERIVATIONEVENT_MARKER
|
8211
|
add constraint FKsnnj2k5j1um6ksjgxovl3lodp
|
8212
|
foreign key (DERIVATIONEVENT_ID)
|
8213
|
references PUBLIC.DERIVATIONEVENT;
|
8214
|
|
8215
|
alter table PUBLIC.DERIVATIONEVENT_MARKER_AUD
|
8216
|
add constraint FK4qw8lq8qavsrdkcb1n8nh9n80
|
8217
|
foreign key (REV)
|
8218
|
references PUBLIC.AUDITEVENT;
|
8219
|
|
8220
|
alter table PUBLIC.DESCRIPTIONBASE
|
8221
|
add constraint FKhlcrsliovq7sv6ndy1c62e9q7
|
8222
|
foreign key (CREATEDBY_ID)
|
8223
|
references PUBLIC.USERACCOUNT;
|
8224
|
|
8225
|
alter table PUBLIC.DESCRIPTIONBASE
|
8226
|
add constraint FKiba3dxuvkrwo6mhfnhuuaxahe
|
8227
|
foreign key (UPDATEDBY_ID)
|
8228
|
references PUBLIC.USERACCOUNT;
|
8229
|
|
8230
|
alter table PUBLIC.DESCRIPTIONBASE
|
8231
|
add constraint FKihxtdl9g2cenj6h14e73g73gw
|
8232
|
foreign key (SPECIMEN_ID)
|
8233
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
8234
|
|
8235
|
alter table PUBLIC.DESCRIPTIONBASE
|
8236
|
add constraint FK9rsqhlw1f2y5gqdid26kcuq54
|
8237
|
foreign key (TAXON_ID)
|
8238
|
references PUBLIC.TAXONBASE;
|
8239
|
|
8240
|
alter table PUBLIC.DESCRIPTIONBASE
|
8241
|
add constraint FKodmif2wcreugjbtoelnefuqsg
|
8242
|
foreign key (TAXONNAME_ID)
|
8243
|
references PUBLIC.TAXONNAME;
|
8244
|
|
8245
|
alter table PUBLIC.DESCRIPTIONBASE_ANNOTATION
|
8246
|
add constraint FK2hq8x7s00f09ts0l8h12esyru
|
8247
|
foreign key (ANNOTATIONS_ID)
|
8248
|
references PUBLIC.ANNOTATION;
|
8249
|
|
8250
|
alter table PUBLIC.DESCRIPTIONBASE_ANNOTATION
|
8251
|
add constraint FKpsfei7nvifj1wa8yjwpjb3fbs
|
8252
|
foreign key (DESCRIPTIONBASE_ID)
|
8253
|
references PUBLIC.DESCRIPTIONBASE;
|
8254
|
|
8255
|
alter table PUBLIC.DESCRIPTIONBASE_ANNOTATION_AUD
|
8256
|
add constraint FKhnmy2i39kq0q5fspkqxxoa6h
|
8257
|
foreign key (REV)
|
8258
|
references PUBLIC.AUDITEVENT;
|
8259
|
|
8260
|
alter table PUBLIC.DESCRIPTIONBASE_AUD
|
8261
|
add constraint FKftrb783yy1gfea9afl64j43e1
|
8262
|
foreign key (REV)
|
8263
|
references PUBLIC.AUDITEVENT;
|
8264
|
|
8265
|
alter table PUBLIC.DESCRIPTIONBASE_CREDIT
|
8266
|
add constraint FKpb38d6w15g6vbg20nuxvgr6n8
|
8267
|
foreign key (CREDITS_ID)
|
8268
|
references PUBLIC.CREDIT;
|
8269
|
|
8270
|
alter table PUBLIC.DESCRIPTIONBASE_CREDIT
|
8271
|
add constraint FK4oo3skeapg6gnewey1habu3vd
|
8272
|
foreign key (DESCRIPTIONBASE_ID)
|
8273
|
references PUBLIC.DESCRIPTIONBASE;
|
8274
|
|
8275
|
alter table PUBLIC.DESCRIPTIONBASE_CREDIT_AUD
|
8276
|
add constraint FKiog3ays51bljme9lgfvgs7e1r
|
8277
|
foreign key (REV)
|
8278
|
references PUBLIC.AUDITEVENT;
|
8279
|
|
8280
|
alter table PUBLIC.DESCRIPTIONBASE_EXTENSION
|
8281
|
add constraint FKl74wlw4jw50t1ebp3jltt2rm4
|
8282
|
foreign key (EXTENSIONS_ID)
|
8283
|
references PUBLIC.EXTENSION;
|
8284
|
|
8285
|
alter table PUBLIC.DESCRIPTIONBASE_EXTENSION
|
8286
|
add constraint FK8f0msnkssnxigunkrsu0f35bs
|
8287
|
foreign key (DESCRIPTIONBASE_ID)
|
8288
|
references PUBLIC.DESCRIPTIONBASE;
|
8289
|
|
8290
|
alter table PUBLIC.DESCRIPTIONBASE_EXTENSION_AUD
|
8291
|
add constraint FKlbom31r3gv4ua9oqbefmutt8p
|
8292
|
foreign key (REV)
|
8293
|
references PUBLIC.AUDITEVENT;
|
8294
|
|
8295
|
alter table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK
|
8296
|
add constraint FKl0aokhi29qak6r0gedml8qbcv
|
8297
|
foreign key (LINKS_ID)
|
8298
|
references PUBLIC.EXTERNALLINK;
|
8299
|
|
8300
|
alter table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK
|
8301
|
add constraint FKnwo4t444wkmk0q9e2uj332l3
|
8302
|
foreign key (DESCRIPTIONBASE_ID)
|
8303
|
references PUBLIC.DESCRIPTIONBASE;
|
8304
|
|
8305
|
alter table PUBLIC.DESCRIPTIONBASE_EXTERNALLINK_AUD
|
8306
|
add constraint FK3qcv3u8as8oso2wpoet9qalm3
|
8307
|
foreign key (REV)
|
8308
|
references PUBLIC.AUDITEVENT;
|
8309
|
|
8310
|
alter table PUBLIC.DESCRIPTIONBASE_GEOSCOPE
|
8311
|
add constraint FK5q9vi3dylnaftm4j6fbm51ymu
|
8312
|
foreign key (GEOSCOPES_ID)
|
8313
|
references PUBLIC.DEFINEDTERMBASE;
|
8314
|
|
8315
|
alter table PUBLIC.DESCRIPTIONBASE_GEOSCOPE
|
8316
|
add constraint FKtqpi1nqoa47lq24k85rsnibia
|
8317
|
foreign key (TAXONDESCRIPTION_ID)
|
8318
|
references PUBLIC.DESCRIPTIONBASE;
|
8319
|
|
8320
|
alter table PUBLIC.DESCRIPTIONBASE_GEOSCOPE_AUD
|
8321
|
add constraint FK83t4gbrr6a2dcp67st6o7xg8n
|
8322
|
foreign key (REV)
|
8323
|
references PUBLIC.AUDITEVENT;
|
8324
|
|
8325
|
alter table PUBLIC.DESCRIPTIONBASE_IDENTIFIER
|
8326
|
add constraint FKj9obeu1oct74gmdl24akrpcks
|
8327
|
foreign key (IDENTIFIERS_ID)
|
8328
|
references PUBLIC.IDENTIFIER;
|
8329
|
|
8330
|
alter table PUBLIC.DESCRIPTIONBASE_IDENTIFIER
|
8331
|
add constraint FKqpew9cuc67ff668ooalllwqkq
|
8332
|
foreign key (DESCRIPTIONBASE_ID)
|
8333
|
references PUBLIC.DESCRIPTIONBASE;
|
8334
|
|
8335
|
alter table PUBLIC.DESCRIPTIONBASE_IDENTIFIER_AUD
|
8336
|
add constraint FKmmcg4nlx908q75ss1v4a7r9om
|
8337
|
foreign key (REV)
|
8338
|
references PUBLIC.AUDITEVENT;
|
8339
|
|
8340
|
alter table PUBLIC.DESCRIPTIONBASE_MARKER
|
8341
|
add constraint FKj3jnv9oryk26yhy5vclxaj8cq
|
8342
|
foreign key (MARKERS_ID)
|
8343
|
references PUBLIC.MARKER;
|
8344
|
|
8345
|
alter table PUBLIC.DESCRIPTIONBASE_MARKER
|
8346
|
add constraint FK3o4g1ylo09lvb2xqcvjhowp4d
|
8347
|
foreign key (DESCRIPTIONBASE_ID)
|
8348
|
references PUBLIC.DESCRIPTIONBASE;
|
8349
|
|
8350
|
alter table PUBLIC.DESCRIPTIONBASE_MARKER_AUD
|
8351
|
add constraint FKpg1lwuobc2wwg5h5fnx5lu0mu
|
8352
|
foreign key (REV)
|
8353
|
references PUBLIC.AUDITEVENT;
|
8354
|
|
8355
|
alter table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE
|
8356
|
add constraint FKd8luepnowxhs0shpg9moxdya0
|
8357
|
foreign key (SOURCES_ID)
|
8358
|
references PUBLIC.ORIGINALSOURCEBASE;
|
8359
|
|
8360
|
alter table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE
|
8361
|
add constraint FKmo6w18qnrbv284500qtu3w425
|
8362
|
foreign key (DESCRIPTIONBASE_ID)
|
8363
|
references PUBLIC.DESCRIPTIONBASE;
|
8364
|
|
8365
|
alter table PUBLIC.DESCRIPTIONBASE_ORIGINALSOURCEBASE_AUD
|
8366
|
add constraint FK6ry2qw6fxiw3s7qs9jqcc844o
|
8367
|
foreign key (REV)
|
8368
|
references PUBLIC.AUDITEVENT;
|
8369
|
|
8370
|
alter table PUBLIC.DESCRIPTIONBASE_REFERENCE
|
8371
|
add constraint FKj8kimc2enurhmapvoba9cripi
|
8372
|
foreign key (DESCRIPTIONSOURCES_ID)
|
8373
|
references PUBLIC.REFERENCE;
|
8374
|
|
8375
|
alter table PUBLIC.DESCRIPTIONBASE_REFERENCE
|
8376
|
add constraint FKtdeh9edxi32erdo95lj60ru59
|
8377
|
foreign key (DESCRIPTIONBASE_ID)
|
8378
|
references PUBLIC.DESCRIPTIONBASE;
|
8379
|
|
8380
|
alter table PUBLIC.DESCRIPTIONBASE_REFERENCE_AUD
|
8381
|
add constraint FKewelqon8f0dmmhaviiaj2taf1
|
8382
|
foreign key (REV)
|
8383
|
references PUBLIC.AUDITEVENT;
|
8384
|
|
8385
|
alter table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO
|
8386
|
add constraint FKjtoaoa161fn1dd3xc65spt818
|
8387
|
foreign key (RIGHTS_ID)
|
8388
|
references PUBLIC.RIGHTSINFO;
|
8389
|
|
8390
|
alter table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO
|
8391
|
add constraint FK9a7op8toj9v8mmctoobj4ngxu
|
8392
|
foreign key (DESCRIPTIONBASE_ID)
|
8393
|
references PUBLIC.DESCRIPTIONBASE;
|
8394
|
|
8395
|
alter table PUBLIC.DESCRIPTIONBASE_RIGHTSINFO_AUD
|
8396
|
add constraint FKnyq77rx62p6nj9l8ev31jwmiw
|
8397
|
foreign key (REV)
|
8398
|
references PUBLIC.AUDITEVENT;
|
8399
|
|
8400
|
alter table PUBLIC.DESCRIPTIONBASE_SCOPE
|
8401
|
add constraint FKmwt5omx10u17vx51xslmlnfxt
|
8402
|
foreign key (SCOPES_ID)
|
8403
|
references PUBLIC.DEFINEDTERMBASE;
|
8404
|
|
8405
|
alter table PUBLIC.DESCRIPTIONBASE_SCOPE
|
8406
|
add constraint FK4sxn9c4a2j390k0s87sf4qvfr
|
8407
|
foreign key (TAXONDESCRIPTION_ID)
|
8408
|
references PUBLIC.DESCRIPTIONBASE;
|
8409
|
|
8410
|
alter table PUBLIC.DESCRIPTIONBASE_SCOPE_AUD
|
8411
|
add constraint FKbljonyd7xc0gu1hdj9s1c7rui
|
8412
|
foreign key (REV)
|
8413
|
references PUBLIC.AUDITEVENT;
|
8414
|
|
8415
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8416
|
add constraint FKdt6qema4kw77evcycdpv104tc
|
8417
|
foreign key (CREATEDBY_ID)
|
8418
|
references PUBLIC.USERACCOUNT;
|
8419
|
|
8420
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8421
|
add constraint FK2bcobf985boqdaw7lly16m4ha
|
8422
|
foreign key (UPDATEDBY_ID)
|
8423
|
references PUBLIC.USERACCOUNT;
|
8424
|
|
8425
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8426
|
add constraint FKk5xpm9hi1p0iy2bt084rhanbx
|
8427
|
foreign key (FEATURE_ID)
|
8428
|
references PUBLIC.DEFINEDTERMBASE;
|
8429
|
|
8430
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8431
|
add constraint FKj3ugo3tgqksv4vdxd4f51fexi
|
8432
|
foreign key (INDESCRIPTION_ID)
|
8433
|
references PUBLIC.DESCRIPTIONBASE;
|
8434
|
|
8435
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8436
|
add constraint FKcdbrhky1u6e2rhwx4fyo238aa
|
8437
|
foreign key (AREA_ID)
|
8438
|
references PUBLIC.DEFINEDTERMBASE;
|
8439
|
|
8440
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8441
|
add constraint FK368h6ff54fdmbhsupq3387kes
|
8442
|
foreign key (LANGUAGE_ID)
|
8443
|
references PUBLIC.DEFINEDTERMBASE;
|
8444
|
|
8445
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8446
|
add constraint FK9v2dwteb8ekewnw87vd1qsl6m
|
8447
|
foreign key (STATUS_ID)
|
8448
|
references PUBLIC.DEFINEDTERMBASE;
|
8449
|
|
8450
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8451
|
add constraint FKjfj207t8maojtav25ng9hch2o
|
8452
|
foreign key (ASSOCIATEDSPECIMENOROBSERVATION_ID)
|
8453
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
8454
|
|
8455
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8456
|
add constraint FKpovpvlocwary0iv860vklw4vl
|
8457
|
foreign key (UNIT_ID)
|
8458
|
references PUBLIC.DEFINEDTERMBASE;
|
8459
|
|
8460
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8461
|
add constraint FKc7jjqq8y0nrw3badbos5979m
|
8462
|
foreign key (TAXON2_ID)
|
8463
|
references PUBLIC.TAXONBASE;
|
8464
|
|
8465
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE
|
8466
|
add constraint FK6bq0w0dew85a5r42b79s1tv1c
|
8467
|
foreign key (FORMAT_ID)
|
8468
|
references PUBLIC.DEFINEDTERMBASE;
|
8469
|
|
8470
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION
|
8471
|
add constraint FK9psim4603k1ivayh0jgb83gmb
|
8472
|
foreign key (ANNOTATIONS_ID)
|
8473
|
references PUBLIC.ANNOTATION;
|
8474
|
|
8475
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION
|
8476
|
add constraint FK936jx0egfkfush5svat4ek090
|
8477
|
foreign key (DESCRIPTIONELEMENTBASE_ID)
|
8478
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
8479
|
|
8480
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_ANNOTATION_AUD
|
8481
|
add constraint FK1h7t28h114l48wt5ao1w2sft9
|
8482
|
foreign key (REV)
|
8483
|
references PUBLIC.AUDITEVENT;
|
8484
|
|
8485
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_AUD
|
8486
|
add constraint FKm7afy3ju3h3i29gm73fumo1kk
|
8487
|
foreign key (REV)
|
8488
|
references PUBLIC.AUDITEVENT;
|
8489
|
|
8490
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING
|
8491
|
add constraint FKto6j701avulss35oagev12ho0
|
8492
|
foreign key (MULTILANGUAGETEXT_ID)
|
8493
|
references PUBLIC.LANGUAGESTRING;
|
8494
|
|
8495
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING
|
8496
|
add constraint FKn1abuyy8f76eyvfxcn0r8ihm
|
8497
|
foreign key (MULTILANGUAGETEXT_MAPKEY_ID)
|
8498
|
references PUBLIC.DEFINEDTERMBASE;
|
8499
|
|
8500
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING
|
8501
|
add constraint FKoj5lsw8p5af24148a8kggd8a0
|
8502
|
foreign key (TEXTDATA_ID)
|
8503
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
8504
|
|
8505
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_LANGUAGESTRING_AUD
|
8506
|
add constraint FK7abfw8y1kn52906r2a1x20lwe
|
8507
|
foreign key (REV)
|
8508
|
references PUBLIC.AUDITEVENT;
|
8509
|
|
8510
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER
|
8511
|
add constraint FKmhocs6h2mq4tpmv4b8q0by70b
|
8512
|
foreign key (MARKERS_ID)
|
8513
|
references PUBLIC.MARKER;
|
8514
|
|
8515
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER
|
8516
|
add constraint FK70hkoj7nqyc48boabnqwiyw0o
|
8517
|
foreign key (DESCRIPTIONELEMENTBASE_ID)
|
8518
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
8519
|
|
8520
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MARKER_AUD
|
8521
|
add constraint FK4f9v9kyqcih18qo4k1yr4tbpx
|
8522
|
foreign key (REV)
|
8523
|
references PUBLIC.AUDITEVENT;
|
8524
|
|
8525
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA
|
8526
|
add constraint FKna29ch0vwfgdf32wdrb0s22jc
|
8527
|
foreign key (MEDIA_ID)
|
8528
|
references PUBLIC.MEDIA;
|
8529
|
|
8530
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA
|
8531
|
add constraint FKbxunoffki4lrhrg7qhtot9nbn
|
8532
|
foreign key (DESCRIPTIONELEMENTBASE_ID)
|
8533
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
8534
|
|
8535
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MEDIA_AUD
|
8536
|
add constraint FK11hfjyole91eyahc2aijtw62x
|
8537
|
foreign key (REV)
|
8538
|
references PUBLIC.AUDITEVENT;
|
8539
|
|
8540
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER
|
8541
|
add constraint FKpp5765u7qc87ylf1xrhsyc6ko
|
8542
|
foreign key (MODIFIERS_ID)
|
8543
|
references PUBLIC.DEFINEDTERMBASE;
|
8544
|
|
8545
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER
|
8546
|
add constraint FK2bysx26aymrn17jkq39nfpnlx
|
8547
|
foreign key (DESCRIPTIONELEMENTBASE_ID)
|
8548
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
8549
|
|
8550
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFIER_AUD
|
8551
|
add constraint FKhkcuu3wq411tmesgk5m1edgfc
|
8552
|
foreign key (REV)
|
8553
|
references PUBLIC.AUDITEVENT;
|
8554
|
|
8555
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT
|
8556
|
add constraint FK1pied6nd3asanfgaxxso3gamj
|
8557
|
foreign key (MODIFYINGTEXT_ID)
|
8558
|
references PUBLIC.LANGUAGESTRING;
|
8559
|
|
8560
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT
|
8561
|
add constraint FK9ok6njdsstx43y9mhindjrxsp
|
8562
|
foreign key (MODIFYINGTEXT_MAPKEY_ID)
|
8563
|
references PUBLIC.DEFINEDTERMBASE;
|
8564
|
|
8565
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT
|
8566
|
add constraint FK9ubl0ym5poys5elyms6llhl5i
|
8567
|
foreign key (DESCRIPTIONELEMENTBASE_ID)
|
8568
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
8569
|
|
8570
|
alter table PUBLIC.DESCRIPTIONELEMENTBASE_MODIFYINGTEXT_AUD
|
8571
|
add constraint FKrc54nmhglcfrncik23cvtxvmu
|
8572
|
foreign key (REV)
|
8573
|
references PUBLIC.AUDITEVENT;
|
8574
|
|
8575
|
alter table PUBLIC.DESCRIPTIVEDATASET
|
8576
|
add constraint FKhoyf1e3647kyx8xtl5gdfnlik
|
8577
|
foreign key (CREATEDBY_ID)
|
8578
|
references PUBLIC.USERACCOUNT;
|
8579
|
|
8580
|
alter table PUBLIC.DESCRIPTIVEDATASET
|
8581
|
add constraint FKeorgba7x96q2gdu17g7yyskqf
|
8582
|
foreign key (UPDATEDBY_ID)
|
8583
|
references PUBLIC.USERACCOUNT;
|
8584
|
|
8585
|
alter table PUBLIC.DESCRIPTIVEDATASET
|
8586
|
add constraint FK1n15evpfy0etudw999epfmr1e
|
8587
|
foreign key (DESCRIPTIVESYSTEM_ID)
|
8588
|
references PUBLIC.TERMCOLLECTION;
|
8589
|
|
8590
|
alter table PUBLIC.DESCRIPTIVEDATASET
|
8591
|
add constraint FK1cxrn8q2qeqraxdl4qayukhm4
|
8592
|
foreign key (MAXRANK_ID)
|
8593
|
references PUBLIC.DEFINEDTERMBASE;
|
8594
|
|
8595
|
alter table PUBLIC.DESCRIPTIVEDATASET
|
8596
|
add constraint FKcdtgaxpby3cxytft4cv0mgn5k
|
8597
|
foreign key (MINRANK_ID)
|
8598
|
references PUBLIC.DEFINEDTERMBASE;
|
8599
|
|
8600
|
alter table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION
|
8601
|
add constraint FKbi572r1vqv6txab79i3unhk3j
|
8602
|
foreign key (ANNOTATIONS_ID)
|
8603
|
references PUBLIC.ANNOTATION;
|
8604
|
|
8605
|
alter table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION
|
8606
|
add constraint FK3q1kndwbwkqiu8ff4igg6muvj
|
8607
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8608
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8609
|
|
8610
|
alter table PUBLIC.DESCRIPTIVEDATASET_ANNOTATION_AUD
|
8611
|
add constraint FK8463fnhxcll58iga2bsvrgnvx
|
8612
|
foreign key (REV)
|
8613
|
references PUBLIC.AUDITEVENT;
|
8614
|
|
8615
|
alter table PUBLIC.DESCRIPTIVEDATASET_AUD
|
8616
|
add constraint FKicvalqujrv6qy15njdyogn0ar
|
8617
|
foreign key (REV)
|
8618
|
references PUBLIC.AUDITEVENT;
|
8619
|
|
8620
|
alter table PUBLIC.DESCRIPTIVEDATASET_CREDIT
|
8621
|
add constraint FKrcddcndgckcfbvtr2isdabjtu
|
8622
|
foreign key (CREDITS_ID)
|
8623
|
references PUBLIC.CREDIT;
|
8624
|
|
8625
|
alter table PUBLIC.DESCRIPTIVEDATASET_CREDIT
|
8626
|
add constraint FKrban7aasstpeso7amtdvech60
|
8627
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8628
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8629
|
|
8630
|
alter table PUBLIC.DESCRIPTIVEDATASET_CREDIT_AUD
|
8631
|
add constraint FKakarst7xh6fjo43d8w5du8cch
|
8632
|
foreign key (REV)
|
8633
|
references PUBLIC.AUDITEVENT;
|
8634
|
|
8635
|
alter table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE
|
8636
|
add constraint FK5sc1tjjo36gsrgj2j02gun8s5
|
8637
|
foreign key (DESCRIPTIONS_ID)
|
8638
|
references PUBLIC.DESCRIPTIONBASE;
|
8639
|
|
8640
|
alter table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE
|
8641
|
add constraint FKjv0du3vaqo3eh4cwfurbpl73x
|
8642
|
foreign key (DESCRIPTIVEDATASETS_ID)
|
8643
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8644
|
|
8645
|
alter table PUBLIC.DESCRIPTIVEDATASET_DESCRIPTIONBASE_AUD
|
8646
|
add constraint FKevgp3e0ucjidvos4f9nb1a1x
|
8647
|
foreign key (REV)
|
8648
|
references PUBLIC.AUDITEVENT;
|
8649
|
|
8650
|
alter table PUBLIC.DESCRIPTIVEDATASET_EXTENSION
|
8651
|
add constraint FK1w3bcstlv2ymjo7vj5h5wbh8g
|
8652
|
foreign key (EXTENSIONS_ID)
|
8653
|
references PUBLIC.EXTENSION;
|
8654
|
|
8655
|
alter table PUBLIC.DESCRIPTIVEDATASET_EXTENSION
|
8656
|
add constraint FKbd4gsgavb90trynuw2e59ah51
|
8657
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8658
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8659
|
|
8660
|
alter table PUBLIC.DESCRIPTIVEDATASET_EXTENSION_AUD
|
8661
|
add constraint FK1wf9y86gi4271vcpofqc5ehg0
|
8662
|
foreign key (REV)
|
8663
|
references PUBLIC.AUDITEVENT;
|
8664
|
|
8665
|
alter table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK
|
8666
|
add constraint FKm8vwqvl1pa1l75w79929owud
|
8667
|
foreign key (LINKS_ID)
|
8668
|
references PUBLIC.EXTERNALLINK;
|
8669
|
|
8670
|
alter table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK
|
8671
|
add constraint FKejjxij5giwhbu4rgyshceq6vb
|
8672
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8673
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8674
|
|
8675
|
alter table PUBLIC.DESCRIPTIVEDATASET_EXTERNALLINK_AUD
|
8676
|
add constraint FKlor6a8njeuww117mdy0e9c6td
|
8677
|
foreign key (REV)
|
8678
|
references PUBLIC.AUDITEVENT;
|
8679
|
|
8680
|
alter table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER
|
8681
|
add constraint FKfdjw6q1dpo8577esadu5e6jws
|
8682
|
foreign key (IDENTIFIERS_ID)
|
8683
|
references PUBLIC.IDENTIFIER;
|
8684
|
|
8685
|
alter table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER
|
8686
|
add constraint FKhqvvq3xpa26vh6t03bf7r5rpo
|
8687
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8688
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8689
|
|
8690
|
alter table PUBLIC.DESCRIPTIVEDATASET_IDENTIFIER_AUD
|
8691
|
add constraint FKlqvogueerwvrpxwigsi8n9tka
|
8692
|
foreign key (REV)
|
8693
|
references PUBLIC.AUDITEVENT;
|
8694
|
|
8695
|
alter table PUBLIC.DESCRIPTIVEDATASET_MARKER
|
8696
|
add constraint FKgb6jus8w318a2pdj26dxcy7kw
|
8697
|
foreign key (MARKERS_ID)
|
8698
|
references PUBLIC.MARKER;
|
8699
|
|
8700
|
alter table PUBLIC.DESCRIPTIVEDATASET_MARKER
|
8701
|
add constraint FKai7h2m0sbn2rj5g7oaptf6nxw
|
8702
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8703
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8704
|
|
8705
|
alter table PUBLIC.DESCRIPTIVEDATASET_MARKER_AUD
|
8706
|
add constraint FK8tf3btdqx9qj2seqpp56g2kll
|
8707
|
foreign key (REV)
|
8708
|
references PUBLIC.AUDITEVENT;
|
8709
|
|
8710
|
alter table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA
|
8711
|
add constraint FK23grh6slnhi6vr3618b8ec0gk
|
8712
|
foreign key (GEOFILTER_ID)
|
8713
|
references PUBLIC.DEFINEDTERMBASE;
|
8714
|
|
8715
|
alter table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA
|
8716
|
add constraint FKkbh7vp3bf6davfxe8w05hurhv
|
8717
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8718
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8719
|
|
8720
|
alter table PUBLIC.DESCRIPTIVEDATASET_NAMEDAREA_AUD
|
8721
|
add constraint FKmn7gy6l36wavb62ntoa6ujyq1
|
8722
|
foreign key (REV)
|
8723
|
references PUBLIC.AUDITEVENT;
|
8724
|
|
8725
|
alter table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE
|
8726
|
add constraint FKg22ntow071etnnq4l54lf85im
|
8727
|
foreign key (SOURCES_ID)
|
8728
|
references PUBLIC.ORIGINALSOURCEBASE;
|
8729
|
|
8730
|
alter table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE
|
8731
|
add constraint FK5hh108378ncavh5c6egkhcf76
|
8732
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8733
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8734
|
|
8735
|
alter table PUBLIC.DESCRIPTIVEDATASET_ORIGINALSOURCEBASE_AUD
|
8736
|
add constraint FKd8jan8yrrok2ikdwpcnl9eq6
|
8737
|
foreign key (REV)
|
8738
|
references PUBLIC.AUDITEVENT;
|
8739
|
|
8740
|
alter table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION
|
8741
|
add constraint FKrifgts1vekp0pwcs3avs9riww
|
8742
|
foreign key (REPRESENTATIONS_ID)
|
8743
|
references PUBLIC.REPRESENTATION;
|
8744
|
|
8745
|
alter table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION
|
8746
|
add constraint FK53j4hmko7pd3o115u9d7u6ih2
|
8747
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8748
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8749
|
|
8750
|
alter table PUBLIC.DESCRIPTIVEDATASET_REPRESENTATION_AUD
|
8751
|
add constraint FKl5semmqtkokypeui8ipqlocg0
|
8752
|
foreign key (REV)
|
8753
|
references PUBLIC.AUDITEVENT;
|
8754
|
|
8755
|
alter table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO
|
8756
|
add constraint FKny4yy0r8fmdf6xo1mn8pcto1k
|
8757
|
foreign key (RIGHTS_ID)
|
8758
|
references PUBLIC.RIGHTSINFO;
|
8759
|
|
8760
|
alter table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO
|
8761
|
add constraint FK1c0kes68ptbc5f8l0c3ciuacd
|
8762
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8763
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8764
|
|
8765
|
alter table PUBLIC.DESCRIPTIVEDATASET_RIGHTSINFO_AUD
|
8766
|
add constraint FKrw5a670v9aevtetus1lohv1f6
|
8767
|
foreign key (REV)
|
8768
|
references PUBLIC.AUDITEVENT;
|
8769
|
|
8770
|
alter table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE
|
8771
|
add constraint FK569aj5glxqa3af5egijs1kqm1
|
8772
|
foreign key (TAXONSUBTREEFILTER_ID)
|
8773
|
references PUBLIC.TAXONNODE;
|
8774
|
|
8775
|
alter table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE
|
8776
|
add constraint FKj56fftj1fq93f8rfk22lyk9ds
|
8777
|
foreign key (DESCRIPTIVEDATASET_ID)
|
8778
|
references PUBLIC.DESCRIPTIVEDATASET;
|
8779
|
|
8780
|
alter table PUBLIC.DESCRIPTIVEDATASET_TAXONNODE_AUD
|
8781
|
add constraint FK6o76ykuvfrulxaexlsnwhyt8e
|
8782
|
foreign key (REV)
|
8783
|
references PUBLIC.AUDITEVENT;
|
8784
|
|
8785
|
alter table PUBLIC.DETERMINATIONEVENT
|
8786
|
add constraint FKibbnuj9wm975gjbecett5u0w5
|
8787
|
foreign key (CREATEDBY_ID)
|
8788
|
references PUBLIC.USERACCOUNT;
|
8789
|
|
8790
|
alter table PUBLIC.DETERMINATIONEVENT
|
8791
|
add constraint FKj55t3n8wp9knnbf0lnrfclt9s
|
8792
|
foreign key (UPDATEDBY_ID)
|
8793
|
references PUBLIC.USERACCOUNT;
|
8794
|
|
8795
|
alter table PUBLIC.DETERMINATIONEVENT
|
8796
|
add constraint FKbi4mehmcwngivongg0dcsnvjt
|
8797
|
foreign key (ACTOR_ID)
|
8798
|
references PUBLIC.AGENTBASE;
|
8799
|
|
8800
|
alter table PUBLIC.DETERMINATIONEVENT
|
8801
|
add constraint FKrlpm4902dy37n119uxxaf2quf
|
8802
|
foreign key (IDENTIFIEDUNIT_ID)
|
8803
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
8804
|
|
8805
|
alter table PUBLIC.DETERMINATIONEVENT
|
8806
|
add constraint FKitd6gcmm52ajohmmvmw35dbu8
|
8807
|
foreign key (MODIFIER_ID)
|
8808
|
references PUBLIC.DEFINEDTERMBASE;
|
8809
|
|
8810
|
alter table PUBLIC.DETERMINATIONEVENT
|
8811
|
add constraint FKenshxs8ninuc8dfh5d6nhujv6
|
8812
|
foreign key (TAXON_ID)
|
8813
|
references PUBLIC.TAXONBASE;
|
8814
|
|
8815
|
alter table PUBLIC.DETERMINATIONEVENT
|
8816
|
add constraint FKbsaxivyjgjysu2wwxc91x1j9a
|
8817
|
foreign key (TAXONNAME_ID)
|
8818
|
references PUBLIC.TAXONNAME;
|
8819
|
|
8820
|
alter table PUBLIC.DETERMINATIONEVENT_ANNOTATION
|
8821
|
add constraint FKdvyjx6337fgsjdmm4ohppxxi7
|
8822
|
foreign key (ANNOTATIONS_ID)
|
8823
|
references PUBLIC.ANNOTATION;
|
8824
|
|
8825
|
alter table PUBLIC.DETERMINATIONEVENT_ANNOTATION
|
8826
|
add constraint FK2ovcul90jhs3j341nmobqy322
|
8827
|
foreign key (DETERMINATIONEVENT_ID)
|
8828
|
references PUBLIC.DETERMINATIONEVENT;
|
8829
|
|
8830
|
alter table PUBLIC.DETERMINATIONEVENT_ANNOTATION_AUD
|
8831
|
add constraint FKdxyfuhsoc6og1bvw5x5swpia4
|
8832
|
foreign key (REV)
|
8833
|
references PUBLIC.AUDITEVENT;
|
8834
|
|
8835
|
alter table PUBLIC.DETERMINATIONEVENT_AUD
|
8836
|
add constraint FKn79ouqj42aspffmb6pbnx3yb5
|
8837
|
foreign key (REV)
|
8838
|
references PUBLIC.AUDITEVENT;
|
8839
|
|
8840
|
alter table PUBLIC.DETERMINATIONEVENT_MARKER
|
8841
|
add constraint FKfefka6dlvli3vrphji2q7d3mu
|
8842
|
foreign key (MARKERS_ID)
|
8843
|
references PUBLIC.MARKER;
|
8844
|
|
8845
|
alter table PUBLIC.DETERMINATIONEVENT_MARKER
|
8846
|
add constraint FKdw940u2blohdu4smcw7w1k5ar
|
8847
|
foreign key (DETERMINATIONEVENT_ID)
|
8848
|
references PUBLIC.DETERMINATIONEVENT;
|
8849
|
|
8850
|
alter table PUBLIC.DETERMINATIONEVENT_MARKER_AUD
|
8851
|
add constraint FKjc0fbbquilpjgqtarr2yu96pq
|
8852
|
foreign key (REV)
|
8853
|
references PUBLIC.AUDITEVENT;
|
8854
|
|
8855
|
alter table PUBLIC.DETERMINATIONEVENT_REFERENCE
|
8856
|
add constraint FKsbqbqe9uyqnc0t4flu4u8vllg
|
8857
|
foreign key (REFERENCES_ID)
|
8858
|
references PUBLIC.REFERENCE;
|
8859
|
|
8860
|
alter table PUBLIC.DETERMINATIONEVENT_REFERENCE
|
8861
|
add constraint FKhc59i6aelfecdha7vi8dmnc61
|
8862
|
foreign key (DETERMINATIONEVENT_ID)
|
8863
|
references PUBLIC.DETERMINATIONEVENT;
|
8864
|
|
8865
|
alter table PUBLIC.DETERMINATIONEVENT_REFERENCE_AUD
|
8866
|
add constraint FKoewqlxdh92lnvbyyreucni7hb
|
8867
|
foreign key (REV)
|
8868
|
references PUBLIC.AUDITEVENT;
|
8869
|
|
8870
|
alter table PUBLIC.DNAQUALITY
|
8871
|
add constraint FK4i6545hb0rjvhjyt6snhu2mx9
|
8872
|
foreign key (CREATEDBY_ID)
|
8873
|
references PUBLIC.USERACCOUNT;
|
8874
|
|
8875
|
alter table PUBLIC.DNAQUALITY
|
8876
|
add constraint FK8pau3uwu4m6q6k1hxnxwwxg6b
|
8877
|
foreign key (UPDATEDBY_ID)
|
8878
|
references PUBLIC.USERACCOUNT;
|
8879
|
|
8880
|
alter table PUBLIC.DNAQUALITY
|
8881
|
add constraint FKh581ii5wm5dni2vc8phtk9tof
|
8882
|
foreign key (CONCENTRATIONUNIT_ID)
|
8883
|
references PUBLIC.DEFINEDTERMBASE;
|
8884
|
|
8885
|
alter table PUBLIC.DNAQUALITY
|
8886
|
add constraint FKik7n7634hcxsfmixvv1cprnjq
|
8887
|
foreign key (QUALITYTERM_ID)
|
8888
|
references PUBLIC.DEFINEDTERMBASE;
|
8889
|
|
8890
|
alter table PUBLIC.DNAQUALITY
|
8891
|
add constraint FKs1eg5nytye6j282npysfj2k75
|
8892
|
foreign key (TYPEDPURIFICATIONMETHOD_ID)
|
8893
|
references PUBLIC.MATERIALORMETHODEVENT;
|
8894
|
|
8895
|
alter table PUBLIC.DNAQUALITY_AUD
|
8896
|
add constraint FKqnm1mqi1f5fxrlioshbknm817
|
8897
|
foreign key (REV)
|
8898
|
references PUBLIC.AUDITEVENT;
|
8899
|
|
8900
|
alter table PUBLIC.ENTITYCONSTRAINTVIOLATION
|
8901
|
add constraint FKiq0crouh0lv99904lgh0ld7uy
|
8902
|
foreign key (CREATEDBY_ID)
|
8903
|
references PUBLIC.USERACCOUNT;
|
8904
|
|
8905
|
alter table PUBLIC.ENTITYCONSTRAINTVIOLATION
|
8906
|
add constraint FKiek52en6964810296jdco16fs
|
8907
|
foreign key (ENTITYVALIDATION_ID)
|
8908
|
references PUBLIC.ENTITYVALIDATION;
|
8909
|
|
8910
|
alter table PUBLIC.ENTITYVALIDATION
|
8911
|
add constraint FK87cggpktc02jdkspxmwy0c6ck
|
8912
|
foreign key (CREATEDBY_ID)
|
8913
|
references PUBLIC.USERACCOUNT;
|
8914
|
|
8915
|
alter table PUBLIC.EXTENSION
|
8916
|
add constraint FKswfq7xqoasscht05mjqtyj12h
|
8917
|
foreign key (CREATEDBY_ID)
|
8918
|
references PUBLIC.USERACCOUNT;
|
8919
|
|
8920
|
alter table PUBLIC.EXTENSION
|
8921
|
add constraint FKkl3k0he61c43rbhmie6e5v0us
|
8922
|
foreign key (UPDATEDBY_ID)
|
8923
|
references PUBLIC.USERACCOUNT;
|
8924
|
|
8925
|
alter table PUBLIC.EXTENSION
|
8926
|
add constraint FKrwkoecoc82eplwl8grymoy6fc
|
8927
|
foreign key (TYPE_ID)
|
8928
|
references PUBLIC.DEFINEDTERMBASE;
|
8929
|
|
8930
|
alter table PUBLIC.EXTENSION_AUD
|
8931
|
add constraint FK4ef02g1srt8le3362o7jebh5k
|
8932
|
foreign key (REV)
|
8933
|
references PUBLIC.AUDITEVENT;
|
8934
|
|
8935
|
alter table PUBLIC.EXTERNALLINK
|
8936
|
add constraint FK4eavf8ubj982dnlef23co5b19
|
8937
|
foreign key (CREATEDBY_ID)
|
8938
|
references PUBLIC.USERACCOUNT;
|
8939
|
|
8940
|
alter table PUBLIC.EXTERNALLINK
|
8941
|
add constraint FK2gqmalr5sfmljg4n6hc6xfqei
|
8942
|
foreign key (UPDATEDBY_ID)
|
8943
|
references PUBLIC.USERACCOUNT;
|
8944
|
|
8945
|
alter table PUBLIC.EXTERNALLINK_AUD
|
8946
|
add constraint FKepoij2l2ycc3skqs7srof20rm
|
8947
|
foreign key (REV)
|
8948
|
references PUBLIC.AUDITEVENT;
|
8949
|
|
8950
|
alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING
|
8951
|
add constraint FKladw4pvi5wc0aj10fgkesl0jb
|
8952
|
foreign key (DESCRIPTION_ID)
|
8953
|
references PUBLIC.LANGUAGESTRING;
|
8954
|
|
8955
|
alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING
|
8956
|
add constraint FKfwcx2qf0i783vs45a7q1fj1sa
|
8957
|
foreign key (DESCRIPTION_MAPKEY_ID)
|
8958
|
references PUBLIC.DEFINEDTERMBASE;
|
8959
|
|
8960
|
alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING
|
8961
|
add constraint FKg7i2v811p3gy5phhwqevmgrxs
|
8962
|
foreign key (EXTERNALLINK_ID)
|
8963
|
references PUBLIC.EXTERNALLINK;
|
8964
|
|
8965
|
alter table PUBLIC.EXTERNALLINK_LANGUAGESTRING_AUD
|
8966
|
add constraint FKtm24be2oh7ef6ki0jhhexk1et
|
8967
|
foreign key (REV)
|
8968
|
references PUBLIC.AUDITEVENT;
|
8969
|
|
8970
|
alter table PUBLIC.FEATURESTATE
|
8971
|
add constraint FK3tuye2a99xs2f0sfu56t1ccmb
|
8972
|
foreign key (CREATEDBY_ID)
|
8973
|
references PUBLIC.USERACCOUNT;
|
8974
|
|
8975
|
alter table PUBLIC.FEATURESTATE
|
8976
|
add constraint FK1gy6vjs0qshtoe351pp8m4qp0
|
8977
|
foreign key (UPDATEDBY_ID)
|
8978
|
references PUBLIC.USERACCOUNT;
|
8979
|
|
8980
|
alter table PUBLIC.FEATURESTATE
|
8981
|
add constraint FKocohl2xs70wwgc2ckbgmotlgy
|
8982
|
foreign key (FEATURE_ID)
|
8983
|
references PUBLIC.DEFINEDTERMBASE;
|
8984
|
|
8985
|
alter table PUBLIC.FEATURESTATE
|
8986
|
add constraint FKhn26ipbrxr4akjdtj1h73noou
|
8987
|
foreign key (STATE_ID)
|
8988
|
references PUBLIC.DEFINEDTERMBASE;
|
8989
|
|
8990
|
alter table PUBLIC.FEATURESTATE_AUD
|
8991
|
add constraint FK8w1wtokki1fd6hxmiyr21kwf2
|
8992
|
foreign key (REV)
|
8993
|
references PUBLIC.AUDITEVENT;
|
8994
|
|
8995
|
alter table PUBLIC.GATHERINGEVENT
|
8996
|
add constraint FKpqk710jw4n1scvht3hs0j6iyd
|
8997
|
foreign key (CREATEDBY_ID)
|
8998
|
references PUBLIC.USERACCOUNT;
|
8999
|
|
9000
|
alter table PUBLIC.GATHERINGEVENT
|
9001
|
add constraint FK1ab0nj7raa0w59pcnh1mhukkb
|
9002
|
foreign key (UPDATEDBY_ID)
|
9003
|
references PUBLIC.USERACCOUNT;
|
9004
|
|
9005
|
alter table PUBLIC.GATHERINGEVENT
|
9006
|
add constraint FK7b0xtlq0h90tty31ngh0nlo3x
|
9007
|
foreign key (ACTOR_ID)
|
9008
|
references PUBLIC.AGENTBASE;
|
9009
|
|
9010
|
alter table PUBLIC.GATHERINGEVENT
|
9011
|
add constraint FK1t5mmgb8rx968tqge2xx2h3i6
|
9012
|
foreign key (COUNTRY_ID)
|
9013
|
references PUBLIC.DEFINEDTERMBASE;
|
9014
|
|
9015
|
alter table PUBLIC.GATHERINGEVENT
|
9016
|
add constraint FK2bps75ydr7odm0n4t2x5jt5ou
|
9017
|
foreign key (EXACTLOCATION_REFERENCESYSTEM_ID)
|
9018
|
references PUBLIC.DEFINEDTERMBASE;
|
9019
|
|
9020
|
alter table PUBLIC.GATHERINGEVENT
|
9021
|
add constraint FK4jv2wq70akxo4oyhs2smrb2we
|
9022
|
foreign key (LOCALITY_ID)
|
9023
|
references PUBLIC.LANGUAGESTRING;
|
9024
|
|
9025
|
alter table PUBLIC.GATHERINGEVENT_ANNOTATION
|
9026
|
add constraint FK1qwvoiw4w6oejg46jx23j68pv
|
9027
|
foreign key (ANNOTATIONS_ID)
|
9028
|
references PUBLIC.ANNOTATION;
|
9029
|
|
9030
|
alter table PUBLIC.GATHERINGEVENT_ANNOTATION
|
9031
|
add constraint FK1a9h7tnbmccdim9bd6ahgww0l
|
9032
|
foreign key (GATHERINGEVENT_ID)
|
9033
|
references PUBLIC.GATHERINGEVENT;
|
9034
|
|
9035
|
alter table PUBLIC.GATHERINGEVENT_ANNOTATION_AUD
|
9036
|
add constraint FKlsn04o8dufma2vdmbu2bmy6o
|
9037
|
foreign key (REV)
|
9038
|
references PUBLIC.AUDITEVENT;
|
9039
|
|
9040
|
alter table PUBLIC.GATHERINGEVENT_AUD
|
9041
|
add constraint FKs24ovsa8pu53ih1egjexsdo1i
|
9042
|
foreign key (REV)
|
9043
|
references PUBLIC.AUDITEVENT;
|
9044
|
|
9045
|
alter table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE
|
9046
|
add constraint FK1t6qhq2s45mljsrg0ydg7gyn
|
9047
|
foreign key (COLLECTINGAREAS_ID)
|
9048
|
references PUBLIC.DEFINEDTERMBASE;
|
9049
|
|
9050
|
alter table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE
|
9051
|
add constraint FKc3c9ab5xfmti6mkl76lmqguo5
|
9052
|
foreign key (GATHERINGEVENT_ID)
|
9053
|
references PUBLIC.GATHERINGEVENT;
|
9054
|
|
9055
|
alter table PUBLIC.GATHERINGEVENT_DEFINEDTERMBASE_AUD
|
9056
|
add constraint FK5106dfio7k7h4etoyvgr5odr8
|
9057
|
foreign key (REV)
|
9058
|
references PUBLIC.AUDITEVENT;
|
9059
|
|
9060
|
alter table PUBLIC.GATHERINGEVENT_MARKER
|
9061
|
add constraint FKfqcw7mu6d0gv1jqas9kv05g2u
|
9062
|
foreign key (MARKERS_ID)
|
9063
|
references PUBLIC.MARKER;
|
9064
|
|
9065
|
alter table PUBLIC.GATHERINGEVENT_MARKER
|
9066
|
add constraint FK9993x0mbmv0m9g5ksdnm8ad7m
|
9067
|
foreign key (GATHERINGEVENT_ID)
|
9068
|
references PUBLIC.GATHERINGEVENT;
|
9069
|
|
9070
|
alter table PUBLIC.GATHERINGEVENT_MARKER_AUD
|
9071
|
add constraint FKtcvy3v8jc8qm7jvlmqve05cn0
|
9072
|
foreign key (REV)
|
9073
|
references PUBLIC.AUDITEVENT;
|
9074
|
|
9075
|
alter table PUBLIC.GRANTEDAUTHORITYIMPL
|
9076
|
add constraint FKs8x1ir1k8otwjeqye328fynp1
|
9077
|
foreign key (CREATEDBY_ID)
|
9078
|
references PUBLIC.USERACCOUNT;
|
9079
|
|
9080
|
alter table PUBLIC.HOMOTYPICALGROUP
|
9081
|
add constraint FKr6en8v8n9edehgyanarldem2b
|
9082
|
foreign key (CREATEDBY_ID)
|
9083
|
references PUBLIC.USERACCOUNT;
|
9084
|
|
9085
|
alter table PUBLIC.HOMOTYPICALGROUP
|
9086
|
add constraint FK19pgwtnnu30mbecah0j4pq6pp
|
9087
|
foreign key (UPDATEDBY_ID)
|
9088
|
references PUBLIC.USERACCOUNT;
|
9089
|
|
9090
|
alter table PUBLIC.HOMOTYPICALGROUP_ANNOTATION
|
9091
|
add constraint FKo9rn7v0ug79mculk6qfxy2xh9
|
9092
|
foreign key (ANNOTATIONS_ID)
|
9093
|
references PUBLIC.ANNOTATION;
|
9094
|
|
9095
|
alter table PUBLIC.HOMOTYPICALGROUP_ANNOTATION
|
9096
|
add constraint FK9ugcojc1d8dvh2aekobe10w9a
|
9097
|
foreign key (HOMOTYPICALGROUP_ID)
|
9098
|
references PUBLIC.HOMOTYPICALGROUP;
|
9099
|
|
9100
|
alter table PUBLIC.HOMOTYPICALGROUP_ANNOTATION_AUD
|
9101
|
add constraint FKn9mfbrtm8t04717pso5r2g1cf
|
9102
|
foreign key (REV)
|
9103
|
references PUBLIC.AUDITEVENT;
|
9104
|
|
9105
|
alter table PUBLIC.HOMOTYPICALGROUP_AUD
|
9106
|
add constraint FK3ovct4s2a7fxk9f5ga2u2yun6
|
9107
|
foreign key (REV)
|
9108
|
references PUBLIC.AUDITEVENT;
|
9109
|
|
9110
|
alter table PUBLIC.HOMOTYPICALGROUP_MARKER
|
9111
|
add constraint FK2nl3mirb46yrtmv085peqnw7x
|
9112
|
foreign key (MARKERS_ID)
|
9113
|
references PUBLIC.MARKER;
|
9114
|
|
9115
|
alter table PUBLIC.HOMOTYPICALGROUP_MARKER
|
9116
|
add constraint FK7ikm5qlr0ap11kko3p5jvcnrh
|
9117
|
foreign key (HOMOTYPICALGROUP_ID)
|
9118
|
references PUBLIC.HOMOTYPICALGROUP;
|
9119
|
|
9120
|
alter table PUBLIC.HOMOTYPICALGROUP_MARKER_AUD
|
9121
|
add constraint FK27rgsh6ytacuvcmdbty35c85o
|
9122
|
foreign key (REV)
|
9123
|
references PUBLIC.AUDITEVENT;
|
9124
|
|
9125
|
alter table PUBLIC.HYBRIDRELATIONSHIP
|
9126
|
add constraint FKlsojetf7oek5biilvtqex5uh
|
9127
|
foreign key (CREATEDBY_ID)
|
9128
|
references PUBLIC.USERACCOUNT;
|
9129
|
|
9130
|
alter table PUBLIC.HYBRIDRELATIONSHIP
|
9131
|
add constraint FKsxt6hi7rojhjm67nyk7d1kc8n
|
9132
|
foreign key (UPDATEDBY_ID)
|
9133
|
references PUBLIC.USERACCOUNT;
|
9134
|
|
9135
|
alter table PUBLIC.HYBRIDRELATIONSHIP
|
9136
|
add constraint FKi1s7boglpstajpundeeev9y1a
|
9137
|
foreign key (SOURCE_ID)
|
9138
|
references PUBLIC.ORIGINALSOURCEBASE;
|
9139
|
|
9140
|
alter table PUBLIC.HYBRIDRELATIONSHIP
|
9141
|
add constraint FKs2dny1wq2jq7h6i2xggqnv0ks
|
9142
|
foreign key (RELATEDFROM_ID)
|
9143
|
references PUBLIC.TAXONNAME;
|
9144
|
|
9145
|
alter table PUBLIC.HYBRIDRELATIONSHIP
|
9146
|
add constraint FK7ryy1wfocaeblaur5v88mh1ck
|
9147
|
foreign key (RELATEDTO_ID)
|
9148
|
references PUBLIC.TAXONNAME;
|
9149
|
|
9150
|
alter table PUBLIC.HYBRIDRELATIONSHIP
|
9151
|
add constraint FKgn0cyuopk4ykosj1w531k3d9p
|
9152
|
foreign key (TYPE_ID)
|
9153
|
references PUBLIC.DEFINEDTERMBASE;
|
9154
|
|
9155
|
alter table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION
|
9156
|
add constraint FK4n98pc8jna3asa4x3cbhmj90d
|
9157
|
foreign key (ANNOTATIONS_ID)
|
9158
|
references PUBLIC.ANNOTATION;
|
9159
|
|
9160
|
alter table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION
|
9161
|
add constraint FKki1o53i4j03j9kfw3cu0ge5lb
|
9162
|
foreign key (HYBRIDRELATIONSHIP_ID)
|
9163
|
references PUBLIC.HYBRIDRELATIONSHIP;
|
9164
|
|
9165
|
alter table PUBLIC.HYBRIDRELATIONSHIP_ANNOTATION_AUD
|
9166
|
add constraint FKf99156t69kf99uwbfh0m8teur
|
9167
|
foreign key (REV)
|
9168
|
references PUBLIC.AUDITEVENT;
|
9169
|
|
9170
|
alter table PUBLIC.HYBRIDRELATIONSHIP_AUD
|
9171
|
add constraint FK182um4k9q9ta3c6v2g39xoua9
|
9172
|
foreign key (REV)
|
9173
|
references PUBLIC.AUDITEVENT;
|
9174
|
|
9175
|
alter table PUBLIC.HYBRIDRELATIONSHIP_MARKER
|
9176
|
add constraint FKbcw6cc5wd0hgn0681mfw5vm5y
|
9177
|
foreign key (MARKERS_ID)
|
9178
|
references PUBLIC.MARKER;
|
9179
|
|
9180
|
alter table PUBLIC.HYBRIDRELATIONSHIP_MARKER
|
9181
|
add constraint FKssdx5t2r42ay6dhy0sw46h1h
|
9182
|
foreign key (HYBRIDRELATIONSHIP_ID)
|
9183
|
references PUBLIC.HYBRIDRELATIONSHIP;
|
9184
|
|
9185
|
alter table PUBLIC.HYBRIDRELATIONSHIP_MARKER_AUD
|
9186
|
add constraint FK6t416j0pmkke0xj0eoe4cmprm
|
9187
|
foreign key (REV)
|
9188
|
references PUBLIC.AUDITEVENT;
|
9189
|
|
9190
|
alter table PUBLIC.IDENTIFIER
|
9191
|
add constraint FK4sb4l1xtrjjnse3556jkivqlw
|
9192
|
foreign key (CREATEDBY_ID)
|
9193
|
references PUBLIC.USERACCOUNT;
|
9194
|
|
9195
|
alter table PUBLIC.IDENTIFIER
|
9196
|
add constraint FKfji2f2t9guiyxbuw9t798hvqd
|
9197
|
foreign key (UPDATEDBY_ID)
|
9198
|
references PUBLIC.USERACCOUNT;
|
9199
|
|
9200
|
alter table PUBLIC.IDENTIFIER
|
9201
|
add constraint FKfq97obi6hcks0ad3ji7pyu5vu
|
9202
|
foreign key (TYPE_ID)
|
9203
|
references PUBLIC.DEFINEDTERMBASE;
|
9204
|
|
9205
|
alter table PUBLIC.IDENTIFIER_ANNOTATION
|
9206
|
add constraint FK278kbe8thngepeg9a3bjgp2x9
|
9207
|
foreign key (ANNOTATIONS_ID)
|
9208
|
references PUBLIC.ANNOTATION;
|
9209
|
|
9210
|
alter table PUBLIC.IDENTIFIER_ANNOTATION
|
9211
|
add constraint FKs5smk8huwgvbysbalh0l05vqr
|
9212
|
foreign key (IDENTIFIER_ID)
|
9213
|
references PUBLIC.IDENTIFIER;
|
9214
|
|
9215
|
alter table PUBLIC.IDENTIFIER_ANNOTATION_AUD
|
9216
|
add constraint FKky0afx0m0ag1l508g114p7y4s
|
9217
|
foreign key (REV)
|
9218
|
references PUBLIC.AUDITEVENT;
|
9219
|
|
9220
|
alter table PUBLIC.IDENTIFIER_AUD
|
9221
|
add constraint FKe1n0g9gva7nfy9n59o5ytje1v
|
9222
|
foreign key (REV)
|
9223
|
references PUBLIC.AUDITEVENT;
|
9224
|
|
9225
|
alter table PUBLIC.IDENTIFIER_MARKER
|
9226
|
add constraint FKqvtcw0r0cnktava1ag2b2ojos
|
9227
|
foreign key (MARKERS_ID)
|
9228
|
references PUBLIC.MARKER;
|
9229
|
|
9230
|
alter table PUBLIC.IDENTIFIER_MARKER
|
9231
|
add constraint FKsruadwm4olq5t1s4i6lgemvud
|
9232
|
foreign key (IDENTIFIER_ID)
|
9233
|
references PUBLIC.IDENTIFIER;
|
9234
|
|
9235
|
alter table PUBLIC.IDENTIFIER_MARKER_AUD
|
9236
|
add constraint FK7frs14vlmbb79jrvmw81y0n0r
|
9237
|
foreign key (REV)
|
9238
|
references PUBLIC.AUDITEVENT;
|
9239
|
|
9240
|
alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING
|
9241
|
add constraint FKha59mpjwcl3ye4cnn8xrmsl2c
|
9242
|
foreign key (DESCRIPTION_ID)
|
9243
|
references PUBLIC.LANGUAGESTRING;
|
9244
|
|
9245
|
alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING
|
9246
|
add constraint FK4ldul50s47dv6thj1kgfghowd
|
9247
|
foreign key (DESCRIPTION_MAPKEY_ID)
|
9248
|
references PUBLIC.DEFINEDTERMBASE;
|
9249
|
|
9250
|
alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING
|
9251
|
add constraint FK4ivne3cvbnpeu5rx9x5jk1dmk
|
9252
|
foreign key (INDIVIDUALSASSOCIATION_ID)
|
9253
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
9254
|
|
9255
|
alter table PUBLIC.INDIVIDUALSASSOCIATION_LANGUAGESTRING_AUD
|
9256
|
add constraint FKsb4p1p9e6dalbh2rs2u0sqsar
|
9257
|
foreign key (REV)
|
9258
|
references PUBLIC.AUDITEVENT;
|
9259
|
|
9260
|
alter table PUBLIC.INSTITUTIONALMEMBERSHIP
|
9261
|
add constraint FK4e6eu47wuub8wxgy4fo9y5kep
|
9262
|
foreign key (CREATEDBY_ID)
|
9263
|
references PUBLIC.USERACCOUNT;
|
9264
|
|
9265
|
alter table PUBLIC.INSTITUTIONALMEMBERSHIP
|
9266
|
add constraint FKfrn8fexgjdvdv30qk78mahngo
|
9267
|
foreign key (UPDATEDBY_ID)
|
9268
|
references PUBLIC.USERACCOUNT;
|
9269
|
|
9270
|
alter table PUBLIC.INSTITUTIONALMEMBERSHIP
|
9271
|
add constraint FKh8m2v2t9k3f4sl1e3oddxxjwm
|
9272
|
foreign key (INSTITUTE_ID)
|
9273
|
references PUBLIC.AGENTBASE;
|
9274
|
|
9275
|
alter table PUBLIC.INSTITUTIONALMEMBERSHIP
|
9276
|
add constraint FKhy9x2n0q3s6gbicapo9953jn0
|
9277
|
foreign key (PERSON_ID)
|
9278
|
references PUBLIC.AGENTBASE;
|
9279
|
|
9280
|
alter table PUBLIC.INSTITUTIONALMEMBERSHIP_AUD
|
9281
|
add constraint FKab8o0bapv23a367xrwcaqsb5g
|
9282
|
foreign key (REV)
|
9283
|
references PUBLIC.AUDITEVENT;
|
9284
|
|
9285
|
alter table PUBLIC.KEYSTATEMENT
|
9286
|
add constraint FKqnt3xxymg3txd0u1387bxjit6
|
9287
|
foreign key (CREATEDBY_ID)
|
9288
|
references PUBLIC.USERACCOUNT;
|
9289
|
|
9290
|
alter table PUBLIC.KEYSTATEMENT
|
9291
|
add constraint FKsiddokwfgws8593qwpla0ulqf
|
9292
|
foreign key (UPDATEDBY_ID)
|
9293
|
references PUBLIC.USERACCOUNT;
|
9294
|
|
9295
|
alter table PUBLIC.KEYSTATEMENT_AUD
|
9296
|
add constraint FKgutspnardwn9j228jc0of47k2
|
9297
|
foreign key (REV)
|
9298
|
references PUBLIC.AUDITEVENT;
|
9299
|
|
9300
|
alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING
|
9301
|
add constraint FKmbd4p5vknepr3iln5yomf65ad
|
9302
|
foreign key (LABEL_ID)
|
9303
|
references PUBLIC.LANGUAGESTRING;
|
9304
|
|
9305
|
alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING
|
9306
|
add constraint FKejo7cd7gpmbaidhyhas8jta8w
|
9307
|
foreign key (LABEL_MAPKEY_ID)
|
9308
|
references PUBLIC.DEFINEDTERMBASE;
|
9309
|
|
9310
|
alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING
|
9311
|
add constraint FKm7cn0w2qgsw6t87aqo0lurewu
|
9312
|
foreign key (KEYSTATEMENT_ID)
|
9313
|
references PUBLIC.KEYSTATEMENT;
|
9314
|
|
9315
|
alter table PUBLIC.KEYSTATEMENT_LANGUAGESTRING_AUD
|
9316
|
add constraint FKglqxrq46v8s974it8txk76i4i
|
9317
|
foreign key (REV)
|
9318
|
references PUBLIC.AUDITEVENT;
|
9319
|
|
9320
|
alter table PUBLIC.LANGUAGESTRING
|
9321
|
add constraint FKl41gi4ktpqvx3oaym4smy3h9s
|
9322
|
foreign key (CREATEDBY_ID)
|
9323
|
references PUBLIC.USERACCOUNT;
|
9324
|
|
9325
|
alter table PUBLIC.LANGUAGESTRING
|
9326
|
add constraint FKfees6pjqwagbl613kaftsm53w
|
9327
|
foreign key (UPDATEDBY_ID)
|
9328
|
references PUBLIC.USERACCOUNT;
|
9329
|
|
9330
|
alter table PUBLIC.LANGUAGESTRING
|
9331
|
add constraint FK5odji33qku4b1ujdky851bvdc
|
9332
|
foreign key (LANGUAGE_ID)
|
9333
|
references PUBLIC.DEFINEDTERMBASE;
|
9334
|
|
9335
|
alter table PUBLIC.LANGUAGESTRING_ANNOTATION
|
9336
|
add constraint FK1ge61jqf39kafueea84gboccj
|
9337
|
foreign key (ANNOTATIONS_ID)
|
9338
|
references PUBLIC.ANNOTATION;
|
9339
|
|
9340
|
alter table PUBLIC.LANGUAGESTRING_ANNOTATION
|
9341
|
add constraint FK17n0l0cpfmgy3qs0uuet7cfj7
|
9342
|
foreign key (LANGUAGESTRING_ID)
|
9343
|
references PUBLIC.LANGUAGESTRING;
|
9344
|
|
9345
|
alter table PUBLIC.LANGUAGESTRING_ANNOTATION_AUD
|
9346
|
add constraint FKca0i3vinrmg9rupy5bfcybmpk
|
9347
|
foreign key (REV)
|
9348
|
references PUBLIC.AUDITEVENT;
|
9349
|
|
9350
|
alter table PUBLIC.LANGUAGESTRING_AUD
|
9351
|
add constraint FK8g6m69f4osq6ofm5bk2n79pp1
|
9352
|
foreign key (REV)
|
9353
|
references PUBLIC.AUDITEVENT;
|
9354
|
|
9355
|
alter table PUBLIC.LANGUAGESTRING_MARKER
|
9356
|
add constraint FK7otjqpop5mnoyuhqugpaa9eyi
|
9357
|
foreign key (MARKERS_ID)
|
9358
|
references PUBLIC.MARKER;
|
9359
|
|
9360
|
alter table PUBLIC.LANGUAGESTRING_MARKER
|
9361
|
add constraint FKnd3un50dqqur4tbk2ndx7f9nn
|
9362
|
foreign key (LANGUAGESTRING_ID)
|
9363
|
references PUBLIC.LANGUAGESTRING;
|
9364
|
|
9365
|
alter table PUBLIC.LANGUAGESTRING_MARKER_AUD
|
9366
|
add constraint FK2pj2s75jnrj6vx5gf7enkfhoi
|
9367
|
foreign key (REV)
|
9368
|
references PUBLIC.AUDITEVENT;
|
9369
|
|
9370
|
alter table PUBLIC.LSIDAUTHORITY
|
9371
|
add constraint FKl17h0ha0fop3fmf8e62udy4q4
|
9372
|
foreign key (CREATEDBY_ID)
|
9373
|
references PUBLIC.USERACCOUNT;
|
9374
|
|
9375
|
alter table PUBLIC.LSIDAUTHORITY_NAMESPACES
|
9376
|
add constraint FKsw338lx87dq3g9e82qape1mhj
|
9377
|
foreign key (LSIDAUTHORITY_ID)
|
9378
|
references PUBLIC.LSIDAUTHORITY;
|
9379
|
|
9380
|
alter table PUBLIC.MARKER
|
9381
|
add constraint FKpxxxvyh1al8e0fptwsip660he
|
9382
|
foreign key (CREATEDBY_ID)
|
9383
|
references PUBLIC.USERACCOUNT;
|
9384
|
|
9385
|
alter table PUBLIC.MARKER
|
9386
|
add constraint FKt03pllwosmw8t0n9u7y4hvmnf
|
9387
|
foreign key (UPDATEDBY_ID)
|
9388
|
references PUBLIC.USERACCOUNT;
|
9389
|
|
9390
|
alter table PUBLIC.MARKER
|
9391
|
add constraint FK76rj0o6f74t485f9mfqkvjphs
|
9392
|
foreign key (MARKERTYPE_ID)
|
9393
|
references PUBLIC.DEFINEDTERMBASE;
|
9394
|
|
9395
|
alter table PUBLIC.MARKER_AUD
|
9396
|
add constraint FK9d1rdy8cp9cpsi2ldmne4wimq
|
9397
|
foreign key (REV)
|
9398
|
references PUBLIC.AUDITEVENT;
|
9399
|
|
9400
|
alter table PUBLIC.MATERIALORMETHODEVENT
|
9401
|
add constraint FK2m8g515hxe5ko8rbbqtsdagwi
|
9402
|
foreign key (CREATEDBY_ID)
|
9403
|
references PUBLIC.USERACCOUNT;
|
9404
|
|
9405
|
alter table PUBLIC.MATERIALORMETHODEVENT
|
9406
|
add constraint FKduhc8fhnmb5sua9pit4lqp3il
|
9407
|
foreign key (UPDATEDBY_ID)
|
9408
|
references PUBLIC.USERACCOUNT;
|
9409
|
|
9410
|
alter table PUBLIC.MATERIALORMETHODEVENT
|
9411
|
add constraint FKr5mue836ko6jcilo3qnj74o0o
|
9412
|
foreign key (ACTOR_ID)
|
9413
|
references PUBLIC.AGENTBASE;
|
9414
|
|
9415
|
alter table PUBLIC.MATERIALORMETHODEVENT
|
9416
|
add constraint FKfagdngp50n3ekagyewlg0olr5
|
9417
|
foreign key (DEFINEDMATERIALORMETHOD_ID)
|
9418
|
references PUBLIC.DEFINEDTERMBASE;
|
9419
|
|
9420
|
alter table PUBLIC.MATERIALORMETHODEVENT
|
9421
|
add constraint FKgvxymmm3wnkly28ydpjq817kg
|
9422
|
foreign key (FORWARDPRIMER_ID)
|
9423
|
references PUBLIC.PRIMER;
|
9424
|
|
9425
|
alter table PUBLIC.MATERIALORMETHODEVENT
|
9426
|
add constraint FKewjvap9j4ekn25ofb5ds2tr2p
|
9427
|
foreign key (REVERSEPRIMER_ID)
|
9428
|
references PUBLIC.PRIMER;
|
9429
|
|
9430
|
alter table PUBLIC.MATERIALORMETHODEVENT
|
9431
|
add constraint FKb6rtvwxq8trlwnkgbwageefo8
|
9432
|
foreign key (MEDIUM_ID)
|
9433
|
references PUBLIC.DEFINEDTERMBASE;
|
9434
|
|
9435
|
alter table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION
|
9436
|
add constraint FK6s51g75sia43v3p2b83d0ipwj
|
9437
|
foreign key (ANNOTATIONS_ID)
|
9438
|
references PUBLIC.ANNOTATION;
|
9439
|
|
9440
|
alter table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION
|
9441
|
add constraint FKk7he90emcnqq3wawn3x8mqebp
|
9442
|
foreign key (MATERIALORMETHODEVENT_ID)
|
9443
|
references PUBLIC.MATERIALORMETHODEVENT;
|
9444
|
|
9445
|
alter table PUBLIC.MATERIALORMETHODEVENT_ANNOTATION_AUD
|
9446
|
add constraint FK76xi1mcn7i1vy2o63v1w5xi2y
|
9447
|
foreign key (REV)
|
9448
|
references PUBLIC.AUDITEVENT;
|
9449
|
|
9450
|
alter table PUBLIC.MATERIALORMETHODEVENT_AUD
|
9451
|
add constraint FKt8i9mtebnj3fjnsbjgbtv2akt
|
9452
|
foreign key (REV)
|
9453
|
references PUBLIC.AUDITEVENT;
|
9454
|
|
9455
|
alter table PUBLIC.MATERIALORMETHODEVENT_MARKER
|
9456
|
add constraint FKqntl9s1y57kw777ogfu246gic
|
9457
|
foreign key (MARKERS_ID)
|
9458
|
references PUBLIC.MARKER;
|
9459
|
|
9460
|
alter table PUBLIC.MATERIALORMETHODEVENT_MARKER
|
9461
|
add constraint FK7pp1mm5np5dub9wi401gxqxhv
|
9462
|
foreign key (MATERIALORMETHODEVENT_ID)
|
9463
|
references PUBLIC.MATERIALORMETHODEVENT;
|
9464
|
|
9465
|
alter table PUBLIC.MATERIALORMETHODEVENT_MARKER_AUD
|
9466
|
add constraint FK5rrfvhxp0hnutkhhpxk63diaq
|
9467
|
foreign key (REV)
|
9468
|
references PUBLIC.AUDITEVENT;
|
9469
|
|
9470
|
alter table PUBLIC.MEDIA
|
9471
|
add constraint FK5jt2cla3c4mnpl8p2iu3g70g1
|
9472
|
foreign key (CREATEDBY_ID)
|
9473
|
references PUBLIC.USERACCOUNT;
|
9474
|
|
9475
|
alter table PUBLIC.MEDIA
|
9476
|
add constraint FKatx3ridt6f0vdhfi5jlwgv3x0
|
9477
|
foreign key (UPDATEDBY_ID)
|
9478
|
references PUBLIC.USERACCOUNT;
|
9479
|
|
9480
|
alter table PUBLIC.MEDIA
|
9481
|
add constraint FKbu4e8gehjj4mp56g75d13q6w3
|
9482
|
foreign key (ARTIST_ID)
|
9483
|
references PUBLIC.AGENTBASE;
|
9484
|
|
9485
|
alter table PUBLIC.MEDIA
|
9486
|
add constraint FKqijxx4qtgfflv1emups6w16n4
|
9487
|
foreign key (LINK_ID)
|
9488
|
references PUBLIC.EXTERNALLINK;
|
9489
|
|
9490
|
alter table PUBLIC.MEDIA_ANNOTATION
|
9491
|
add constraint FKa2tyy7newxxv33qdajxe9722
|
9492
|
foreign key (ANNOTATIONS_ID)
|
9493
|
references PUBLIC.ANNOTATION;
|
9494
|
|
9495
|
alter table PUBLIC.MEDIA_ANNOTATION
|
9496
|
add constraint FKnp6l75vgq181muteypk8vudr3
|
9497
|
foreign key (MEDIA_ID)
|
9498
|
references PUBLIC.MEDIA;
|
9499
|
|
9500
|
alter table PUBLIC.MEDIA_ANNOTATION_AUD
|
9501
|
add constraint FKj8gq550dwgnhmbbj2taisatr6
|
9502
|
foreign key (REV)
|
9503
|
references PUBLIC.AUDITEVENT;
|
9504
|
|
9505
|
alter table PUBLIC.MEDIA_AUD
|
9506
|
add constraint FKfkn65yfnjdbkfhqf641fcixnl
|
9507
|
foreign key (REV)
|
9508
|
references PUBLIC.AUDITEVENT;
|
9509
|
|
9510
|
alter table PUBLIC.MEDIA_CREDIT
|
9511
|
add constraint FKlmuyqnsj6308ari1166tchoki
|
9512
|
foreign key (CREDITS_ID)
|
9513
|
references PUBLIC.CREDIT;
|
9514
|
|
9515
|
alter table PUBLIC.MEDIA_CREDIT
|
9516
|
add constraint FKpp1wuwvf7o6aslfpafa70q3jd
|
9517
|
foreign key (MEDIA_ID)
|
9518
|
references PUBLIC.MEDIA;
|
9519
|
|
9520
|
alter table PUBLIC.MEDIA_CREDIT_AUD
|
9521
|
add constraint FKisemhty7l7ncbi2ltqiaaf9yg
|
9522
|
foreign key (REV)
|
9523
|
references PUBLIC.AUDITEVENT;
|
9524
|
|
9525
|
alter table PUBLIC.MEDIA_DESCRIPTION
|
9526
|
add constraint FKd3n7y6ob5ruwwn5jfcla9mf3g
|
9527
|
foreign key (DESCRIPTION_ID)
|
9528
|
references PUBLIC.LANGUAGESTRING;
|
9529
|
|
9530
|
alter table PUBLIC.MEDIA_DESCRIPTION
|
9531
|
add constraint FKckksoh0s4dpt7ue7vsjn0s7h1
|
9532
|
foreign key (DESCRIPTION_MAPKEY_ID)
|
9533
|
references PUBLIC.DEFINEDTERMBASE;
|
9534
|
|
9535
|
alter table PUBLIC.MEDIA_DESCRIPTION
|
9536
|
add constraint FKeobnie70i95fllnxjlwgrdah8
|
9537
|
foreign key (MEDIA_ID)
|
9538
|
references PUBLIC.MEDIA;
|
9539
|
|
9540
|
alter table PUBLIC.MEDIA_DESCRIPTION_AUD
|
9541
|
add constraint FKau6jjvxwndy3rrxie2cksxt1l
|
9542
|
foreign key (REV)
|
9543
|
references PUBLIC.AUDITEVENT;
|
9544
|
|
9545
|
alter table PUBLIC.MEDIA_EXTENSION
|
9546
|
add constraint FKphsfhl2396e4kgdoqovlsjsw
|
9547
|
foreign key (EXTENSIONS_ID)
|
9548
|
references PUBLIC.EXTENSION;
|
9549
|
|
9550
|
alter table PUBLIC.MEDIA_EXTENSION
|
9551
|
add constraint FK8q0ddmr1vsmh4vy2jrrkxymrs
|
9552
|
foreign key (MEDIA_ID)
|
9553
|
references PUBLIC.MEDIA;
|
9554
|
|
9555
|
alter table PUBLIC.MEDIA_EXTENSION_AUD
|
9556
|
add constraint FK5ai2eg6e15a4vp4wuup5p4iml
|
9557
|
foreign key (REV)
|
9558
|
references PUBLIC.AUDITEVENT;
|
9559
|
|
9560
|
alter table PUBLIC.MEDIA_EXTERNALLINK
|
9561
|
add constraint FK2sxnllgjihyv6kw34a9x8ue7j
|
9562
|
foreign key (LINKS_ID)
|
9563
|
references PUBLIC.EXTERNALLINK;
|
9564
|
|
9565
|
alter table PUBLIC.MEDIA_EXTERNALLINK
|
9566
|
add constraint FKgbfpelqbuf3rsfg13njh6hako
|
9567
|
foreign key (MEDIA_ID)
|
9568
|
references PUBLIC.MEDIA;
|
9569
|
|
9570
|
alter table PUBLIC.MEDIA_EXTERNALLINK_AUD
|
9571
|
add constraint FKbpkggid3d3dh0unvbvuwgwni5
|
9572
|
foreign key (REV)
|
9573
|
references PUBLIC.AUDITEVENT;
|
9574
|
|
9575
|
alter table PUBLIC.MEDIA_IDENTIFIER
|
9576
|
add constraint FKekkjl7i68xekus26ye4u63me7
|
9577
|
foreign key (IDENTIFIERS_ID)
|
9578
|
references PUBLIC.IDENTIFIER;
|
9579
|
|
9580
|
alter table PUBLIC.MEDIA_IDENTIFIER
|
9581
|
add constraint FK1yd2h1kxcfakib5o6q4w40u76
|
9582
|
foreign key (MEDIA_ID)
|
9583
|
references PUBLIC.MEDIA;
|
9584
|
|
9585
|
alter table PUBLIC.MEDIA_IDENTIFIER_AUD
|
9586
|
add constraint FKl7ixofbsqy06vabpqadcwrl2f
|
9587
|
foreign key (REV)
|
9588
|
references PUBLIC.AUDITEVENT;
|
9589
|
|
9590
|
alter table PUBLIC.MEDIA_LANGUAGESTRING
|
9591
|
add constraint FK7bytsc1lv3dhydmcwf4t3xxv3
|
9592
|
foreign key (TITLE_ID)
|
9593
|
references PUBLIC.LANGUAGESTRING;
|
9594
|
|
9595
|
alter table PUBLIC.MEDIA_LANGUAGESTRING
|
9596
|
add constraint FK4trhdsx1ll07ttyr4g9mdpmy7
|
9597
|
foreign key (TITLE_MAPKEY_ID)
|
9598
|
references PUBLIC.DEFINEDTERMBASE;
|
9599
|
|
9600
|
alter table PUBLIC.MEDIA_LANGUAGESTRING
|
9601
|
add constraint FK558ybqei2u974vged5uwk33au
|
9602
|
foreign key (MEDIA_ID)
|
9603
|
references PUBLIC.MEDIA;
|
9604
|
|
9605
|
alter table PUBLIC.MEDIA_LANGUAGESTRING_AUD
|
9606
|
add constraint FK1t0jlv6thb9ion1ttx04rfg7
|
9607
|
foreign key (REV)
|
9608
|
references PUBLIC.AUDITEVENT;
|
9609
|
|
9610
|
alter table PUBLIC.MEDIA_MARKER
|
9611
|
add constraint FK4n9vmufv7m8a1bd6pd4j084oo
|
9612
|
foreign key (MARKERS_ID)
|
9613
|
references PUBLIC.MARKER;
|
9614
|
|
9615
|
alter table PUBLIC.MEDIA_MARKER
|
9616
|
add constraint FKbdr4vdi3gfybpe7foyi55qiwq
|
9617
|
foreign key (MEDIA_ID)
|
9618
|
references PUBLIC.MEDIA;
|
9619
|
|
9620
|
alter table PUBLIC.MEDIA_MARKER_AUD
|
9621
|
add constraint FKa30b8151eyetbcxb32irkm3da
|
9622
|
foreign key (REV)
|
9623
|
references PUBLIC.AUDITEVENT;
|
9624
|
|
9625
|
alter table PUBLIC.MEDIA_ORIGINALSOURCEBASE
|
9626
|
add constraint FKmrgc157o3tk55gxrm34qncxas
|
9627
|
foreign key (SOURCES_ID)
|
9628
|
references PUBLIC.ORIGINALSOURCEBASE;
|
9629
|
|
9630
|
alter table PUBLIC.MEDIA_ORIGINALSOURCEBASE
|
9631
|
add constraint FKarh6x428ne9a1qskth2y961xa
|
9632
|
foreign key (MEDIA_ID)
|
9633
|
references PUBLIC.MEDIA;
|
9634
|
|
9635
|
alter table PUBLIC.MEDIA_ORIGINALSOURCEBASE_AUD
|
9636
|
add constraint FK7d2rhjkgxv0eiblpvlu6e3hb1
|
9637
|
foreign key (REV)
|
9638
|
references PUBLIC.AUDITEVENT;
|
9639
|
|
9640
|
alter table PUBLIC.MEDIA_REPRESENTATION
|
9641
|
add constraint FKpfurig0v38xdmo8ub6cef8r58
|
9642
|
foreign key (KEYREPRESENTATIONS_ID)
|
9643
|
references PUBLIC.REPRESENTATION;
|
9644
|
|
9645
|
alter table PUBLIC.MEDIA_REPRESENTATION
|
9646
|
add constraint FKd8gytg8fu4wgu9mxkn00h22mm
|
9647
|
foreign key (MEDIAKEY_ID)
|
9648
|
references PUBLIC.MEDIA;
|
9649
|
|
9650
|
alter table PUBLIC.MEDIA_REPRESENTATION_AUD
|
9651
|
add constraint FKqpqx3c0kp2wol5ahun5yd4fss
|
9652
|
foreign key (REV)
|
9653
|
references PUBLIC.AUDITEVENT;
|
9654
|
|
9655
|
alter table PUBLIC.MEDIA_RIGHTSINFO
|
9656
|
add constraint FKinqb4cnam3v44glrv83kwbxnw
|
9657
|
foreign key (RIGHTS_ID)
|
9658
|
references PUBLIC.RIGHTSINFO;
|
9659
|
|
9660
|
alter table PUBLIC.MEDIA_RIGHTSINFO
|
9661
|
add constraint FKa8ewwuo6idfbc0is6d1qpmcu7
|
9662
|
foreign key (MEDIA_ID)
|
9663
|
references PUBLIC.MEDIA;
|
9664
|
|
9665
|
alter table PUBLIC.MEDIA_RIGHTSINFO_AUD
|
9666
|
add constraint FKcyktnr9dcrxhhvmc51fhcpyae
|
9667
|
foreign key (REV)
|
9668
|
references PUBLIC.AUDITEVENT;
|
9669
|
|
9670
|
alter table PUBLIC.MEDIA_SEQUENCE
|
9671
|
add constraint FKhmb1miqgekb28sj0g00jupgal
|
9672
|
foreign key (USEDSEQUENCES_ID)
|
9673
|
references PUBLIC.SEQUENCE;
|
9674
|
|
9675
|
alter table PUBLIC.MEDIA_SEQUENCE
|
9676
|
add constraint FKjn3k9mra42p30ft31r8efr261
|
9677
|
foreign key (PHYLOGENETICTREE_ID)
|
9678
|
references PUBLIC.MEDIA;
|
9679
|
|
9680
|
alter table PUBLIC.MEDIA_SEQUENCE_AUD
|
9681
|
add constraint FK4sgy2dnncrpy6t1cns8u5d3wt
|
9682
|
foreign key (REV)
|
9683
|
references PUBLIC.AUDITEVENT;
|
9684
|
|
9685
|
alter table PUBLIC.MEDIAKEY_COVEREDTAXON
|
9686
|
add constraint FKgq8rug80mcbiuhniuyibmg9wf
|
9687
|
foreign key (COVEREDTAXA_ID)
|
9688
|
references PUBLIC.TAXONBASE;
|
9689
|
|
9690
|
alter table PUBLIC.MEDIAKEY_COVEREDTAXON
|
9691
|
add constraint FKap8n2od3rjbpb88vbr0ovs6g0
|
9692
|
foreign key (MEDIAKEY_ID)
|
9693
|
references PUBLIC.MEDIA;
|
9694
|
|
9695
|
alter table PUBLIC.MEDIAKEY_COVEREDTAXON_AUD
|
9696
|
add constraint FK906wuciy2p566sdmj0gi5hic8
|
9697
|
foreign key (REV)
|
9698
|
references PUBLIC.AUDITEVENT;
|
9699
|
|
9700
|
alter table PUBLIC.MEDIAKEY_NAMEDAREA
|
9701
|
add constraint FKkh7mw6x6yqw93i3hlhtsok0tp
|
9702
|
foreign key (GEOGRAPHICALSCOPE_ID)
|
9703
|
references PUBLIC.DEFINEDTERMBASE;
|
9704
|
|
9705
|
alter table PUBLIC.MEDIAKEY_NAMEDAREA
|
9706
|
add constraint FKf2ckrp1j25fo5o9uicvkxlsmh
|
9707
|
foreign key (MEDIAKEY_ID)
|
9708
|
references PUBLIC.MEDIA;
|
9709
|
|
9710
|
alter table PUBLIC.MEDIAKEY_NAMEDAREA_AUD
|
9711
|
add constraint FKhud2t8jg3dj86eemk7wv12bdd
|
9712
|
foreign key (REV)
|
9713
|
references PUBLIC.AUDITEVENT;
|
9714
|
|
9715
|
alter table PUBLIC.MEDIAKEY_SCOPE
|
9716
|
add constraint FK4ys33tdntit3p4152c0umcd97
|
9717
|
foreign key (SCOPERESTRICTIONS_ID)
|
9718
|
references PUBLIC.DEFINEDTERMBASE;
|
9719
|
|
9720
|
alter table PUBLIC.MEDIAKEY_SCOPE
|
9721
|
add constraint FKi7nb5hk0ym0unf6dtujrregvi
|
9722
|
foreign key (MEDIAKEY_ID)
|
9723
|
references PUBLIC.MEDIA;
|
9724
|
|
9725
|
alter table PUBLIC.MEDIAKEY_SCOPE_AUD
|
9726
|
add constraint FKas4n2bdjs0ef0p6io7jayo9ly
|
9727
|
foreign key (REV)
|
9728
|
references PUBLIC.AUDITEVENT;
|
9729
|
|
9730
|
alter table PUBLIC.MEDIAKEY_TAXONSCOPE
|
9731
|
add constraint FK1x3ncwhtsayjkbmr2u0bhtwr2
|
9732
|
foreign key (TAXONOMICSCOPE_ID)
|
9733
|
references PUBLIC.TAXONBASE;
|
9734
|
|
9735
|
alter table PUBLIC.MEDIAKEY_TAXONSCOPE
|
9736
|
add constraint FKl54377w4bhmethua9saprhfnp
|
9737
|
foreign key (MEDIAKEY_ID)
|
9738
|
references PUBLIC.MEDIA;
|
9739
|
|
9740
|
alter table PUBLIC.MEDIAKEY_TAXONSCOPE_AUD
|
9741
|
add constraint FKhlkp7nckpev0f2q1vjw4t445q
|
9742
|
foreign key (REV)
|
9743
|
references PUBLIC.AUDITEVENT;
|
9744
|
|
9745
|
alter table PUBLIC.MEDIAMETADATA
|
9746
|
add constraint FK5v1bg8libi2d7yqa9kl0u0s28
|
9747
|
foreign key (CREATEDBY_ID)
|
9748
|
references PUBLIC.USERACCOUNT;
|
9749
|
|
9750
|
alter table PUBLIC.MEDIAMETADATA
|
9751
|
add constraint FKj27xjdoy7xih43f1fc0fs7b5h
|
9752
|
foreign key (MEDIAREPRESENTATION_ID)
|
9753
|
references PUBLIC.MEDIAREPRESENTATIONPART;
|
9754
|
|
9755
|
alter table PUBLIC.MEDIAMETADATA_AUD
|
9756
|
add constraint FKph85imftnqlcjatgdra3uecyu
|
9757
|
foreign key (REV)
|
9758
|
references PUBLIC.AUDITEVENT;
|
9759
|
|
9760
|
alter table PUBLIC.MEDIAREPRESENTATION
|
9761
|
add constraint FKt9afuo5wjld9tdkhig8cqmv7n
|
9762
|
foreign key (CREATEDBY_ID)
|
9763
|
references PUBLIC.USERACCOUNT;
|
9764
|
|
9765
|
alter table PUBLIC.MEDIAREPRESENTATION
|
9766
|
add constraint FK39yf9laudtucc2cc8a1gxwfu3
|
9767
|
foreign key (UPDATEDBY_ID)
|
9768
|
references PUBLIC.USERACCOUNT;
|
9769
|
|
9770
|
alter table PUBLIC.MEDIAREPRESENTATION
|
9771
|
add constraint FK3d8au7x4epsycs7bjd448sus8
|
9772
|
foreign key (MEDIA_ID)
|
9773
|
references PUBLIC.MEDIA;
|
9774
|
|
9775
|
alter table PUBLIC.MEDIAREPRESENTATION_AUD
|
9776
|
add constraint FKjc158ij9ht51r5hyh7s0p9dsg
|
9777
|
foreign key (REV)
|
9778
|
references PUBLIC.AUDITEVENT;
|
9779
|
|
9780
|
alter table PUBLIC.MEDIAREPRESENTATION_MEDIAREPRESENTATIONPART_AUD
|
9781
|
add constraint FKedbbs2rqub7pwtsgb768cbfvo
|
9782
|
foreign key (REV)
|
9783
|
references PUBLIC.AUDITEVENT;
|
9784
|
|
9785
|
alter table PUBLIC.MEDIAREPRESENTATIONPART
|
9786
|
add constraint FKh56c61h8ii9xxfnpc77gw5qja
|
9787
|
foreign key (CREATEDBY_ID)
|
9788
|
references PUBLIC.USERACCOUNT;
|
9789
|
|
9790
|
alter table PUBLIC.MEDIAREPRESENTATIONPART
|
9791
|
add constraint FKbb49cpq7yu07t0xs2inavrncn
|
9792
|
foreign key (UPDATEDBY_ID)
|
9793
|
references PUBLIC.USERACCOUNT;
|
9794
|
|
9795
|
alter table PUBLIC.MEDIAREPRESENTATIONPART
|
9796
|
add constraint FKig3s3bjcy5bkcxbmg73xwakbj
|
9797
|
foreign key (REPRESENTATION_ID)
|
9798
|
references PUBLIC.MEDIAREPRESENTATION;
|
9799
|
|
9800
|
alter table PUBLIC.MEDIAREPRESENTATIONPART_AUD
|
9801
|
add constraint FKoddk6oed4b7rfff43y7ohiaqt
|
9802
|
foreign key (REV)
|
9803
|
references PUBLIC.AUDITEVENT;
|
9804
|
|
9805
|
alter table PUBLIC.MULTIACCESSKEY_COVEREDTAXON
|
9806
|
add constraint FK3v1uopyru9uudt5846w3dgg71
|
9807
|
foreign key (COVEREDTAXA_ID)
|
9808
|
references PUBLIC.TAXONBASE;
|
9809
|
|
9810
|
alter table PUBLIC.MULTIACCESSKEY_COVEREDTAXON
|
9811
|
add constraint FKi19fbi6kkthejio1klc6ign3k
|
9812
|
foreign key (MULTIACCESSKEY_ID)
|
9813
|
references PUBLIC.DESCRIPTIVEDATASET;
|
9814
|
|
9815
|
alter table PUBLIC.MULTIACCESSKEY_COVEREDTAXON_AUD
|
9816
|
add constraint FK3oouvy3v9cfiir21ui3a7io2g
|
9817
|
foreign key (REV)
|
9818
|
references PUBLIC.AUDITEVENT;
|
9819
|
|
9820
|
alter table PUBLIC.MULTIACCESSKEY_NAMEDAREA
|
9821
|
add constraint FKbywwucox1a64ngotfntsy6fq5
|
9822
|
foreign key (GEOGRAPHICALSCOPE_ID)
|
9823
|
references PUBLIC.DEFINEDTERMBASE;
|
9824
|
|
9825
|
alter table PUBLIC.MULTIACCESSKEY_NAMEDAREA
|
9826
|
add constraint FKl3by7ws3c17vxqjc87enikiqw
|
9827
|
foreign key (MULTIACCESSKEY_ID)
|
9828
|
references PUBLIC.DESCRIPTIVEDATASET;
|
9829
|
|
9830
|
alter table PUBLIC.MULTIACCESSKEY_NAMEDAREA_AUD
|
9831
|
add constraint FK3kbee56bwmghbb0j2298rd7q7
|
9832
|
foreign key (REV)
|
9833
|
references PUBLIC.AUDITEVENT;
|
9834
|
|
9835
|
alter table PUBLIC.MULTIACCESSKEY_SCOPE
|
9836
|
add constraint FKewd4vpdnw8kegxw09bnnqico6
|
9837
|
foreign key (SCOPERESTRICTIONS_ID)
|
9838
|
references PUBLIC.DEFINEDTERMBASE;
|
9839
|
|
9840
|
alter table PUBLIC.MULTIACCESSKEY_SCOPE
|
9841
|
add constraint FK2ps3fnm9gojhdb1a47h5bmyaj
|
9842
|
foreign key (MULTIACCESSKEY_ID)
|
9843
|
references PUBLIC.DESCRIPTIVEDATASET;
|
9844
|
|
9845
|
alter table PUBLIC.MULTIACCESSKEY_SCOPE_AUD
|
9846
|
add constraint FK3fldfylv97kpucv0sgomb61ke
|
9847
|
foreign key (REV)
|
9848
|
references PUBLIC.AUDITEVENT;
|
9849
|
|
9850
|
alter table PUBLIC.MULTIACCESSKEY_TAXONSCOPE
|
9851
|
add constraint FKiry9ulp3rgiboawavmc1wop3p
|
9852
|
foreign key (TAXONOMICSCOPE_ID)
|
9853
|
references PUBLIC.TAXONBASE;
|
9854
|
|
9855
|
alter table PUBLIC.MULTIACCESSKEY_TAXONSCOPE
|
9856
|
add constraint FK8i6uytadqd51bigttd0egyold
|
9857
|
foreign key (MULTIACCESSKEY_ID)
|
9858
|
references PUBLIC.DESCRIPTIVEDATASET;
|
9859
|
|
9860
|
alter table PUBLIC.MULTIACCESSKEY_TAXONSCOPE_AUD
|
9861
|
add constraint FK5ogfq28bkixp7h2rnhfl50ois
|
9862
|
foreign key (REV)
|
9863
|
references PUBLIC.AUDITEVENT;
|
9864
|
|
9865
|
alter table PUBLIC.NAMERELATIONSHIP
|
9866
|
add constraint FK5m862rjl4drxy5le82bbykarh
|
9867
|
foreign key (CREATEDBY_ID)
|
9868
|
references PUBLIC.USERACCOUNT;
|
9869
|
|
9870
|
alter table PUBLIC.NAMERELATIONSHIP
|
9871
|
add constraint FKisr7bbb03lm6b07eb76j1k2ve
|
9872
|
foreign key (UPDATEDBY_ID)
|
9873
|
references PUBLIC.USERACCOUNT;
|
9874
|
|
9875
|
alter table PUBLIC.NAMERELATIONSHIP
|
9876
|
add constraint FKjreoavlq7y5mjqsd6mxxh6x9t
|
9877
|
foreign key (SOURCE_ID)
|
9878
|
references PUBLIC.ORIGINALSOURCEBASE;
|
9879
|
|
9880
|
alter table PUBLIC.NAMERELATIONSHIP
|
9881
|
add constraint FKpyd9252bmeoj0wp2pbukxe0m3
|
9882
|
foreign key (RELATEDFROM_ID)
|
9883
|
references PUBLIC.TAXONNAME;
|
9884
|
|
9885
|
alter table PUBLIC.NAMERELATIONSHIP
|
9886
|
add constraint FK4ybb7mej2wa8w00r50t7954bi
|
9887
|
foreign key (RELATEDTO_ID)
|
9888
|
references PUBLIC.TAXONNAME;
|
9889
|
|
9890
|
alter table PUBLIC.NAMERELATIONSHIP
|
9891
|
add constraint FKo5uww2hlmg6mj5upb4huvqtek
|
9892
|
foreign key (TYPE_ID)
|
9893
|
references PUBLIC.DEFINEDTERMBASE;
|
9894
|
|
9895
|
alter table PUBLIC.NAMERELATIONSHIP_ANNOTATION
|
9896
|
add constraint FK5tqs8qu3viamxblfafmo2ltix
|
9897
|
foreign key (ANNOTATIONS_ID)
|
9898
|
references PUBLIC.ANNOTATION;
|
9899
|
|
9900
|
alter table PUBLIC.NAMERELATIONSHIP_ANNOTATION
|
9901
|
add constraint FK57hxjs1u5059c361q60lkao0m
|
9902
|
foreign key (NAMERELATIONSHIP_ID)
|
9903
|
references PUBLIC.NAMERELATIONSHIP;
|
9904
|
|
9905
|
alter table PUBLIC.NAMERELATIONSHIP_ANNOTATION_AUD
|
9906
|
add constraint FKln0ioxvn1pkxf8psxko7pdsuk
|
9907
|
foreign key (REV)
|
9908
|
references PUBLIC.AUDITEVENT;
|
9909
|
|
9910
|
alter table PUBLIC.NAMERELATIONSHIP_AUD
|
9911
|
add constraint FKnqfmuu3a27ssmfxs4p1ihxctd
|
9912
|
foreign key (REV)
|
9913
|
references PUBLIC.AUDITEVENT;
|
9914
|
|
9915
|
alter table PUBLIC.NAMERELATIONSHIP_MARKER
|
9916
|
add constraint FK77uxv4q24hn3b4j5cqc91jqtp
|
9917
|
foreign key (MARKERS_ID)
|
9918
|
references PUBLIC.MARKER;
|
9919
|
|
9920
|
alter table PUBLIC.NAMERELATIONSHIP_MARKER
|
9921
|
add constraint FK7uypurg37rr4wrm1axfpsqfuo
|
9922
|
foreign key (NAMERELATIONSHIP_ID)
|
9923
|
references PUBLIC.NAMERELATIONSHIP;
|
9924
|
|
9925
|
alter table PUBLIC.NAMERELATIONSHIP_MARKER_AUD
|
9926
|
add constraint FK7wug8hly6m2decbrng2sgftt6
|
9927
|
foreign key (REV)
|
9928
|
references PUBLIC.AUDITEVENT;
|
9929
|
|
9930
|
alter table PUBLIC.NOMENCLATURALSTATUS
|
9931
|
add constraint FK5820cbqnerf9plrgk6862x5v4
|
9932
|
foreign key (CREATEDBY_ID)
|
9933
|
references PUBLIC.USERACCOUNT;
|
9934
|
|
9935
|
alter table PUBLIC.NOMENCLATURALSTATUS
|
9936
|
add constraint FKl83o0si0dm8jl0d6t0r8auvdo
|
9937
|
foreign key (UPDATEDBY_ID)
|
9938
|
references PUBLIC.USERACCOUNT;
|
9939
|
|
9940
|
alter table PUBLIC.NOMENCLATURALSTATUS
|
9941
|
add constraint FKounhneivaa8a8gq02ujxa7bok
|
9942
|
foreign key (SOURCE_ID)
|
9943
|
references PUBLIC.ORIGINALSOURCEBASE;
|
9944
|
|
9945
|
alter table PUBLIC.NOMENCLATURALSTATUS
|
9946
|
add constraint FKnwnqfs7rtu5s6ktukjwjl5l99
|
9947
|
foreign key (NAME_ID)
|
9948
|
references PUBLIC.TAXONNAME;
|
9949
|
|
9950
|
alter table PUBLIC.NOMENCLATURALSTATUS
|
9951
|
add constraint FK2nx3xkiso287sgyshq1tig3rm
|
9952
|
foreign key (TYPE_ID)
|
9953
|
references PUBLIC.DEFINEDTERMBASE;
|
9954
|
|
9955
|
alter table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION
|
9956
|
add constraint FKh6gi7o2srka5h5epeq92l6olg
|
9957
|
foreign key (ANNOTATIONS_ID)
|
9958
|
references PUBLIC.ANNOTATION;
|
9959
|
|
9960
|
alter table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION
|
9961
|
add constraint FKn91p44bqajykhwigpy51bygpv
|
9962
|
foreign key (NOMENCLATURALSTATUS_ID)
|
9963
|
references PUBLIC.NOMENCLATURALSTATUS;
|
9964
|
|
9965
|
alter table PUBLIC.NOMENCLATURALSTATUS_ANNOTATION_AUD
|
9966
|
add constraint FKqd935p1d999kflrjtdsw7ou4n
|
9967
|
foreign key (REV)
|
9968
|
references PUBLIC.AUDITEVENT;
|
9969
|
|
9970
|
alter table PUBLIC.NOMENCLATURALSTATUS_AUD
|
9971
|
add constraint FK59nyj4uqyjp7ijob9uk7ynhqq
|
9972
|
foreign key (REV)
|
9973
|
references PUBLIC.AUDITEVENT;
|
9974
|
|
9975
|
alter table PUBLIC.NOMENCLATURALSTATUS_MARKER
|
9976
|
add constraint FKgxqba2btdg1cdfhgqn8yock2g
|
9977
|
foreign key (MARKERS_ID)
|
9978
|
references PUBLIC.MARKER;
|
9979
|
|
9980
|
alter table PUBLIC.NOMENCLATURALSTATUS_MARKER
|
9981
|
add constraint FKruwwc21kolwd8fcw34a5sty4k
|
9982
|
foreign key (NOMENCLATURALSTATUS_ID)
|
9983
|
references PUBLIC.NOMENCLATURALSTATUS;
|
9984
|
|
9985
|
alter table PUBLIC.NOMENCLATURALSTATUS_MARKER_AUD
|
9986
|
add constraint FKn230tdwy5gmkpukhllviv5gnw
|
9987
|
foreign key (REV)
|
9988
|
references PUBLIC.AUDITEVENT;
|
9989
|
|
9990
|
alter table PUBLIC.OCCURRENCESTATUS
|
9991
|
add constraint FKfi3fgojr7s2adfaftmvf6890v
|
9992
|
foreign key (CREATEDBY_ID)
|
9993
|
references PUBLIC.USERACCOUNT;
|
9994
|
|
9995
|
alter table PUBLIC.OCCURRENCESTATUS
|
9996
|
add constraint FK8y5d9bqkght1slh7uaou1my4q
|
9997
|
foreign key (UPDATEDBY_ID)
|
9998
|
references PUBLIC.USERACCOUNT;
|
9999
|
|
10000
|
alter table PUBLIC.OCCURRENCESTATUS
|
10001
|
add constraint FK3qxj8wc6fwv9rtvkmqmmg6eoq
|
10002
|
foreign key (SOURCE_ID)
|
10003
|
references PUBLIC.ORIGINALSOURCEBASE;
|
10004
|
|
10005
|
alter table PUBLIC.OCCURRENCESTATUS
|
10006
|
add constraint FKg0fibni2cfctsl9fn6bu82bv8
|
10007
|
foreign key (TYPE_ID)
|
10008
|
references PUBLIC.DEFINEDTERMBASE;
|
10009
|
|
10010
|
alter table PUBLIC.OCCURRENCESTATUS
|
10011
|
add constraint FKpaseuwql9dv2k5nglokr036gt
|
10012
|
foreign key (UNIT_ID)
|
10013
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
10014
|
|
10015
|
alter table PUBLIC.OCCURRENCESTATUS_ANNOTATION
|
10016
|
add constraint FKmi8wajn1b2dap4du7382ns1p7
|
10017
|
foreign key (ANNOTATIONS_ID)
|
10018
|
references PUBLIC.ANNOTATION;
|
10019
|
|
10020
|
alter table PUBLIC.OCCURRENCESTATUS_ANNOTATION
|
10021
|
add constraint FKhkcv2asll2qgfbadptprkgcv
|
10022
|
foreign key (OCCURRENCESTATUS_ID)
|
10023
|
references PUBLIC.OCCURRENCESTATUS;
|
10024
|
|
10025
|
alter table PUBLIC.OCCURRENCESTATUS_ANNOTATION_AUD
|
10026
|
add constraint FKbr3pwpmei7gnb2pt3dx97famg
|
10027
|
foreign key (REV)
|
10028
|
references PUBLIC.AUDITEVENT;
|
10029
|
|
10030
|
alter table PUBLIC.OCCURRENCESTATUS_AUD
|
10031
|
add constraint FKl6yf0vmexcc2uny38cyvmgg38
|
10032
|
foreign key (REV)
|
10033
|
references PUBLIC.AUDITEVENT;
|
10034
|
|
10035
|
alter table PUBLIC.OCCURRENCESTATUS_MARKER
|
10036
|
add constraint FKth4vxi2p0qeqyf32agmx9c6aw
|
10037
|
foreign key (MARKERS_ID)
|
10038
|
references PUBLIC.MARKER;
|
10039
|
|
10040
|
alter table PUBLIC.OCCURRENCESTATUS_MARKER
|
10041
|
add constraint FK8crdapabsalpyrgg7d4atttrh
|
10042
|
foreign key (OCCURRENCESTATUS_ID)
|
10043
|
references PUBLIC.OCCURRENCESTATUS;
|
10044
|
|
10045
|
alter table PUBLIC.OCCURRENCESTATUS_MARKER_AUD
|
10046
|
add constraint FKe5jfmks2oyefwqea9mt2jfvrr
|
10047
|
foreign key (REV)
|
10048
|
references PUBLIC.AUDITEVENT;
|
10049
|
|
10050
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
10051
|
add constraint FK56097u29nm3kqoen148wticln
|
10052
|
foreign key (CREATEDBY_ID)
|
10053
|
references PUBLIC.USERACCOUNT;
|
10054
|
|
10055
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
10056
|
add constraint FKnnfgrmxmj8f121ir4s6pbv9cy
|
10057
|
foreign key (UPDATEDBY_ID)
|
10058
|
references PUBLIC.USERACCOUNT;
|
10059
|
|
10060
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
10061
|
add constraint FKfxh9b9ffu60qhcx1lg6ys3phg
|
10062
|
foreign key (CDMSOURCE_ID)
|
10063
|
references PUBLIC.CDMLINK;
|
10064
|
|
10065
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
10066
|
add constraint FKrcxnnsyeq1o245gqtaqafwxr5
|
10067
|
foreign key (CITATION_ID)
|
10068
|
references PUBLIC.REFERENCE;
|
10069
|
|
10070
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
10071
|
add constraint FK1mg18wyfhlvfodo9vqlvrar4x
|
10072
|
foreign key (NAMEUSEDINSOURCE_ID)
|
10073
|
references PUBLIC.TAXONNAME;
|
10074
|
|
10075
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
10076
|
add constraint FK5jw9wax0119xqu5g15yn43ufe
|
10077
|
foreign key (SOURCEDELEMENT_ID)
|
10078
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
10079
|
|
10080
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
10081
|
add constraint FKcfyx4vfln4xi61ebxjc3q37aw
|
10082
|
foreign key (SOURCEDNAME_ID)
|
10083
|
references PUBLIC.TAXONNAME;
|
10084
|
|
10085
|
alter table PUBLIC.ORIGINALSOURCEBASE
|
10086
|
add constraint FKnjdmnpc75cwobndpygowwr5et
|
10087
|
foreign key (SOURCEDTAXON_ID)
|
10088
|
references PUBLIC.TAXONBASE;
|
10089
|
|
10090
|
alter table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION
|
10091
|
add constraint FK82rq53k1sbkqxuxuh5eyuels9
|
10092
|
foreign key (ANNOTATIONS_ID)
|
10093
|
references PUBLIC.ANNOTATION;
|
10094
|
|
10095
|
alter table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION
|
10096
|
add constraint FKk9g15xmam2bb1ftn3mepdta2w
|
10097
|
foreign key (ORIGINALSOURCEBASE_ID)
|
10098
|
references PUBLIC.ORIGINALSOURCEBASE;
|
10099
|
|
10100
|
alter table PUBLIC.ORIGINALSOURCEBASE_ANNOTATION_AUD
|
10101
|
add constraint FKgnid23r1i5vd5itu0j7edk9jm
|
10102
|
foreign key (REV)
|
10103
|
references PUBLIC.AUDITEVENT;
|
10104
|
|
10105
|
alter table PUBLIC.ORIGINALSOURCEBASE_AUD
|
10106
|
add constraint FKj4iide8es0afb944hromeyiy5
|
10107
|
foreign key (REV)
|
10108
|
references PUBLIC.AUDITEVENT;
|
10109
|
|
10110
|
alter table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK
|
10111
|
add constraint FKhao3w7bnvn04gcgfqv7nhd3vm
|
10112
|
foreign key (LINKS_ID)
|
10113
|
references PUBLIC.EXTERNALLINK;
|
10114
|
|
10115
|
alter table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK
|
10116
|
add constraint FK1luh6bvphc349xi5dafgm1ebo
|
10117
|
foreign key (ORIGINALSOURCEBASE_ID)
|
10118
|
references PUBLIC.ORIGINALSOURCEBASE;
|
10119
|
|
10120
|
alter table PUBLIC.ORIGINALSOURCEBASE_EXTERNALLINK_AUD
|
10121
|
add constraint FKgprp254qlt2o46s0suw8ngr3y
|
10122
|
foreign key (REV)
|
10123
|
references PUBLIC.AUDITEVENT;
|
10124
|
|
10125
|
alter table PUBLIC.ORIGINALSOURCEBASE_MARKER
|
10126
|
add constraint FKo5jl6f5absr8h6jufdwe4ewci
|
10127
|
foreign key (MARKERS_ID)
|
10128
|
references PUBLIC.MARKER;
|
10129
|
|
10130
|
alter table PUBLIC.ORIGINALSOURCEBASE_MARKER
|
10131
|
add constraint FK4n2h7oem0vade36wxrglsurtg
|
10132
|
foreign key (ORIGINALSOURCEBASE_ID)
|
10133
|
references PUBLIC.ORIGINALSOURCEBASE;
|
10134
|
|
10135
|
alter table PUBLIC.ORIGINALSOURCEBASE_MARKER_AUD
|
10136
|
add constraint FK6dwyy7q5wn50usw5we1pc8cm3
|
10137
|
foreign key (REV)
|
10138
|
references PUBLIC.AUDITEVENT;
|
10139
|
|
10140
|
alter table PUBLIC.PERMISSIONGROUP
|
10141
|
add constraint FKgx3t82ecrv7xi9xjoy4tyvklo
|
10142
|
foreign key (CREATEDBY_ID)
|
10143
|
references PUBLIC.USERACCOUNT;
|
10144
|
|
10145
|
alter table PUBLIC.PERMISSIONGROUP_AUTHORITY
|
10146
|
add constraint FKfoji32lkjkjq5yw15texdhtrk
|
10147
|
foreign key (AUTHORITIES_ID)
|
10148
|
references PUBLIC.AUTHORITY;
|
10149
|
|
10150
|
alter table PUBLIC.PERMISSIONGROUP_AUTHORITY
|
10151
|
add constraint FKeu4c3yixm3oljf3x2k8ip6syk
|
10152
|
foreign key (GROUP_ID)
|
10153
|
references PUBLIC.PERMISSIONGROUP;
|
10154
|
|
10155
|
alter table PUBLIC.PERMISSIONGROUP_GRANTEDAUTHORITYIMPL
|
10156
|
add constraint FK9b9fykp1ctffg735qtku14oc1
|
10157
|
foreign key (GRANTEDAUTHORITIES_ID)
|
10158
|
references PUBLIC.GRANTEDAUTHORITYIMPL;
|
10159
|
|
10160
|
alter table PUBLIC.PERMISSIONGROUP_GRANTEDAUTHORITYIMPL
|
10161
|
add constraint FKduckneq8rvp2jy3ilcbg4rqvw
|
10162
|
foreign key (GROUP_ID)
|
10163
|
references PUBLIC.PERMISSIONGROUP;
|
10164
|
|
10165
|
alter table PUBLIC.POLYTOMOUSKEY
|
10166
|
add constraint FK8t6ginw3uygb490f3n6akjac4
|
10167
|
foreign key (CREATEDBY_ID)
|
10168
|
references PUBLIC.USERACCOUNT;
|
10169
|
|
10170
|
alter table PUBLIC.POLYTOMOUSKEY
|
10171
|
add constraint FKpo80sid41nn4o4nngvc2n84si
|
10172
|
foreign key (UPDATEDBY_ID)
|
10173
|
references PUBLIC.USERACCOUNT;
|
10174
|
|
10175
|
alter table PUBLIC.POLYTOMOUSKEY
|
10176
|
add constraint FKb1oe3ttdacani8vkrjfpbj1wx
|
10177
|
foreign key (ROOT_ID)
|
10178
|
references PUBLIC.POLYTOMOUSKEYNODE;
|
10179
|
|
10180
|
alter table PUBLIC.POLYTOMOUSKEY_ANNOTATION
|
10181
|
add constraint FKnlfidgjc8s04ovec6u3ig3eeg
|
10182
|
foreign key (ANNOTATIONS_ID)
|
10183
|
references PUBLIC.ANNOTATION;
|
10184
|
|
10185
|
alter table PUBLIC.POLYTOMOUSKEY_ANNOTATION
|
10186
|
add constraint FKdu1hf3rbek2rxym9qkh3fu90r
|
10187
|
foreign key (POLYTOMOUSKEY_ID)
|
10188
|
references PUBLIC.POLYTOMOUSKEY;
|
10189
|
|
10190
|
alter table PUBLIC.POLYTOMOUSKEY_ANNOTATION_AUD
|
10191
|
add constraint FKtaq42vb406smn38slcj2find
|
10192
|
foreign key (REV)
|
10193
|
references PUBLIC.AUDITEVENT;
|
10194
|
|
10195
|
alter table PUBLIC.POLYTOMOUSKEY_AUD
|
10196
|
add constraint FK66glnn9ho10p3951rrj3b4dh7
|
10197
|
foreign key (REV)
|
10198
|
references PUBLIC.AUDITEVENT;
|
10199
|
|
10200
|
alter table PUBLIC.POLYTOMOUSKEY_CREDIT
|
10201
|
add constraint FKrlojxa63t5eyw3q7pacq0pjtr
|
10202
|
foreign key (CREDITS_ID)
|
10203
|
references PUBLIC.CREDIT;
|
10204
|
|
10205
|
alter table PUBLIC.POLYTOMOUSKEY_CREDIT
|
10206
|
add constraint FKtl0f7mwmvl7sjbhiosb0cu2t0
|
10207
|
foreign key (POLYTOMOUSKEY_ID)
|
10208
|
references PUBLIC.POLYTOMOUSKEY;
|
10209
|
|
10210
|
alter table PUBLIC.POLYTOMOUSKEY_CREDIT_AUD
|
10211
|
add constraint FK24f7p1lxyop6d00ph01iwi0pj
|
10212
|
foreign key (REV)
|
10213
|
references PUBLIC.AUDITEVENT;
|
10214
|
|
10215
|
alter table PUBLIC.POLYTOMOUSKEY_EXTENSION
|
10216
|
add constraint FKxqseuqda0gdsj8stduxgpn8e
|
10217
|
foreign key (EXTENSIONS_ID)
|
10218
|
references PUBLIC.EXTENSION;
|
10219
|
|
10220
|
alter table PUBLIC.POLYTOMOUSKEY_EXTENSION
|
10221
|
add constraint FKgt04pyi931toujwby6uusnn6r
|
10222
|
foreign key (POLYTOMOUSKEY_ID)
|
10223
|
references PUBLIC.POLYTOMOUSKEY;
|
10224
|
|
10225
|
alter table PUBLIC.POLYTOMOUSKEY_EXTENSION_AUD
|
10226
|
add constraint FKp3hac601rfmm3x5vkhme6gwa4
|
10227
|
foreign key (REV)
|
10228
|
references PUBLIC.AUDITEVENT;
|
10229
|
|
10230
|
alter table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK
|
10231
|
add constraint FK1s6pl4qty9pfvc615tcsc682d
|
10232
|
foreign key (LINKS_ID)
|
10233
|
references PUBLIC.EXTERNALLINK;
|
10234
|
|
10235
|
alter table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK
|
10236
|
add constraint FKk8rnk1qnfemrqrawf57lqh5ba
|
10237
|
foreign key (POLYTOMOUSKEY_ID)
|
10238
|
references PUBLIC.POLYTOMOUSKEY;
|
10239
|
|
10240
|
alter table PUBLIC.POLYTOMOUSKEY_EXTERNALLINK_AUD
|
10241
|
add constraint FK24plxftgc5tkn1lwfleilx0nm
|
10242
|
foreign key (REV)
|
10243
|
references PUBLIC.AUDITEVENT;
|
10244
|
|
10245
|
alter table PUBLIC.POLYTOMOUSKEY_IDENTIFIER
|
10246
|
add constraint FK5cj9cgsklvh86vm99d91ybvno
|
10247
|
foreign key (IDENTIFIERS_ID)
|
10248
|
references PUBLIC.IDENTIFIER;
|
10249
|
|
10250
|
alter table PUBLIC.POLYTOMOUSKEY_IDENTIFIER
|
10251
|
add constraint FK2fgu8ela06eddcai496x05t1g
|
10252
|
foreign key (POLYTOMOUSKEY_ID)
|
10253
|
references PUBLIC.POLYTOMOUSKEY;
|
10254
|
|
10255
|
alter table PUBLIC.POLYTOMOUSKEY_IDENTIFIER_AUD
|
10256
|
add constraint FK2lv0okcy735gllrnemjwo57c9
|
10257
|
foreign key (REV)
|
10258
|
references PUBLIC.AUDITEVENT;
|
10259
|
|
10260
|
alter table PUBLIC.POLYTOMOUSKEY_MARKER
|
10261
|
add constraint FKaq3k8plccu7n62qbfribx9xn4
|
10262
|
foreign key (MARKERS_ID)
|
10263
|
references PUBLIC.MARKER;
|
10264
|
|
10265
|
alter table PUBLIC.POLYTOMOUSKEY_MARKER
|
10266
|
add constraint FK8pjb78gusgyd19p8psj1i7pc4
|
10267
|
foreign key (POLYTOMOUSKEY_ID)
|
10268
|
references PUBLIC.POLYTOMOUSKEY;
|
10269
|
|
10270
|
alter table PUBLIC.POLYTOMOUSKEY_MARKER_AUD
|
10271
|
add constraint FKhffa71cvsn0ls7to7jchctw8c
|
10272
|
foreign key (REV)
|
10273
|
references PUBLIC.AUDITEVENT;
|
10274
|
|
10275
|
alter table PUBLIC.POLYTOMOUSKEY_NAMEDAREA
|
10276
|
add constraint FKambevp7xginl356xl15af39js
|
10277
|
foreign key (GEOGRAPHICALSCOPE_ID)
|
10278
|
references PUBLIC.DEFINEDTERMBASE;
|
10279
|
|
10280
|
alter table PUBLIC.POLYTOMOUSKEY_NAMEDAREA
|
10281
|
add constraint FK8jtq8rkn25qxkllyf81psyyk5
|
10282
|
foreign key (POLYTOMOUSKEY_ID)
|
10283
|
references PUBLIC.POLYTOMOUSKEY;
|
10284
|
|
10285
|
alter table PUBLIC.POLYTOMOUSKEY_NAMEDAREA_AUD
|
10286
|
add constraint FKmvnsegfrchxwekvnxfoh889n1
|
10287
|
foreign key (REV)
|
10288
|
references PUBLIC.AUDITEVENT;
|
10289
|
|
10290
|
alter table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE
|
10291
|
add constraint FK6js0kkmeu6j29gjeq8ohdcqu4
|
10292
|
foreign key (SOURCES_ID)
|
10293
|
references PUBLIC.ORIGINALSOURCEBASE;
|
10294
|
|
10295
|
alter table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE
|
10296
|
add constraint FK7oob7ho6gy5p85qbtqrmm0pex
|
10297
|
foreign key (POLYTOMOUSKEY_ID)
|
10298
|
references PUBLIC.POLYTOMOUSKEY;
|
10299
|
|
10300
|
alter table PUBLIC.POLYTOMOUSKEY_ORIGINALSOURCEBASE_AUD
|
10301
|
add constraint FK4stmdowica6vsiourn2c9tav4
|
10302
|
foreign key (REV)
|
10303
|
references PUBLIC.AUDITEVENT;
|
10304
|
|
10305
|
alter table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO
|
10306
|
add constraint FKr6oxnexxqe2w81j9intdnps8c
|
10307
|
foreign key (RIGHTS_ID)
|
10308
|
references PUBLIC.RIGHTSINFO;
|
10309
|
|
10310
|
alter table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO
|
10311
|
add constraint FKaa11xw9s73spxirpn8mxm61y2
|
10312
|
foreign key (POLYTOMOUSKEY_ID)
|
10313
|
references PUBLIC.POLYTOMOUSKEY;
|
10314
|
|
10315
|
alter table PUBLIC.POLYTOMOUSKEY_RIGHTSINFO_AUD
|
10316
|
add constraint FKlww6f24naamn2asudaieqogld
|
10317
|
foreign key (REV)
|
10318
|
references PUBLIC.AUDITEVENT;
|
10319
|
|
10320
|
alter table PUBLIC.POLYTOMOUSKEY_SCOPE
|
10321
|
add constraint FK8xktkt5opce63jyoy175iv8of
|
10322
|
foreign key (SCOPERESTRICTIONS_ID)
|
10323
|
references PUBLIC.DEFINEDTERMBASE;
|
10324
|
|
10325
|
alter table PUBLIC.POLYTOMOUSKEY_SCOPE
|
10326
|
add constraint FKsmmd6mh4auai930shd0h2c5nh
|
10327
|
foreign key (POLYTOMOUSKEY_ID)
|
10328
|
references PUBLIC.POLYTOMOUSKEY;
|
10329
|
|
10330
|
alter table PUBLIC.POLYTOMOUSKEY_SCOPE_AUD
|
10331
|
add constraint FKf39vyg273170560cf2vu0kt3q
|
10332
|
foreign key (REV)
|
10333
|
references PUBLIC.AUDITEVENT;
|
10334
|
|
10335
|
alter table PUBLIC.POLYTOMOUSKEY_TAXON
|
10336
|
add constraint FKqbkegqn9dht3u6gp7liulp4t9
|
10337
|
foreign key (TAXON_ID)
|
10338
|
references PUBLIC.TAXONBASE;
|
10339
|
|
10340
|
alter table PUBLIC.POLYTOMOUSKEY_TAXON
|
10341
|
add constraint FK49qe84hnlpvhbfc63kq2pkfxc
|
10342
|
foreign key (POLYTOMOUSKEY_ID)
|
10343
|
references PUBLIC.POLYTOMOUSKEY;
|
10344
|
|
10345
|
alter table PUBLIC.POLYTOMOUSKEY_TAXON_AUD
|
10346
|
add constraint FK47ykt289g81f0dtlujtt16cbt
|
10347
|
foreign key (REV)
|
10348
|
references PUBLIC.AUDITEVENT;
|
10349
|
|
10350
|
alter table PUBLIC.POLYTOMOUSKEY_TAXONBASE
|
10351
|
add constraint FKjhiydrch37c27v4c40mqixim7
|
10352
|
foreign key (COVEREDTAXA_ID)
|
10353
|
references PUBLIC.TAXONBASE;
|
10354
|
|
10355
|
alter table PUBLIC.POLYTOMOUSKEY_TAXONBASE
|
10356
|
add constraint FK9piwjstxogd6mr8sxji73qgrb
|
10357
|
foreign key (POLYTOMOUSKEY_ID)
|
10358
|
references PUBLIC.POLYTOMOUSKEY;
|
10359
|
|
10360
|
alter table PUBLIC.POLYTOMOUSKEY_TAXONBASE_AUD
|
10361
|
add constraint FKjwy9064h2ysteoxydwafu5k9x
|
10362
|
foreign key (REV)
|
10363
|
references PUBLIC.AUDITEVENT;
|
10364
|
|
10365
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10366
|
add constraint FK5ft9akqhei6t2hfhhxts8ce95
|
10367
|
foreign key (CREATEDBY_ID)
|
10368
|
references PUBLIC.USERACCOUNT;
|
10369
|
|
10370
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10371
|
add constraint FKequq2k2xy1mfkjdags2kud5yh
|
10372
|
foreign key (UPDATEDBY_ID)
|
10373
|
references PUBLIC.USERACCOUNT;
|
10374
|
|
10375
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10376
|
add constraint FK8sbvsc1ujuehfe5fxr96oknpf
|
10377
|
foreign key (FEATURE_ID)
|
10378
|
references PUBLIC.DEFINEDTERMBASE;
|
10379
|
|
10380
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10381
|
add constraint FKn8pt6xaubl8bhy47bi3o4t90t
|
10382
|
foreign key (KEY_ID)
|
10383
|
references PUBLIC.POLYTOMOUSKEY;
|
10384
|
|
10385
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10386
|
add constraint FKjxcbp1dx3ry5wtbutquaaxpgi
|
10387
|
foreign key (OTHERNODE_ID)
|
10388
|
references PUBLIC.POLYTOMOUSKEYNODE;
|
10389
|
|
10390
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10391
|
add constraint FKbbyp3iceg7u2nvyy7n67xijao
|
10392
|
foreign key (PARENT_ID)
|
10393
|
references PUBLIC.POLYTOMOUSKEYNODE;
|
10394
|
|
10395
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10396
|
add constraint FKd4sdbv79r785hgf7b9jlng25o
|
10397
|
foreign key (QUESTION_ID)
|
10398
|
references PUBLIC.KEYSTATEMENT;
|
10399
|
|
10400
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10401
|
add constraint FKhp4cplr1q2n0mcn7bti87wibu
|
10402
|
foreign key (STATEMENT_ID)
|
10403
|
references PUBLIC.KEYSTATEMENT;
|
10404
|
|
10405
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10406
|
add constraint FK3pv97jv9ktjfb85u6ayn1j53t
|
10407
|
foreign key (SUBKEY_ID)
|
10408
|
references PUBLIC.POLYTOMOUSKEY;
|
10409
|
|
10410
|
alter table PUBLIC.POLYTOMOUSKEYNODE
|
10411
|
add constraint FK4a1yro1cx5jplqd8us8xma528
|
10412
|
foreign key (TAXON_ID)
|
10413
|
references PUBLIC.TAXONBASE;
|
10414
|
|
10415
|
alter table PUBLIC.POLYTOMOUSKEYNODE_AUD
|
10416
|
add constraint FKcigdtd4b11l3smmkl6s777msi
|
10417
|
foreign key (REV)
|
10418
|
references PUBLIC.AUDITEVENT;
|
10419
|
|
10420
|
alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING
|
10421
|
add constraint FKilljp32pjfswdajx8w75943t1
|
10422
|
foreign key (MODIFYINGTEXT_ID)
|
10423
|
references PUBLIC.LANGUAGESTRING;
|
10424
|
|
10425
|
alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING
|
10426
|
add constraint FKqa1g7fkymww3gx8ug0gu30ik3
|
10427
|
foreign key (MODIFYINGTEXT_MAPKEY_ID)
|
10428
|
references PUBLIC.DEFINEDTERMBASE;
|
10429
|
|
10430
|
alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING
|
10431
|
add constraint FKnqsceve7e8it1ewmqy2ej1316
|
10432
|
foreign key (POLYTOMOUSKEYNODE_ID)
|
10433
|
references PUBLIC.POLYTOMOUSKEYNODE;
|
10434
|
|
10435
|
alter table PUBLIC.POLYTOMOUSKEYNODE_LANGUAGESTRING_AUD
|
10436
|
add constraint FK9rvmrler3nr5p0xbo2as3rrhj
|
10437
|
foreign key (REV)
|
10438
|
references PUBLIC.AUDITEVENT;
|
10439
|
|
10440
|
alter table PUBLIC.PRIMER
|
10441
|
add constraint FK32hhpdfsidhk7wr61m97q0nc9
|
10442
|
foreign key (CREATEDBY_ID)
|
10443
|
references PUBLIC.USERACCOUNT;
|
10444
|
|
10445
|
alter table PUBLIC.PRIMER
|
10446
|
add constraint FKi6nj6kxm8llg2rctqmv0di34a
|
10447
|
foreign key (UPDATEDBY_ID)
|
10448
|
references PUBLIC.USERACCOUNT;
|
10449
|
|
10450
|
alter table PUBLIC.PRIMER
|
10451
|
add constraint FKpf6komibsthgabcmls558c1xv
|
10452
|
foreign key (DNAMARKER_ID)
|
10453
|
references PUBLIC.DEFINEDTERMBASE;
|
10454
|
|
10455
|
alter table PUBLIC.PRIMER
|
10456
|
add constraint FK1e530g3uusoc2c15r3mmq7wrw
|
10457
|
foreign key (PUBLISHEDIN_ID)
|
10458
|
references PUBLIC.REFERENCE;
|
10459
|
|
10460
|
alter table PUBLIC.PRIMER_ANNOTATION
|
10461
|
add constraint FKgxqh0dv2l7d77cdtcd2mjfqs4
|
10462
|
foreign key (ANNOTATIONS_ID)
|
10463
|
references PUBLIC.ANNOTATION;
|
10464
|
|
10465
|
alter table PUBLIC.PRIMER_ANNOTATION
|
10466
|
add constraint FK3qn5oohn1iy0t31os6n75780d
|
10467
|
foreign key (PRIMER_ID)
|
10468
|
references PUBLIC.PRIMER;
|
10469
|
|
10470
|
alter table PUBLIC.PRIMER_ANNOTATION_AUD
|
10471
|
add constraint FKacp747fd7phjw5uo7aefvf4t
|
10472
|
foreign key (REV)
|
10473
|
references PUBLIC.AUDITEVENT;
|
10474
|
|
10475
|
alter table PUBLIC.PRIMER_AUD
|
10476
|
add constraint FKj9sn6psn0afnkj5kem30q3861
|
10477
|
foreign key (REV)
|
10478
|
references PUBLIC.AUDITEVENT;
|
10479
|
|
10480
|
alter table PUBLIC.PRIMER_MARKER
|
10481
|
add constraint FK2fiml4ltw24q0chu8fq08r9vd
|
10482
|
foreign key (MARKERS_ID)
|
10483
|
references PUBLIC.MARKER;
|
10484
|
|
10485
|
alter table PUBLIC.PRIMER_MARKER
|
10486
|
add constraint FKsdawi90h1i3wd7kaqhpun34cn
|
10487
|
foreign key (PRIMER_ID)
|
10488
|
references PUBLIC.PRIMER;
|
10489
|
|
10490
|
alter table PUBLIC.PRIMER_MARKER_AUD
|
10491
|
add constraint FKrfvicy6f9ncmm31ut6bo5f8n3
|
10492
|
foreign key (REV)
|
10493
|
references PUBLIC.AUDITEVENT;
|
10494
|
|
10495
|
alter table PUBLIC.REFERENCE
|
10496
|
add constraint FKle9tcgup8krket3iqa62s01lq
|
10497
|
foreign key (CREATEDBY_ID)
|
10498
|
references PUBLIC.USERACCOUNT;
|
10499
|
|
10500
|
alter table PUBLIC.REFERENCE
|
10501
|
add constraint FK165mkg89au6vgkswowggsgm2o
|
10502
|
foreign key (UPDATEDBY_ID)
|
10503
|
references PUBLIC.USERACCOUNT;
|
10504
|
|
10505
|
alter table PUBLIC.REFERENCE
|
10506
|
add constraint FK4hf6ri3se9yq1w2mg53dfhl72
|
10507
|
foreign key (AUTHORSHIP_ID)
|
10508
|
references PUBLIC.AGENTBASE;
|
10509
|
|
10510
|
alter table PUBLIC.REFERENCE
|
10511
|
add constraint FK27o2kx5q2b3l7hiqkqnv5r178
|
10512
|
foreign key (INREFERENCE_ID)
|
10513
|
references PUBLIC.REFERENCE;
|
10514
|
|
10515
|
alter table PUBLIC.REFERENCE
|
10516
|
add constraint FKpwebia8d2ovqaidbpcbgpato6
|
10517
|
foreign key (INSTITUTION_ID)
|
10518
|
references PUBLIC.AGENTBASE;
|
10519
|
|
10520
|
alter table PUBLIC.REFERENCE
|
10521
|
add constraint FKnprcmwwb26j8tbhwf4ep4gewg
|
10522
|
foreign key (SCHOOL_ID)
|
10523
|
references PUBLIC.AGENTBASE;
|
10524
|
|
10525
|
alter table PUBLIC.REFERENCE_ANNOTATION
|
10526
|
add constraint FK3h1rf46bp5a8k60f7u67nhtpv
|
10527
|
foreign key (ANNOTATIONS_ID)
|
10528
|
references PUBLIC.ANNOTATION;
|
10529
|
|
10530
|
alter table PUBLIC.REFERENCE_ANNOTATION
|
10531
|
add constraint FKpn98f9mvlgkaejv843cn0sg83
|
10532
|
foreign key (REFERENCE_ID)
|
10533
|
references PUBLIC.REFERENCE;
|
10534
|
|
10535
|
alter table PUBLIC.REFERENCE_ANNOTATION_AUD
|
10536
|
add constraint FKs6fc0jwihbq2927h1gaymr5eg
|
10537
|
foreign key (REV)
|
10538
|
references PUBLIC.AUDITEVENT;
|
10539
|
|
10540
|
alter table PUBLIC.REFERENCE_AUD
|
10541
|
add constraint FKqbty6b0iw8all5l42ic4tpf38
|
10542
|
foreign key (REV)
|
10543
|
references PUBLIC.AUDITEVENT;
|
10544
|
|
10545
|
alter table PUBLIC.REFERENCE_CREDIT
|
10546
|
add constraint FKn2uvoteg71vw56868p3x6qxou
|
10547
|
foreign key (CREDITS_ID)
|
10548
|
references PUBLIC.CREDIT;
|
10549
|
|
10550
|
alter table PUBLIC.REFERENCE_CREDIT
|
10551
|
add constraint FKfwgylj2w8lv0up9xpv75byr6g
|
10552
|
foreign key (REFERENCE_ID)
|
10553
|
references PUBLIC.REFERENCE;
|
10554
|
|
10555
|
alter table PUBLIC.REFERENCE_CREDIT_AUD
|
10556
|
add constraint FK3p623wp7mc371siubt2ra2tdl
|
10557
|
foreign key (REV)
|
10558
|
references PUBLIC.AUDITEVENT;
|
10559
|
|
10560
|
alter table PUBLIC.REFERENCE_EXTENSION
|
10561
|
add constraint FKnqreuhok5s10dtfxw5ny2riih
|
10562
|
foreign key (EXTENSIONS_ID)
|
10563
|
references PUBLIC.EXTENSION;
|
10564
|
|
10565
|
alter table PUBLIC.REFERENCE_EXTENSION
|
10566
|
add constraint FKg1pbsg54nh7633momys7p4nch
|
10567
|
foreign key (REFERENCE_ID)
|
10568
|
references PUBLIC.REFERENCE;
|
10569
|
|
10570
|
alter table PUBLIC.REFERENCE_EXTENSION_AUD
|
10571
|
add constraint FKo7jdd67qh0pd90j9apeksx0jg
|
10572
|
foreign key (REV)
|
10573
|
references PUBLIC.AUDITEVENT;
|
10574
|
|
10575
|
alter table PUBLIC.REFERENCE_EXTERNALLINK
|
10576
|
add constraint FK7fautj36j770gihvn9r4kbpyt
|
10577
|
foreign key (LINKS_ID)
|
10578
|
references PUBLIC.EXTERNALLINK;
|
10579
|
|
10580
|
alter table PUBLIC.REFERENCE_EXTERNALLINK
|
10581
|
add constraint FK1p93cq08opc6jrq43ba92uscf
|
10582
|
foreign key (REFERENCE_ID)
|
10583
|
references PUBLIC.REFERENCE;
|
10584
|
|
10585
|
alter table PUBLIC.REFERENCE_EXTERNALLINK_AUD
|
10586
|
add constraint FKjh8parx8fcg8n2v1s8mr8ov4x
|
10587
|
foreign key (REV)
|
10588
|
references PUBLIC.AUDITEVENT;
|
10589
|
|
10590
|
alter table PUBLIC.REFERENCE_IDENTIFIER
|
10591
|
add constraint FKybtkfs52y8f4jni1wanc2gup
|
10592
|
foreign key (IDENTIFIERS_ID)
|
10593
|
references PUBLIC.IDENTIFIER;
|
10594
|
|
10595
|
alter table PUBLIC.REFERENCE_IDENTIFIER
|
10596
|
add constraint FKtiwpypbkp9qxa1i94x76to5h0
|
10597
|
foreign key (REFERENCE_ID)
|
10598
|
references PUBLIC.REFERENCE;
|
10599
|
|
10600
|
alter table PUBLIC.REFERENCE_IDENTIFIER_AUD
|
10601
|
add constraint FK7aj1u6u9k2lb667d1us03971s
|
10602
|
foreign key (REV)
|
10603
|
references PUBLIC.AUDITEVENT;
|
10604
|
|
10605
|
alter table PUBLIC.REFERENCE_MARKER
|
10606
|
add constraint FKexveap1g68lrgxc6efidxhrgn
|
10607
|
foreign key (MARKERS_ID)
|
10608
|
references PUBLIC.MARKER;
|
10609
|
|
10610
|
alter table PUBLIC.REFERENCE_MARKER
|
10611
|
add constraint FK64at0o81vqgvj69w7t5qvbdrl
|
10612
|
foreign key (REFERENCE_ID)
|
10613
|
references PUBLIC.REFERENCE;
|
10614
|
|
10615
|
alter table PUBLIC.REFERENCE_MARKER_AUD
|
10616
|
add constraint FK6ae696fw5a7eawiws33fi7b14
|
10617
|
foreign key (REV)
|
10618
|
references PUBLIC.AUDITEVENT;
|
10619
|
|
10620
|
alter table PUBLIC.REFERENCE_MEDIA
|
10621
|
add constraint FKbb5d186fv3gtyv06mx1mnmtwh
|
10622
|
foreign key (MEDIA_ID)
|
10623
|
references PUBLIC.MEDIA;
|
10624
|
|
10625
|
alter table PUBLIC.REFERENCE_MEDIA
|
10626
|
add constraint FK5yxpvi6nd6mn7n08cncx91ub9
|
10627
|
foreign key (REFERENCE_ID)
|
10628
|
references PUBLIC.REFERENCE;
|
10629
|
|
10630
|
alter table PUBLIC.REFERENCE_MEDIA_AUD
|
10631
|
add constraint FKmlwa5rxpxyg87l66smv02jsq0
|
10632
|
foreign key (REV)
|
10633
|
references PUBLIC.AUDITEVENT;
|
10634
|
|
10635
|
alter table PUBLIC.REFERENCE_ORIGINALSOURCEBASE
|
10636
|
add constraint FK9i0lkw20vok2hhjp6bqscfdnq
|
10637
|
foreign key (SOURCES_ID)
|
10638
|
references PUBLIC.ORIGINALSOURCEBASE;
|
10639
|
|
10640
|
alter table PUBLIC.REFERENCE_ORIGINALSOURCEBASE
|
10641
|
add constraint FKnp8wotm5fxlu01e0wfpwdic89
|
10642
|
foreign key (REFERENCE_ID)
|
10643
|
references PUBLIC.REFERENCE;
|
10644
|
|
10645
|
alter table PUBLIC.REFERENCE_ORIGINALSOURCEBASE_AUD
|
10646
|
add constraint FK99q3y0h34t7u2c8ihufrk0xax
|
10647
|
foreign key (REV)
|
10648
|
references PUBLIC.AUDITEVENT;
|
10649
|
|
10650
|
alter table PUBLIC.REFERENCE_RIGHTSINFO
|
10651
|
add constraint FK4dvfa5njhxqm4xn1kkr713lb1
|
10652
|
foreign key (RIGHTS_ID)
|
10653
|
references PUBLIC.RIGHTSINFO;
|
10654
|
|
10655
|
alter table PUBLIC.REFERENCE_RIGHTSINFO
|
10656
|
add constraint FKthd91iq4bm0aiasvt08k8hj24
|
10657
|
foreign key (REFERENCE_ID)
|
10658
|
references PUBLIC.REFERENCE;
|
10659
|
|
10660
|
alter table PUBLIC.REFERENCE_RIGHTSINFO_AUD
|
10661
|
add constraint FKwwbtu9k15ljhw1k1pc37oga2
|
10662
|
foreign key (REV)
|
10663
|
references PUBLIC.AUDITEVENT;
|
10664
|
|
10665
|
alter table PUBLIC.REGISTRATION
|
10666
|
add constraint FKssbxh4stu2wjvobj0k8omxk9b
|
10667
|
foreign key (CREATEDBY_ID)
|
10668
|
references PUBLIC.USERACCOUNT;
|
10669
|
|
10670
|
alter table PUBLIC.REGISTRATION
|
10671
|
add constraint FKr2ddqrho2eg05tmocpsh1vmat
|
10672
|
foreign key (UPDATEDBY_ID)
|
10673
|
references PUBLIC.USERACCOUNT;
|
10674
|
|
10675
|
alter table PUBLIC.REGISTRATION
|
10676
|
add constraint FK6qft65ee3gsryatwh859ryv0i
|
10677
|
foreign key (INSTITUTION_ID)
|
10678
|
references PUBLIC.AGENTBASE;
|
10679
|
|
10680
|
alter table PUBLIC.REGISTRATION
|
10681
|
add constraint FKjkkn6tcwss7td0s2f0vy06qvw
|
10682
|
foreign key (NAME_ID)
|
10683
|
references PUBLIC.TAXONNAME;
|
10684
|
|
10685
|
alter table PUBLIC.REGISTRATION
|
10686
|
add constraint FKsn1r5cgwymwjfn01wm76uqhqn
|
10687
|
foreign key (SUBMITTER_ID)
|
10688
|
references PUBLIC.USERACCOUNT;
|
10689
|
|
10690
|
alter table PUBLIC.REGISTRATION_ANNOTATION
|
10691
|
add constraint FK92r3x37cv7klewqb3rshwiagm
|
10692
|
foreign key (ANNOTATIONS_ID)
|
10693
|
references PUBLIC.ANNOTATION;
|
10694
|
|
10695
|
alter table PUBLIC.REGISTRATION_ANNOTATION
|
10696
|
add constraint FKqehcemqaw1cvmcwtxecb8oavg
|
10697
|
foreign key (REGISTRATION_ID)
|
10698
|
references PUBLIC.REGISTRATION;
|
10699
|
|
10700
|
alter table PUBLIC.REGISTRATION_ANNOTATION_AUD
|
10701
|
add constraint FKaio2h4hn62kqw9phwhle474yx
|
10702
|
foreign key (REV)
|
10703
|
references PUBLIC.AUDITEVENT;
|
10704
|
|
10705
|
alter table PUBLIC.REGISTRATION_AUD
|
10706
|
add constraint FKo93opuyfftg08vy7mjlcvfjop
|
10707
|
foreign key (REV)
|
10708
|
references PUBLIC.AUDITEVENT;
|
10709
|
|
10710
|
alter table PUBLIC.REGISTRATION_MARKER
|
10711
|
add constraint FK34db6lj24sr92kwuufjk1sv5o
|
10712
|
foreign key (MARKERS_ID)
|
10713
|
references PUBLIC.MARKER;
|
10714
|
|
10715
|
alter table PUBLIC.REGISTRATION_MARKER
|
10716
|
add constraint FKg54mvlwemv9s7a6jh265f8pr5
|
10717
|
foreign key (REGISTRATION_ID)
|
10718
|
references PUBLIC.REGISTRATION;
|
10719
|
|
10720
|
alter table PUBLIC.REGISTRATION_MARKER_AUD
|
10721
|
add constraint FKdjkydxm3wp8ygixl3xgogqe6u
|
10722
|
foreign key (REV)
|
10723
|
references PUBLIC.AUDITEVENT;
|
10724
|
|
10725
|
alter table PUBLIC.REGISTRATION_REGISTRATION
|
10726
|
add constraint FK6067kgt9p8bxk1q7wggh65o66
|
10727
|
foreign key (BLOCKEDBY_ID)
|
10728
|
references PUBLIC.REGISTRATION;
|
10729
|
|
10730
|
alter table PUBLIC.REGISTRATION_REGISTRATION
|
10731
|
add constraint FK5ed1b3q5umuexfr5st0ona9xv
|
10732
|
foreign key (REGISTRATION_ID)
|
10733
|
references PUBLIC.REGISTRATION;
|
10734
|
|
10735
|
alter table PUBLIC.REGISTRATION_REGISTRATION_AUD
|
10736
|
add constraint FKcqu7i9pvfl6ph8ewuwkfvfkdr
|
10737
|
foreign key (REV)
|
10738
|
references PUBLIC.AUDITEVENT;
|
10739
|
|
10740
|
alter table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE
|
10741
|
add constraint FK4k135mn6g006dglnqrbijc5kd
|
10742
|
foreign key (TYPEDESIGNATIONS_ID)
|
10743
|
references PUBLIC.TYPEDESIGNATIONBASE;
|
10744
|
|
10745
|
alter table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE
|
10746
|
add constraint FKn4mb5q2u5sl33q3y5nqsin6bb
|
10747
|
foreign key (REGISTRATIONS_ID)
|
10748
|
references PUBLIC.REGISTRATION;
|
10749
|
|
10750
|
alter table PUBLIC.REGISTRATION_TYPEDESIGNATIONBASE_AUD
|
10751
|
add constraint FKiskkkxaks4xwq52fte6nyytvr
|
10752
|
foreign key (REV)
|
10753
|
references PUBLIC.AUDITEVENT;
|
10754
|
|
10755
|
alter table PUBLIC.REPRESENTATION
|
10756
|
add constraint FKtdoseswew2hyk8h15rvyb756h
|
10757
|
foreign key (CREATEDBY_ID)
|
10758
|
references PUBLIC.USERACCOUNT;
|
10759
|
|
10760
|
alter table PUBLIC.REPRESENTATION
|
10761
|
add constraint FKexa8xill5lnafq9r1yfhkvh0s
|
10762
|
foreign key (UPDATEDBY_ID)
|
10763
|
references PUBLIC.USERACCOUNT;
|
10764
|
|
10765
|
alter table PUBLIC.REPRESENTATION
|
10766
|
add constraint FKtkw5afbnyylkj975yadgn1a86
|
10767
|
foreign key (LANGUAGE_ID)
|
10768
|
references PUBLIC.DEFINEDTERMBASE;
|
10769
|
|
10770
|
alter table PUBLIC.REPRESENTATION_ANNOTATION
|
10771
|
add constraint FK18rqbqkcmqfofgsxlouwqhm82
|
10772
|
foreign key (ANNOTATIONS_ID)
|
10773
|
references PUBLIC.ANNOTATION;
|
10774
|
|
10775
|
alter table PUBLIC.REPRESENTATION_ANNOTATION
|
10776
|
add constraint FKbikfpnfmd6i1a7nymmp0mp7iu
|
10777
|
foreign key (REPRESENTATION_ID)
|
10778
|
references PUBLIC.REPRESENTATION;
|
10779
|
|
10780
|
alter table PUBLIC.REPRESENTATION_ANNOTATION_AUD
|
10781
|
add constraint FKa1e0ifuoima2iybwr7lw0q2xp
|
10782
|
foreign key (REV)
|
10783
|
references PUBLIC.AUDITEVENT;
|
10784
|
|
10785
|
alter table PUBLIC.REPRESENTATION_AUD
|
10786
|
add constraint FKp61ci06xj3vhyv9gwulmb6wem
|
10787
|
foreign key (REV)
|
10788
|
references PUBLIC.AUDITEVENT;
|
10789
|
|
10790
|
alter table PUBLIC.REPRESENTATION_MARKER
|
10791
|
add constraint FKo878d4cblmdiy4owjjc80iext
|
10792
|
foreign key (MARKERS_ID)
|
10793
|
references PUBLIC.MARKER;
|
10794
|
|
10795
|
alter table PUBLIC.REPRESENTATION_MARKER
|
10796
|
add constraint FKds57g2msbsf0mgk94219bxxop
|
10797
|
foreign key (REPRESENTATION_ID)
|
10798
|
references PUBLIC.REPRESENTATION;
|
10799
|
|
10800
|
alter table PUBLIC.REPRESENTATION_MARKER_AUD
|
10801
|
add constraint FK7kec8ols5fvutxbuj858egx4d
|
10802
|
foreign key (REV)
|
10803
|
references PUBLIC.AUDITEVENT;
|
10804
|
|
10805
|
alter table PUBLIC.RIGHTSINFO
|
10806
|
add constraint FK2jiffytis626vo56oatyrx5kq
|
10807
|
foreign key (CREATEDBY_ID)
|
10808
|
references PUBLIC.USERACCOUNT;
|
10809
|
|
10810
|
alter table PUBLIC.RIGHTSINFO
|
10811
|
add constraint FKqpuckklm5c67ag4l64aso2cvx
|
10812
|
foreign key (UPDATEDBY_ID)
|
10813
|
references PUBLIC.USERACCOUNT;
|
10814
|
|
10815
|
alter table PUBLIC.RIGHTSINFO
|
10816
|
add constraint FKlcnekfrfsb7vod0tlhusbh54s
|
10817
|
foreign key (LANGUAGE_ID)
|
10818
|
references PUBLIC.DEFINEDTERMBASE;
|
10819
|
|
10820
|
alter table PUBLIC.RIGHTSINFO
|
10821
|
add constraint FKt4y8xwx7tfbpy210eo0h8kdid
|
10822
|
foreign key (AGENT_ID)
|
10823
|
references PUBLIC.AGENTBASE;
|
10824
|
|
10825
|
alter table PUBLIC.RIGHTSINFO
|
10826
|
add constraint FKhn9pp43cnc43bgb91j8dtv1c
|
10827
|
foreign key (TYPE_ID)
|
10828
|
references PUBLIC.DEFINEDTERMBASE;
|
10829
|
|
10830
|
alter table PUBLIC.RIGHTSINFO_ANNOTATION
|
10831
|
add constraint FK60xtsee4ecu8wnv13vbm577rb
|
10832
|
foreign key (ANNOTATIONS_ID)
|
10833
|
references PUBLIC.ANNOTATION;
|
10834
|
|
10835
|
alter table PUBLIC.RIGHTSINFO_ANNOTATION
|
10836
|
add constraint FKg4o6hafvjop6eel8u5j8emvvi
|
10837
|
foreign key (RIGHTS_ID)
|
10838
|
references PUBLIC.RIGHTSINFO;
|
10839
|
|
10840
|
alter table PUBLIC.RIGHTSINFO_ANNOTATION_AUD
|
10841
|
add constraint FK40wx9iccfdycbd74tby29y3c0
|
10842
|
foreign key (REV)
|
10843
|
references PUBLIC.AUDITEVENT;
|
10844
|
|
10845
|
alter table PUBLIC.RIGHTSINFO_AUD
|
10846
|
add constraint FKkn92l09y1hr1gwjex20ta3gbi
|
10847
|
foreign key (REV)
|
10848
|
references PUBLIC.AUDITEVENT;
|
10849
|
|
10850
|
alter table PUBLIC.RIGHTSINFO_MARKER
|
10851
|
add constraint FKsp8q26s44pv51nej50pjrq2a6
|
10852
|
foreign key (MARKERS_ID)
|
10853
|
references PUBLIC.MARKER;
|
10854
|
|
10855
|
alter table PUBLIC.RIGHTSINFO_MARKER
|
10856
|
add constraint FKdk1r2wwyvy9luf6bm1xqjfmsm
|
10857
|
foreign key (RIGHTS_ID)
|
10858
|
references PUBLIC.RIGHTSINFO;
|
10859
|
|
10860
|
alter table PUBLIC.RIGHTSINFO_MARKER_AUD
|
10861
|
add constraint FKnchbx3jmqk3trn3mamyo7eksm
|
10862
|
foreign key (REV)
|
10863
|
references PUBLIC.AUDITEVENT;
|
10864
|
|
10865
|
alter table PUBLIC.SEQUENCE
|
10866
|
add constraint FKkmd1cn62er1xcp86dx7einhk7
|
10867
|
foreign key (CREATEDBY_ID)
|
10868
|
references PUBLIC.USERACCOUNT;
|
10869
|
|
10870
|
alter table PUBLIC.SEQUENCE
|
10871
|
add constraint FK5o1y7jktbsdu1ksch9jw66je4
|
10872
|
foreign key (UPDATEDBY_ID)
|
10873
|
references PUBLIC.USERACCOUNT;
|
10874
|
|
10875
|
alter table PUBLIC.SEQUENCE
|
10876
|
add constraint FKhnqr3w25pdinfhtosfey212k1
|
10877
|
foreign key (CONTIGFILE_ID)
|
10878
|
references PUBLIC.MEDIA;
|
10879
|
|
10880
|
alter table PUBLIC.SEQUENCE
|
10881
|
add constraint FK7yvdcq92iyxqr6bmp1ssy6141
|
10882
|
foreign key (DNAMARKER_ID)
|
10883
|
references PUBLIC.DEFINEDTERMBASE;
|
10884
|
|
10885
|
alter table PUBLIC.SEQUENCE
|
10886
|
add constraint FKrmpeal8i2ua8e1urhovnrtk8t
|
10887
|
foreign key (DNASAMPLE_ID)
|
10888
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
10889
|
|
10890
|
alter table PUBLIC.SEQUENCE_ANNOTATION
|
10891
|
add constraint FK7ds65rq20wx4nhijkig382h3s
|
10892
|
foreign key (ANNOTATIONS_ID)
|
10893
|
references PUBLIC.ANNOTATION;
|
10894
|
|
10895
|
alter table PUBLIC.SEQUENCE_ANNOTATION
|
10896
|
add constraint FK990bkrieauvovi86khwwh3erg
|
10897
|
foreign key (SEQUENCE_ID)
|
10898
|
references PUBLIC.SEQUENCE;
|
10899
|
|
10900
|
alter table PUBLIC.SEQUENCE_ANNOTATION_AUD
|
10901
|
add constraint FK735drd5jfafia5oognoeu0ce4
|
10902
|
foreign key (REV)
|
10903
|
references PUBLIC.AUDITEVENT;
|
10904
|
|
10905
|
alter table PUBLIC.SEQUENCE_AUD
|
10906
|
add constraint FKgcsldov9d71x65sfb6kbbm7vb
|
10907
|
foreign key (REV)
|
10908
|
references PUBLIC.AUDITEVENT;
|
10909
|
|
10910
|
alter table PUBLIC.SEQUENCE_MARKER
|
10911
|
add constraint FK3ks6r00vtciodc9wauki4v409
|
10912
|
foreign key (MARKERS_ID)
|
10913
|
references PUBLIC.MARKER;
|
10914
|
|
10915
|
alter table PUBLIC.SEQUENCE_MARKER
|
10916
|
add constraint FK8w5x7vlftqlwajavaai4t0hx4
|
10917
|
foreign key (SEQUENCE_ID)
|
10918
|
references PUBLIC.SEQUENCE;
|
10919
|
|
10920
|
alter table PUBLIC.SEQUENCE_MARKER_AUD
|
10921
|
add constraint FK9nl9gtujit06edk8y2vkmn3hp
|
10922
|
foreign key (REV)
|
10923
|
references PUBLIC.AUDITEVENT;
|
10924
|
|
10925
|
alter table PUBLIC.SEQUENCE_REFERENCE
|
10926
|
add constraint FKlg4hwwmltj8p5gku7p77b9pou
|
10927
|
foreign key (CITATIONS_ID)
|
10928
|
references PUBLIC.REFERENCE;
|
10929
|
|
10930
|
alter table PUBLIC.SEQUENCE_REFERENCE
|
10931
|
add constraint FKg7s8aew2gv6d260iaw5rhcm54
|
10932
|
foreign key (SEQUENCE_ID)
|
10933
|
references PUBLIC.SEQUENCE;
|
10934
|
|
10935
|
alter table PUBLIC.SEQUENCE_REFERENCE_AUD
|
10936
|
add constraint FKi8bj6rjgoss59rhkgwxxmlkef
|
10937
|
foreign key (REV)
|
10938
|
references PUBLIC.AUDITEVENT;
|
10939
|
|
10940
|
alter table PUBLIC.SINGLEREAD
|
10941
|
add constraint FKfw74hffhlb8x59tvig9cewa7i
|
10942
|
foreign key (CREATEDBY_ID)
|
10943
|
references PUBLIC.USERACCOUNT;
|
10944
|
|
10945
|
alter table PUBLIC.SINGLEREAD
|
10946
|
add constraint FKg08udj69wauapv748n35lxwjs
|
10947
|
foreign key (UPDATEDBY_ID)
|
10948
|
references PUBLIC.USERACCOUNT;
|
10949
|
|
10950
|
alter table PUBLIC.SINGLEREAD
|
10951
|
add constraint FKaqcanlwldwlt09m3txtgk7ieu
|
10952
|
foreign key (ACTOR_ID)
|
10953
|
references PUBLIC.AGENTBASE;
|
10954
|
|
10955
|
alter table PUBLIC.SINGLEREAD
|
10956
|
add constraint FKm6s626c2uvl941dj36c155jg7
|
10957
|
foreign key (AMPLIFICATIONRESULT_ID)
|
10958
|
references PUBLIC.AMPLIFICATIONRESULT;
|
10959
|
|
10960
|
alter table PUBLIC.SINGLEREAD
|
10961
|
add constraint FKh6gofui5omhxrc7wkqbapo7xf
|
10962
|
foreign key (MATERIALORMETHOD_ID)
|
10963
|
references PUBLIC.MATERIALORMETHODEVENT;
|
10964
|
|
10965
|
alter table PUBLIC.SINGLEREAD
|
10966
|
add constraint FK6ioy6uylmcaaeb6eiudmnkinr
|
10967
|
foreign key (PHEROGRAM_ID)
|
10968
|
references PUBLIC.MEDIA;
|
10969
|
|
10970
|
alter table PUBLIC.SINGLEREAD
|
10971
|
add constraint FK5x7p1u0ah52n2ekvfvmhfveg7
|
10972
|
foreign key (PRIMER_ID)
|
10973
|
references PUBLIC.PRIMER;
|
10974
|
|
10975
|
alter table PUBLIC.SINGLEREAD_ANNOTATION
|
10976
|
add constraint FKofpbgyox6noaccf00cwjmgvot
|
10977
|
foreign key (ANNOTATIONS_ID)
|
10978
|
references PUBLIC.ANNOTATION;
|
10979
|
|
10980
|
alter table PUBLIC.SINGLEREAD_ANNOTATION
|
10981
|
add constraint FKc03vvm6whlk103xpihknhmkf0
|
10982
|
foreign key (SINGLEREAD_ID)
|
10983
|
references PUBLIC.SINGLEREAD;
|
10984
|
|
10985
|
alter table PUBLIC.SINGLEREAD_ANNOTATION_AUD
|
10986
|
add constraint FK87xgjw97bfm1ak23iki10fb6r
|
10987
|
foreign key (REV)
|
10988
|
references PUBLIC.AUDITEVENT;
|
10989
|
|
10990
|
alter table PUBLIC.SINGLEREAD_AUD
|
10991
|
add constraint FKer5xxym35jgbw30e5bdobgece
|
10992
|
foreign key (REV)
|
10993
|
references PUBLIC.AUDITEVENT;
|
10994
|
|
10995
|
alter table PUBLIC.SINGLEREAD_MARKER
|
10996
|
add constraint FK12b4bm2mumaxlu1mdxomeofhe
|
10997
|
foreign key (MARKERS_ID)
|
10998
|
references PUBLIC.MARKER;
|
10999
|
|
11000
|
alter table PUBLIC.SINGLEREAD_MARKER
|
11001
|
add constraint FKbg50mgka7gb4a61mplqvtgbon
|
11002
|
foreign key (SINGLEREAD_ID)
|
11003
|
references PUBLIC.SINGLEREAD;
|
11004
|
|
11005
|
alter table PUBLIC.SINGLEREAD_MARKER_AUD
|
11006
|
add constraint FKqscee3khmdkd1juu808ef14w7
|
11007
|
foreign key (REV)
|
11008
|
references PUBLIC.AUDITEVENT;
|
11009
|
|
11010
|
alter table PUBLIC.SINGLEREADALIGNMENT
|
11011
|
add constraint FK94um4cdy0gibxrmvk91tj7jys
|
11012
|
foreign key (CREATEDBY_ID)
|
11013
|
references PUBLIC.USERACCOUNT;
|
11014
|
|
11015
|
alter table PUBLIC.SINGLEREADALIGNMENT
|
11016
|
add constraint FKem9kh2lqnndqbnjnrpvg2q6xb
|
11017
|
foreign key (UPDATEDBY_ID)
|
11018
|
references PUBLIC.USERACCOUNT;
|
11019
|
|
11020
|
alter table PUBLIC.SINGLEREADALIGNMENT
|
11021
|
add constraint FKmmrsuqctgct01xa98j6av0mct
|
11022
|
foreign key (CONSENSUSALIGNMENT_ID)
|
11023
|
references PUBLIC.SEQUENCE;
|
11024
|
|
11025
|
alter table PUBLIC.SINGLEREADALIGNMENT
|
11026
|
add constraint FKm3tvcjk2s4hlm237ju9neiigs
|
11027
|
foreign key (SINGLEREAD_ID)
|
11028
|
references PUBLIC.SINGLEREAD;
|
11029
|
|
11030
|
alter table PUBLIC.SINGLEREADALIGNMENT_AUD
|
11031
|
add constraint FK1eidhn9x3gyc1yme1ma0mwhtf
|
11032
|
foreign key (REV)
|
11033
|
references PUBLIC.AUDITEVENT;
|
11034
|
|
11035
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11036
|
add constraint FKltx2rybqga5h0sjxxwbkld3rr
|
11037
|
foreign key (CREATEDBY_ID)
|
11038
|
references PUBLIC.USERACCOUNT;
|
11039
|
|
11040
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11041
|
add constraint FKq4t146rful3aalnna6kw2a0ik
|
11042
|
foreign key (UPDATEDBY_ID)
|
11043
|
references PUBLIC.USERACCOUNT;
|
11044
|
|
11045
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11046
|
add constraint FKf0p6rqb26b2q95ot4ckyar9p9
|
11047
|
foreign key (KINDOFUNIT_ID)
|
11048
|
references PUBLIC.DEFINEDTERMBASE;
|
11049
|
|
11050
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11051
|
add constraint FKlf8p7agyukdsffkyfk7yrl9jt
|
11052
|
foreign key (LIFESTAGE_ID)
|
11053
|
references PUBLIC.DEFINEDTERMBASE;
|
11054
|
|
11055
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11056
|
add constraint FKtnyhf1s596j64prsb9sf9ln83
|
11057
|
foreign key (SEX_ID)
|
11058
|
references PUBLIC.DEFINEDTERMBASE;
|
11059
|
|
11060
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11061
|
add constraint FKh5kw5m7u52yvfpy82sj0e4tq6
|
11062
|
foreign key (COLLECTION_ID)
|
11063
|
references PUBLIC.COLLECTION;
|
11064
|
|
11065
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11066
|
add constraint FKl1doqerdkgcxtacrq0knkg9yu
|
11067
|
foreign key (DERIVEDFROM_ID)
|
11068
|
references PUBLIC.DERIVATIONEVENT;
|
11069
|
|
11070
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11071
|
add constraint FKylj8khlb1u8nhd1bxs5g0ysl
|
11072
|
foreign key (PRESERVATION_ID)
|
11073
|
references PUBLIC.MATERIALORMETHODEVENT;
|
11074
|
|
11075
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11076
|
add constraint FKq9n9aa56bm0b7tck8a9ji4h6p
|
11077
|
foreign key (STOREDUNDER_ID)
|
11078
|
references PUBLIC.TAXONNAME;
|
11079
|
|
11080
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11081
|
add constraint FK3fj2x5dmhlpl44gn79km6ujj3
|
11082
|
foreign key (DNAQUALITY_ID)
|
11083
|
references PUBLIC.DNAQUALITY;
|
11084
|
|
11085
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11086
|
add constraint FKc49f3crpwygf5rc43e6llmho4
|
11087
|
foreign key (GATHERINGEVENT_ID)
|
11088
|
references PUBLIC.GATHERINGEVENT;
|
11089
|
|
11090
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11091
|
add constraint FK7kl52kgwq2cwbgoe6w33aeieg
|
11092
|
foreign key (PRIMARYCOLLECTOR_ID)
|
11093
|
references PUBLIC.AGENTBASE;
|
11094
|
|
11095
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE
|
11096
|
add constraint FKauk8t7vijxtn7x4bbjqq12shh
|
11097
|
foreign key (MEDIASPECIMEN_ID)
|
11098
|
references PUBLIC.MEDIA;
|
11099
|
|
11100
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION
|
11101
|
add constraint FKtf609jyno7kbkxm6yx0jykeo3
|
11102
|
foreign key (ANNOTATIONS_ID)
|
11103
|
references PUBLIC.ANNOTATION;
|
11104
|
|
11105
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION
|
11106
|
add constraint FKo8ck5ki21xsr3ipb0myxucuob
|
11107
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11108
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11109
|
|
11110
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ANNOTATION_AUD
|
11111
|
add constraint FK57fdxs2utj9xtxlkupmg301qi
|
11112
|
foreign key (REV)
|
11113
|
references PUBLIC.AUDITEVENT;
|
11114
|
|
11115
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_AUD
|
11116
|
add constraint FK5uws1yjwcl6mkp78y94pbob6n
|
11117
|
foreign key (REV)
|
11118
|
references PUBLIC.AUDITEVENT;
|
11119
|
|
11120
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT
|
11121
|
add constraint FK7yo0h2uvmvwr2ic6bddst83je
|
11122
|
foreign key (CREDITS_ID)
|
11123
|
references PUBLIC.CREDIT;
|
11124
|
|
11125
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT
|
11126
|
add constraint FK2c8tg91pmj2eeia0bpvi7wbmc
|
11127
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11128
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11129
|
|
11130
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_CREDIT_AUD
|
11131
|
add constraint FKp6m6osrukoumcyka6muk5kdig
|
11132
|
foreign key (REV)
|
11133
|
references PUBLIC.AUDITEVENT;
|
11134
|
|
11135
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT
|
11136
|
add constraint FKlnuvv6x73buev4rlli7ect7q2
|
11137
|
foreign key (DERIVATIONEVENTS_ID)
|
11138
|
references PUBLIC.DERIVATIONEVENT;
|
11139
|
|
11140
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT
|
11141
|
add constraint FKka19bd8jqn54u7804ysnf9at5
|
11142
|
foreign key (ORIGINALS_ID)
|
11143
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11144
|
|
11145
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT_AUD
|
11146
|
add constraint FKr6c4sn69c3ei7a17o5v05fq1i
|
11147
|
foreign key (REV)
|
11148
|
references PUBLIC.AUDITEVENT;
|
11149
|
|
11150
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION
|
11151
|
add constraint FKg7bhhhtopm521u0axp62f1qk9
|
11152
|
foreign key (EXTENSIONS_ID)
|
11153
|
references PUBLIC.EXTENSION;
|
11154
|
|
11155
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION
|
11156
|
add constraint FKienad1fgx35c4rwk3k9a1olmq
|
11157
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11158
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11159
|
|
11160
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTENSION_AUD
|
11161
|
add constraint FK7mpvncivoodjcotn3dkfmuqop
|
11162
|
foreign key (REV)
|
11163
|
references PUBLIC.AUDITEVENT;
|
11164
|
|
11165
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK
|
11166
|
add constraint FK996cw0phqmjku9wuu3ruhqarl
|
11167
|
foreign key (LINKS_ID)
|
11168
|
references PUBLIC.EXTERNALLINK;
|
11169
|
|
11170
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK
|
11171
|
add constraint FKi3c7t6099l4a5b3yn34h97euc
|
11172
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11173
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11174
|
|
11175
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_EXTERNALLINK_AUD
|
11176
|
add constraint FKi8f4ai5efkdf39h3scc1uq1s4
|
11177
|
foreign key (REV)
|
11178
|
references PUBLIC.AUDITEVENT;
|
11179
|
|
11180
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER
|
11181
|
add constraint FKtrbtjge57psmdu8q0ud2whiv8
|
11182
|
foreign key (IDENTIFIERS_ID)
|
11183
|
references PUBLIC.IDENTIFIER;
|
11184
|
|
11185
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER
|
11186
|
add constraint FKh57r3qdvtqj4ss6xjtgt7hpie
|
11187
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11188
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11189
|
|
11190
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_IDENTIFIER_AUD
|
11191
|
add constraint FKiimd0fug7lm93css6tn210f22
|
11192
|
foreign key (REV)
|
11193
|
references PUBLIC.AUDITEVENT;
|
11194
|
|
11195
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING
|
11196
|
add constraint FKn49y4yacwfhqh8460gbklbk28
|
11197
|
foreign key (DEFINITION_ID)
|
11198
|
references PUBLIC.LANGUAGESTRING;
|
11199
|
|
11200
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING
|
11201
|
add constraint FK1eeji5p0d8jqudp5bo2okys74
|
11202
|
foreign key (DEFINITION_MAPKEY_ID)
|
11203
|
references PUBLIC.DEFINEDTERMBASE;
|
11204
|
|
11205
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING
|
11206
|
add constraint FKr3c9gvird8624m1cxbkvp9ej1
|
11207
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11208
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11209
|
|
11210
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_LANGUAGESTRING_AUD
|
11211
|
add constraint FKp8dhlqkoaya1sx88ihevigsyh
|
11212
|
foreign key (REV)
|
11213
|
references PUBLIC.AUDITEVENT;
|
11214
|
|
11215
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER
|
11216
|
add constraint FKp22nigd4rmq3l138miwd02n6l
|
11217
|
foreign key (MARKERS_ID)
|
11218
|
references PUBLIC.MARKER;
|
11219
|
|
11220
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER
|
11221
|
add constraint FK4tq39xp7evhgofyifa02sio1x
|
11222
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11223
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11224
|
|
11225
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_MARKER_AUD
|
11226
|
add constraint FKg1j0ddbyt151ki1r6nteex817
|
11227
|
foreign key (REV)
|
11228
|
references PUBLIC.AUDITEVENT;
|
11229
|
|
11230
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE
|
11231
|
add constraint FKb7oaaxqt6esisionanfdslcku
|
11232
|
foreign key (SOURCES_ID)
|
11233
|
references PUBLIC.ORIGINALSOURCEBASE;
|
11234
|
|
11235
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE
|
11236
|
add constraint FK9sf33l2q6twuv4bom7q494e5d
|
11237
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11238
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11239
|
|
11240
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE_AUD
|
11241
|
add constraint FKki1840nc5oj31yijt09t0u755
|
11242
|
foreign key (REV)
|
11243
|
references PUBLIC.AUDITEVENT;
|
11244
|
|
11245
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO
|
11246
|
add constraint FK7h0u26004g9wbf4af23one14m
|
11247
|
foreign key (RIGHTS_ID)
|
11248
|
references PUBLIC.RIGHTSINFO;
|
11249
|
|
11250
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO
|
11251
|
add constraint FKor72q8cm4fy7pe5qo59qgg6rx
|
11252
|
foreign key (SPECIMENOROBSERVATIONBASE_ID)
|
11253
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
11254
|
|
11255
|
alter table PUBLIC.SPECIMENOROBSERVATIONBASE_RIGHTSINFO_AUD
|
11256
|
add constraint FKi6ew7w0x3l4b2chewqw5ga1dc
|
11257
|
foreign key (REV)
|
11258
|
references PUBLIC.AUDITEVENT;
|
11259
|
|
11260
|
alter table PUBLIC.STATEDATA
|
11261
|
add constraint FK3ensfor4bmuhd9qyxfvvu0kyk
|
11262
|
foreign key (CREATEDBY_ID)
|
11263
|
references PUBLIC.USERACCOUNT;
|
11264
|
|
11265
|
alter table PUBLIC.STATEDATA
|
11266
|
add constraint FK7mcn266t04pq9nroyonci5yu1
|
11267
|
foreign key (UPDATEDBY_ID)
|
11268
|
references PUBLIC.USERACCOUNT;
|
11269
|
|
11270
|
alter table PUBLIC.STATEDATA
|
11271
|
add constraint FKotgbmlo45d4x43tupimx4thee
|
11272
|
foreign key (CATEGORICALDATA_ID)
|
11273
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
11274
|
|
11275
|
alter table PUBLIC.STATEDATA
|
11276
|
add constraint FK31iswia8ew329qhp43isbloa6
|
11277
|
foreign key (STATE_ID)
|
11278
|
references PUBLIC.DEFINEDTERMBASE;
|
11279
|
|
11280
|
alter table PUBLIC.STATEDATA_AUD
|
11281
|
add constraint FKp7w6hvurw2grs3i0crfy9sc1r
|
11282
|
foreign key (REV)
|
11283
|
references PUBLIC.AUDITEVENT;
|
11284
|
|
11285
|
alter table PUBLIC.STATEDATA_DEFINEDTERMBASE
|
11286
|
add constraint FKp2vkekfbpq8unji82kxoyqq1d
|
11287
|
foreign key (MODIFIERS_ID)
|
11288
|
references PUBLIC.DEFINEDTERMBASE;
|
11289
|
|
11290
|
alter table PUBLIC.STATEDATA_DEFINEDTERMBASE
|
11291
|
add constraint FKcc7dli5ns18wtoikflm6oped3
|
11292
|
foreign key (STATEDATA_ID)
|
11293
|
references PUBLIC.STATEDATA;
|
11294
|
|
11295
|
alter table PUBLIC.STATEDATA_DEFINEDTERMBASE_AUD
|
11296
|
add constraint FK9rivv0b7u08ahfm8ebxtlkdus
|
11297
|
foreign key (REV)
|
11298
|
references PUBLIC.AUDITEVENT;
|
11299
|
|
11300
|
alter table PUBLIC.STATEDATA_LANGUAGESTRING
|
11301
|
add constraint FKe3q9ahtxayv7xfa5h79t2ebie
|
11302
|
foreign key (MODIFYINGTEXT_ID)
|
11303
|
references PUBLIC.LANGUAGESTRING;
|
11304
|
|
11305
|
alter table PUBLIC.STATEDATA_LANGUAGESTRING
|
11306
|
add constraint FKh3vnwce9g1dekeoi4u8my8a6a
|
11307
|
foreign key (MODIFYINGTEXT_MAPKEY_ID)
|
11308
|
references PUBLIC.DEFINEDTERMBASE;
|
11309
|
|
11310
|
alter table PUBLIC.STATEDATA_LANGUAGESTRING
|
11311
|
add constraint FKrouch0cs2o1kqaw72regcmbe1
|
11312
|
foreign key (STATEDATA_ID)
|
11313
|
references PUBLIC.STATEDATA;
|
11314
|
|
11315
|
alter table PUBLIC.STATEDATA_LANGUAGESTRING_AUD
|
11316
|
add constraint FK7s8c9nn7xapid66sa35952coy
|
11317
|
foreign key (REV)
|
11318
|
references PUBLIC.AUDITEVENT;
|
11319
|
|
11320
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE
|
11321
|
add constraint FKd8qj8bw3niahb0cwg1h9y323c
|
11322
|
foreign key (CREATEDBY_ID)
|
11323
|
references PUBLIC.USERACCOUNT;
|
11324
|
|
11325
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE
|
11326
|
add constraint FKj8fdpajmqai0vbr3jwqhl0a6a
|
11327
|
foreign key (UPDATEDBY_ID)
|
11328
|
references PUBLIC.USERACCOUNT;
|
11329
|
|
11330
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE
|
11331
|
add constraint FKk40wfeu2cvqikx1anq5dtwycq
|
11332
|
foreign key (QUANTITATIVEDATA_ID)
|
11333
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
11334
|
|
11335
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE
|
11336
|
add constraint FKsmerdb3k5e19340h4i9p9gqko
|
11337
|
foreign key (TYPE_ID)
|
11338
|
references PUBLIC.DEFINEDTERMBASE;
|
11339
|
|
11340
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE_AUD
|
11341
|
add constraint FKbgqbx03e6mnfgwyckiikwsigg
|
11342
|
foreign key (REV)
|
11343
|
references PUBLIC.AUDITEVENT;
|
11344
|
|
11345
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE
|
11346
|
add constraint FKf62ryqw6h47suyc38a7c2268w
|
11347
|
foreign key (MODIFIERS_ID)
|
11348
|
references PUBLIC.DEFINEDTERMBASE;
|
11349
|
|
11350
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE
|
11351
|
add constraint FK24s9nm7iosnm6rf0fshh4v4qt
|
11352
|
foreign key (STATISTICALMEASUREMENTVALUE_ID)
|
11353
|
references PUBLIC.STATISTICALMEASUREMENTVALUE;
|
11354
|
|
11355
|
alter table PUBLIC.STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE_AUD
|
11356
|
add constraint FK1nuy7kb58y5vens8xbd5stid8
|
11357
|
foreign key (REV)
|
11358
|
references PUBLIC.AUDITEVENT;
|
11359
|
|
11360
|
alter table PUBLIC.TAXONBASE
|
11361
|
add constraint FKg0fweuseccpg3m9xykpg7yg87
|
11362
|
foreign key (CREATEDBY_ID)
|
11363
|
references PUBLIC.USERACCOUNT;
|
11364
|
|
11365
|
alter table PUBLIC.TAXONBASE
|
11366
|
add constraint FKkgxecw6k3ua9xvjtxhxjg22w6
|
11367
|
foreign key (UPDATEDBY_ID)
|
11368
|
references PUBLIC.USERACCOUNT;
|
11369
|
|
11370
|
alter table PUBLIC.TAXONBASE
|
11371
|
add constraint FKio1sgegmb448k1270ys6h7fio
|
11372
|
foreign key (NAME_ID)
|
11373
|
references PUBLIC.TAXONNAME;
|
11374
|
|
11375
|
alter table PUBLIC.TAXONBASE
|
11376
|
add constraint FKfb64jyfxe0di03m6okc3l5bso
|
11377
|
foreign key (ACCEPTEDTAXON_ID)
|
11378
|
references PUBLIC.TAXONBASE;
|
11379
|
|
11380
|
alter table PUBLIC.TAXONBASE
|
11381
|
add constraint FKl5rtpkyfxbxmoc1chm6trmykn
|
11382
|
foreign key (TYPE_ID)
|
11383
|
references PUBLIC.DEFINEDTERMBASE;
|
11384
|
|
11385
|
alter table PUBLIC.TAXONBASE_ANNOTATION
|
11386
|
add constraint FKhod10mprpi6uhsfowir3vthjh
|
11387
|
foreign key (ANNOTATIONS_ID)
|
11388
|
references PUBLIC.ANNOTATION;
|
11389
|
|
11390
|
alter table PUBLIC.TAXONBASE_ANNOTATION
|
11391
|
add constraint FKg8niyc32b4p5mv2mtfg1bya5o
|
11392
|
foreign key (TAXONBASE_ID)
|
11393
|
references PUBLIC.TAXONBASE;
|
11394
|
|
11395
|
alter table PUBLIC.TAXONBASE_ANNOTATION_AUD
|
11396
|
add constraint FK6tx9t3qnl4dhxpxb7nd2cepkj
|
11397
|
foreign key (REV)
|
11398
|
references PUBLIC.AUDITEVENT;
|
11399
|
|
11400
|
alter table PUBLIC.TAXONBASE_AUD
|
11401
|
add constraint FKfk0aejjh2wuid1y7d8a2c4hio
|
11402
|
foreign key (REV)
|
11403
|
references PUBLIC.AUDITEVENT;
|
11404
|
|
11405
|
alter table PUBLIC.TAXONBASE_CREDIT
|
11406
|
add constraint FKi7i15tdiimntpitukuvfphlsy
|
11407
|
foreign key (CREDITS_ID)
|
11408
|
references PUBLIC.CREDIT;
|
11409
|
|
11410
|
alter table PUBLIC.TAXONBASE_CREDIT
|
11411
|
add constraint FKfr71wrj4rgljrbdi04mcx7nak
|
11412
|
foreign key (TAXONBASE_ID)
|
11413
|
references PUBLIC.TAXONBASE;
|
11414
|
|
11415
|
alter table PUBLIC.TAXONBASE_CREDIT_AUD
|
11416
|
add constraint FKoad04qcixfx69rb0kmnr3xyff
|
11417
|
foreign key (REV)
|
11418
|
references PUBLIC.AUDITEVENT;
|
11419
|
|
11420
|
alter table PUBLIC.TAXONBASE_EXTENSION
|
11421
|
add constraint FKdadvetqkb80cdyoeb2ds0or0r
|
11422
|
foreign key (EXTENSIONS_ID)
|
11423
|
references PUBLIC.EXTENSION;
|
11424
|
|
11425
|
alter table PUBLIC.TAXONBASE_EXTENSION
|
11426
|
add constraint FKqubk4gee1h0146iv6hjjml3c0
|
11427
|
foreign key (TAXONBASE_ID)
|
11428
|
references PUBLIC.TAXONBASE;
|
11429
|
|
11430
|
alter table PUBLIC.TAXONBASE_EXTENSION_AUD
|
11431
|
add constraint FKgovqjxfirvxeitiulujyq6exm
|
11432
|
foreign key (REV)
|
11433
|
references PUBLIC.AUDITEVENT;
|
11434
|
|
11435
|
alter table PUBLIC.TAXONBASE_EXTERNALLINK
|
11436
|
add constraint FKc3j5m3q0ya257dq64hwd9nfti
|
11437
|
foreign key (LINKS_ID)
|
11438
|
references PUBLIC.EXTERNALLINK;
|
11439
|
|
11440
|
alter table PUBLIC.TAXONBASE_EXTERNALLINK
|
11441
|
add constraint FKk5esdbk05s6y205owubi1veub
|
11442
|
foreign key (TAXONBASE_ID)
|
11443
|
references PUBLIC.TAXONBASE;
|
11444
|
|
11445
|
alter table PUBLIC.TAXONBASE_EXTERNALLINK_AUD
|
11446
|
add constraint FKno2lsjeeh5f9rh3k9qij19trr
|
11447
|
foreign key (REV)
|
11448
|
references PUBLIC.AUDITEVENT;
|
11449
|
|
11450
|
alter table PUBLIC.TAXONBASE_IDENTIFIER
|
11451
|
add constraint FKsi8fhfygr5lfmp2dtfg5rccwx
|
11452
|
foreign key (IDENTIFIERS_ID)
|
11453
|
references PUBLIC.IDENTIFIER;
|
11454
|
|
11455
|
alter table PUBLIC.TAXONBASE_IDENTIFIER
|
11456
|
add constraint FKtcq6hm7r8vsks26faxrtn01kh
|
11457
|
foreign key (TAXONBASE_ID)
|
11458
|
references PUBLIC.TAXONBASE;
|
11459
|
|
11460
|
alter table PUBLIC.TAXONBASE_IDENTIFIER_AUD
|
11461
|
add constraint FKfctd6kjb879586anp999cqnk8
|
11462
|
foreign key (REV)
|
11463
|
references PUBLIC.AUDITEVENT;
|
11464
|
|
11465
|
alter table PUBLIC.TAXONBASE_MARKER
|
11466
|
add constraint FKo27fuvg9uqjd3u44gw8sclnw9
|
11467
|
foreign key (MARKERS_ID)
|
11468
|
references PUBLIC.MARKER;
|
11469
|
|
11470
|
alter table PUBLIC.TAXONBASE_MARKER
|
11471
|
add constraint FK9fmioaxquhwmatvjxqdkot30
|
11472
|
foreign key (TAXONBASE_ID)
|
11473
|
references PUBLIC.TAXONBASE;
|
11474
|
|
11475
|
alter table PUBLIC.TAXONBASE_MARKER_AUD
|
11476
|
add constraint FKoer1bt0sdtyjjbrsgocaslx8i
|
11477
|
foreign key (REV)
|
11478
|
references PUBLIC.AUDITEVENT;
|
11479
|
|
11480
|
alter table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE
|
11481
|
add constraint FKe6vcgb7oe3mt7bvr8ptesgm24
|
11482
|
foreign key (SOURCES_ID)
|
11483
|
references PUBLIC.ORIGINALSOURCEBASE;
|
11484
|
|
11485
|
alter table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE
|
11486
|
add constraint FKnvktpy7bsyv2cer8rlbvu16v3
|
11487
|
foreign key (TAXONBASE_ID)
|
11488
|
references PUBLIC.TAXONBASE;
|
11489
|
|
11490
|
alter table PUBLIC.TAXONBASE_ORIGINALSOURCEBASE_AUD
|
11491
|
add constraint FKnm0brhfys7l0r88itq9tj2hkw
|
11492
|
foreign key (REV)
|
11493
|
references PUBLIC.AUDITEVENT;
|
11494
|
|
11495
|
alter table PUBLIC.TAXONBASE_RIGHTSINFO
|
11496
|
add constraint FK23x5e78tp2r38o2waxfi9gbfm
|
11497
|
foreign key (RIGHTS_ID)
|
11498
|
references PUBLIC.RIGHTSINFO;
|
11499
|
|
11500
|
alter table PUBLIC.TAXONBASE_RIGHTSINFO
|
11501
|
add constraint FKtn2nf1enlyoxgogjirt7tw3nb
|
11502
|
foreign key (TAXONBASE_ID)
|
11503
|
references PUBLIC.TAXONBASE;
|
11504
|
|
11505
|
alter table PUBLIC.TAXONBASE_RIGHTSINFO_AUD
|
11506
|
add constraint FKpxf4ey5xxw6y7qh7pu8vvoepq
|
11507
|
foreign key (REV)
|
11508
|
references PUBLIC.AUDITEVENT;
|
11509
|
|
11510
|
alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING
|
11511
|
add constraint FK6u2shidpvc91ag089bhn60u9x
|
11512
|
foreign key (DESCRIPTION_ID)
|
11513
|
references PUBLIC.LANGUAGESTRING;
|
11514
|
|
11515
|
alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING
|
11516
|
add constraint FKktaac9r7bwku1uxh30lo53ikh
|
11517
|
foreign key (DESCRIPTION_MAPKEY_ID)
|
11518
|
references PUBLIC.DEFINEDTERMBASE;
|
11519
|
|
11520
|
alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING
|
11521
|
add constraint FKsor7xv3u2h255t5cdaigyebx
|
11522
|
foreign key (TAXONINTERACTION_ID)
|
11523
|
references PUBLIC.DESCRIPTIONELEMENTBASE;
|
11524
|
|
11525
|
alter table PUBLIC.TAXONINTERACTION_LANGUAGESTRING_AUD
|
11526
|
add constraint FKoo7cc7p18vnge6qap5uclg4ei
|
11527
|
foreign key (REV)
|
11528
|
references PUBLIC.AUDITEVENT;
|
11529
|
|
11530
|
alter table PUBLIC.TAXONNAME
|
11531
|
add constraint FKo2cwlkm537eb9wihrvw38rpua
|
11532
|
foreign key (CREATEDBY_ID)
|
11533
|
references PUBLIC.USERACCOUNT;
|
11534
|
|
11535
|
alter table PUBLIC.TAXONNAME
|
11536
|
add constraint FKlkrsn2rawg5awi4jc3b07edbo
|
11537
|
foreign key (UPDATEDBY_ID)
|
11538
|
references PUBLIC.USERACCOUNT;
|
11539
|
|
11540
|
alter table PUBLIC.TAXONNAME
|
11541
|
add constraint FK2sjx76h0y3wqdixn18ela746u
|
11542
|
foreign key (BASIONYMAUTHORSHIP_ID)
|
11543
|
references PUBLIC.AGENTBASE;
|
11544
|
|
11545
|
alter table PUBLIC.TAXONNAME
|
11546
|
add constraint FKd2dosvsh6ubi0ililt10athdk
|
11547
|
foreign key (COMBINATIONAUTHORSHIP_ID)
|
11548
|
references PUBLIC.AGENTBASE;
|
11549
|
|
11550
|
alter table PUBLIC.TAXONNAME
|
11551
|
add constraint FKptpdkru82lfkn547v51jhr51x
|
11552
|
foreign key (EXBASIONYMAUTHORSHIP_ID)
|
11553
|
references PUBLIC.AGENTBASE;
|
11554
|
|
11555
|
alter table PUBLIC.TAXONNAME
|
11556
|
add constraint FKjs5ew08b5dk3ulh1c0l6vr96v
|
11557
|
foreign key (EXCOMBINATIONAUTHORSHIP_ID)
|
11558
|
references PUBLIC.AGENTBASE;
|
11559
|
|
11560
|
alter table PUBLIC.TAXONNAME
|
11561
|
add constraint FKhrqcvvtso894fytm250g26pt5
|
11562
|
foreign key (HOMOTYPICALGROUP_ID)
|
11563
|
references PUBLIC.HOMOTYPICALGROUP;
|
11564
|
|
11565
|
alter table PUBLIC.TAXONNAME
|
11566
|
add constraint FKph6jeipm0w5kp5kmdxcmr3ipu
|
11567
|
foreign key (INBASIONYMAUTHORSHIP_ID)
|
11568
|
references PUBLIC.AGENTBASE;
|
11569
|
|
11570
|
alter table PUBLIC.TAXONNAME
|
11571
|
add constraint FKhx788pclwci5ly3drr3ldx752
|
11572
|
foreign key (INCOMBINATIONAUTHORSHIP_ID)
|
11573
|
references PUBLIC.AGENTBASE;
|
11574
|
|
11575
|
alter table PUBLIC.TAXONNAME
|
11576
|
add constraint FKbahuh06c80i1imdnymk5kb6ry
|
11577
|
foreign key (RANK_ID)
|
11578
|
references PUBLIC.DEFINEDTERMBASE;
|
11579
|
|
11580
|
alter table PUBLIC.TAXONNAME_ANNOTATION
|
11581
|
add constraint FK52676mptrpdlp3c1hfb161u1k
|
11582
|
foreign key (ANNOTATIONS_ID)
|
11583
|
references PUBLIC.ANNOTATION;
|
11584
|
|
11585
|
alter table PUBLIC.TAXONNAME_ANNOTATION
|
11586
|
add constraint FKl6qljl6bu53xs2gajy5u1a3ec
|
11587
|
foreign key (TAXONNAME_ID)
|
11588
|
references PUBLIC.TAXONNAME;
|
11589
|
|
11590
|
alter table PUBLIC.TAXONNAME_ANNOTATION_AUD
|
11591
|
add constraint FKf7jb5p4p7bqb2rq3eosc4xfbk
|
11592
|
foreign key (REV)
|
11593
|
references PUBLIC.AUDITEVENT;
|
11594
|
|
11595
|
alter table PUBLIC.TAXONNAME_AUD
|
11596
|
add constraint FK1p0uuulv1dildayhclrbbwhed
|
11597
|
foreign key (REV)
|
11598
|
references PUBLIC.AUDITEVENT;
|
11599
|
|
11600
|
alter table PUBLIC.TAXONNAME_CREDIT
|
11601
|
add constraint FKjuewongimk28k8y119ibcqh7e
|
11602
|
foreign key (CREDITS_ID)
|
11603
|
references PUBLIC.CREDIT;
|
11604
|
|
11605
|
alter table PUBLIC.TAXONNAME_CREDIT
|
11606
|
add constraint FKihjn3x3b8h2tk11tpkfmhh3mv
|
11607
|
foreign key (TAXONNAME_ID)
|
11608
|
references PUBLIC.TAXONNAME;
|
11609
|
|
11610
|
alter table PUBLIC.TAXONNAME_CREDIT_AUD
|
11611
|
add constraint FK3bb8eocnsiryancl5lo8ohsv5
|
11612
|
foreign key (REV)
|
11613
|
references PUBLIC.AUDITEVENT;
|
11614
|
|
11615
|
alter table PUBLIC.TAXONNAME_EXTENSION
|
11616
|
add constraint FKdascshin34odi22fhscxyuv75
|
11617
|
foreign key (EXTENSIONS_ID)
|
11618
|
references PUBLIC.EXTENSION;
|
11619
|
|
11620
|
alter table PUBLIC.TAXONNAME_EXTENSION
|
11621
|
add constraint FKie0mwji8vo57flnyjwqktsso3
|
11622
|
foreign key (TAXONNAME_ID)
|
11623
|
references PUBLIC.TAXONNAME;
|
11624
|
|
11625
|
alter table PUBLIC.TAXONNAME_EXTENSION_AUD
|
11626
|
add constraint FK917u1k5ecr1jtlo2hfus3khsm
|
11627
|
foreign key (REV)
|
11628
|
references PUBLIC.AUDITEVENT;
|
11629
|
|
11630
|
alter table PUBLIC.TAXONNAME_EXTERNALLINK
|
11631
|
add constraint FKfsx1qkh7ogvjy6ispynrf5erg
|
11632
|
foreign key (LINKS_ID)
|
11633
|
references PUBLIC.EXTERNALLINK;
|
11634
|
|
11635
|
alter table PUBLIC.TAXONNAME_EXTERNALLINK
|
11636
|
add constraint FKflrjtyre2p4cc6eroew7a86lj
|
11637
|
foreign key (TAXONNAME_ID)
|
11638
|
references PUBLIC.TAXONNAME;
|
11639
|
|
11640
|
alter table PUBLIC.TAXONNAME_EXTERNALLINK_AUD
|
11641
|
add constraint FK7fnjwb6la51g69y3phxlaw434
|
11642
|
foreign key (REV)
|
11643
|
references PUBLIC.AUDITEVENT;
|
11644
|
|
11645
|
alter table PUBLIC.TAXONNAME_IDENTIFIER
|
11646
|
add constraint FK6lqfw0i3uyw4fke98r8vbd9pg
|
11647
|
foreign key (IDENTIFIERS_ID)
|
11648
|
references PUBLIC.IDENTIFIER;
|
11649
|
|
11650
|
alter table PUBLIC.TAXONNAME_IDENTIFIER
|
11651
|
add constraint FKcvb9143iucu6pc19vgiciqpxe
|
11652
|
foreign key (TAXONNAME_ID)
|
11653
|
references PUBLIC.TAXONNAME;
|
11654
|
|
11655
|
alter table PUBLIC.TAXONNAME_IDENTIFIER_AUD
|
11656
|
add constraint FK5v1saem2mfx9aoc7pedtapcop
|
11657
|
foreign key (REV)
|
11658
|
references PUBLIC.AUDITEVENT;
|
11659
|
|
11660
|
alter table PUBLIC.TAXONNAME_MARKER
|
11661
|
add constraint FKcpcubgh82gu0b33odoby2gs3h
|
11662
|
foreign key (MARKERS_ID)
|
11663
|
references PUBLIC.MARKER;
|
11664
|
|
11665
|
alter table PUBLIC.TAXONNAME_MARKER
|
11666
|
add constraint FK6h1r291anpye1ia0ugncc2o1g
|
11667
|
foreign key (TAXONNAME_ID)
|
11668
|
references PUBLIC.TAXONNAME;
|
11669
|
|
11670
|
alter table PUBLIC.TAXONNAME_MARKER_AUD
|
11671
|
add constraint FKr5gxo6kqahpthg6dbpjw4c8i1
|
11672
|
foreign key (REV)
|
11673
|
references PUBLIC.AUDITEVENT;
|
11674
|
|
11675
|
alter table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE
|
11676
|
add constraint FKatcgkx7a4x7gvgyrc7b8jpfct
|
11677
|
foreign key (SOURCES_ID)
|
11678
|
references PUBLIC.ORIGINALSOURCEBASE;
|
11679
|
|
11680
|
alter table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE
|
11681
|
add constraint FKhtktfu8057714w5f4uvuvas02
|
11682
|
foreign key (TAXONNAME_ID)
|
11683
|
references PUBLIC.TAXONNAME;
|
11684
|
|
11685
|
alter table PUBLIC.TAXONNAME_ORIGINALSOURCEBASE_AUD
|
11686
|
add constraint FK2dhsgp3nnnlfmhruqcqpkaxt
|
11687
|
foreign key (REV)
|
11688
|
references PUBLIC.AUDITEVENT;
|
11689
|
|
11690
|
alter table PUBLIC.TAXONNAME_RIGHTSINFO
|
11691
|
add constraint FKcpif7qgvvwrorw1qnk9ej8hke
|
11692
|
foreign key (RIGHTS_ID)
|
11693
|
references PUBLIC.RIGHTSINFO;
|
11694
|
|
11695
|
alter table PUBLIC.TAXONNAME_RIGHTSINFO
|
11696
|
add constraint FKimuoyov7xskb3rxmm6uds0rh0
|
11697
|
foreign key (TAXONNAME_ID)
|
11698
|
references PUBLIC.TAXONNAME;
|
11699
|
|
11700
|
alter table PUBLIC.TAXONNAME_RIGHTSINFO_AUD
|
11701
|
add constraint FKtlflrr5ss7c4st2qvvhgx9jsj
|
11702
|
foreign key (REV)
|
11703
|
references PUBLIC.AUDITEVENT;
|
11704
|
|
11705
|
alter table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE
|
11706
|
add constraint FKq1qu4q4sjf2k0a3jq4du0q069
|
11707
|
foreign key (TYPEDESIGNATIONS_ID)
|
11708
|
references PUBLIC.TYPEDESIGNATIONBASE;
|
11709
|
|
11710
|
alter table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE
|
11711
|
add constraint FKb3cwqwapqfgd46x5rujbaa49t
|
11712
|
foreign key (TAXONNAME_ID)
|
11713
|
references PUBLIC.TAXONNAME;
|
11714
|
|
11715
|
alter table PUBLIC.TAXONNAME_TYPEDESIGNATIONBASE_AUD
|
11716
|
add constraint FK4hd7nen1ggxvhpsbo6uxxb9g2
|
11717
|
foreign key (REV)
|
11718
|
references PUBLIC.AUDITEVENT;
|
11719
|
|
11720
|
alter table PUBLIC.TAXONNODE
|
11721
|
add constraint FKerha5hosjn230j5tkihmlyxpu
|
11722
|
foreign key (CREATEDBY_ID)
|
11723
|
references PUBLIC.USERACCOUNT;
|
11724
|
|
11725
|
alter table PUBLIC.TAXONNODE
|
11726
|
add constraint FKln5utuql4pv2t5qrricn8f66k
|
11727
|
foreign key (UPDATEDBY_ID)
|
11728
|
references PUBLIC.USERACCOUNT;
|
11729
|
|
11730
|
alter table PUBLIC.TAXONNODE
|
11731
|
add constraint FK8lt9bn87l429c2n4xdevmes2c
|
11732
|
foreign key (SOURCE_ID)
|
11733
|
references PUBLIC.ORIGINALSOURCEBASE;
|
11734
|
|
11735
|
alter table PUBLIC.TAXONNODE
|
11736
|
add constraint FK2tafcx24juooel6j69au9qkll
|
11737
|
foreign key (CLASSIFICATION_ID)
|
11738
|
references PUBLIC.CLASSIFICATION;
|
11739
|
|
11740
|
alter table PUBLIC.TAXONNODE
|
11741
|
add constraint FKa54gfb7vj9xeh9o03jqp73y53
|
11742
|
foreign key (PARENT_ID)
|
11743
|
references PUBLIC.TAXONNODE;
|
11744
|
|
11745
|
alter table PUBLIC.TAXONNODE
|
11746
|
add constraint FKlavpp8ifuvhyl94hhy8l2n2cj
|
11747
|
foreign key (SYNONYMTOBEUSED_ID)
|
11748
|
references PUBLIC.TAXONBASE;
|
11749
|
|
11750
|
alter table PUBLIC.TAXONNODE
|
11751
|
add constraint FKa16r6unujb60uuts7qfs09gtw
|
11752
|
foreign key (TAXON_ID)
|
11753
|
references PUBLIC.TAXONBASE;
|
11754
|
|
11755
|
alter table PUBLIC.TAXONNODE_ANNOTATION
|
11756
|
add constraint FKoing7s7mmbm4htua66ut191af
|
11757
|
foreign key (ANNOTATIONS_ID)
|
11758
|
references PUBLIC.ANNOTATION;
|
11759
|
|
11760
|
alter table PUBLIC.TAXONNODE_ANNOTATION
|
11761
|
add constraint FKqi1ckpfq9v3hkg8uoqtioaunt
|
11762
|
foreign key (TAXONNODE_ID)
|
11763
|
references PUBLIC.TAXONNODE;
|
11764
|
|
11765
|
alter table PUBLIC.TAXONNODE_ANNOTATION_AUD
|
11766
|
add constraint FK6wuka1yh9vll2m9rruiiuvhwj
|
11767
|
foreign key (REV)
|
11768
|
references PUBLIC.AUDITEVENT;
|
11769
|
|
11770
|
alter table PUBLIC.TAXONNODE_AUD
|
11771
|
add constraint FKli7tspptmab66v0bfril7s9vf
|
11772
|
foreign key (REV)
|
11773
|
references PUBLIC.AUDITEVENT;
|
11774
|
|
11775
|
alter table PUBLIC.TAXONNODE_MARKER
|
11776
|
add constraint FKgv9le5gyw6pky73oo64ndmlbb
|
11777
|
foreign key (MARKERS_ID)
|
11778
|
references PUBLIC.MARKER;
|
11779
|
|
11780
|
alter table PUBLIC.TAXONNODE_MARKER
|
11781
|
add constraint FKqu2yt8ihh9gj7s2k3nmhe3ar0
|
11782
|
foreign key (TAXONNODE_ID)
|
11783
|
references PUBLIC.TAXONNODE;
|
11784
|
|
11785
|
alter table PUBLIC.TAXONNODE_MARKER_AUD
|
11786
|
add constraint FKo4vc2tjm3swe14d0fymh3col4
|
11787
|
foreign key (REV)
|
11788
|
references PUBLIC.AUDITEVENT;
|
11789
|
|
11790
|
alter table PUBLIC.TAXONNODE_STATUSNOTE
|
11791
|
add constraint FKovavy9oh5rq410x24rcd6ih2x
|
11792
|
foreign key (STATUSNOTE_ID)
|
11793
|
references PUBLIC.LANGUAGESTRING;
|
11794
|
|
11795
|
alter table PUBLIC.TAXONNODE_STATUSNOTE
|
11796
|
add constraint FKe0js781n46sqa0oaa5d80v8du
|
11797
|
foreign key (STATUSNOTE_KEY)
|
11798
|
references PUBLIC.DEFINEDTERMBASE;
|
11799
|
|
11800
|
alter table PUBLIC.TAXONNODE_STATUSNOTE
|
11801
|
add constraint FK7m4j4u786p6m66nun0qebgpj0
|
11802
|
foreign key (TAXONNODE_ID)
|
11803
|
references PUBLIC.TAXONNODE;
|
11804
|
|
11805
|
alter table PUBLIC.TAXONNODE_STATUSNOTE_AUD
|
11806
|
add constraint FKdex0umj7cyjl5i72lf3r5fad3
|
11807
|
foreign key (REV)
|
11808
|
references PUBLIC.AUDITEVENT;
|
11809
|
|
11810
|
alter table PUBLIC.TAXONNODEAGENTRELATION
|
11811
|
add constraint FKef1fikaawjlpf9hdu73eyuep
|
11812
|
foreign key (CREATEDBY_ID)
|
11813
|
references PUBLIC.USERACCOUNT;
|
11814
|
|
11815
|
alter table PUBLIC.TAXONNODEAGENTRELATION
|
11816
|
add constraint FK77n347xybbae2oi4mb7w3b5y8
|
11817
|
foreign key (UPDATEDBY_ID)
|
11818
|
references PUBLIC.USERACCOUNT;
|
11819
|
|
11820
|
alter table PUBLIC.TAXONNODEAGENTRELATION
|
11821
|
add constraint FKt5gd4wmcy4ysvbq3m5h8cqn7s
|
11822
|
foreign key (AGENT_ID)
|
11823
|
references PUBLIC.AGENTBASE;
|
11824
|
|
11825
|
alter table PUBLIC.TAXONNODEAGENTRELATION
|
11826
|
add constraint FK580jgjebyp8aah9fxmwt13l31
|
11827
|
foreign key (TAXONNODE_ID)
|
11828
|
references PUBLIC.TAXONNODE;
|
11829
|
|
11830
|
alter table PUBLIC.TAXONNODEAGENTRELATION
|
11831
|
add constraint FK17pkw6d981xl3emmguic5qqk3
|
11832
|
foreign key (TYPE_ID)
|
11833
|
references PUBLIC.DEFINEDTERMBASE;
|
11834
|
|
11835
|
alter table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION
|
11836
|
add constraint FKhv4gwa3xbu5x7xf292luf1lio
|
11837
|
foreign key (ANNOTATIONS_ID)
|
11838
|
references PUBLIC.ANNOTATION;
|
11839
|
|
11840
|
alter table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION
|
11841
|
add constraint FKcyd4qaguogw0bp6yyql5iyo6l
|
11842
|
foreign key (TAXONNODEAGENTRELATION_ID)
|
11843
|
references PUBLIC.TAXONNODEAGENTRELATION;
|
11844
|
|
11845
|
alter table PUBLIC.TAXONNODEAGENTRELATION_ANNOTATION_AUD
|
11846
|
add constraint FKeocr9locq094dihp4qrl1ly68
|
11847
|
foreign key (REV)
|
11848
|
references PUBLIC.AUDITEVENT;
|
11849
|
|
11850
|
alter table PUBLIC.TAXONNODEAGENTRELATION_AUD
|
11851
|
add constraint FKnxlk8kreg8hk51iw5ca6d3lbr
|
11852
|
foreign key (REV)
|
11853
|
references PUBLIC.AUDITEVENT;
|
11854
|
|
11855
|
alter table PUBLIC.TAXONNODEAGENTRELATION_MARKER
|
11856
|
add constraint FKjiqjcenantaw8qrjefkww1h
|
11857
|
foreign key (MARKERS_ID)
|
11858
|
references PUBLIC.MARKER;
|
11859
|
|
11860
|
alter table PUBLIC.TAXONNODEAGENTRELATION_MARKER
|
11861
|
add constraint FK3wl5v5oet5jptfy9kjxahy19o
|
11862
|
foreign key (TAXONNODEAGENTRELATION_ID)
|
11863
|
references PUBLIC.TAXONNODEAGENTRELATION;
|
11864
|
|
11865
|
alter table PUBLIC.TAXONNODEAGENTRELATION_MARKER_AUD
|
11866
|
add constraint FKf0j7wms8n1aqtxvplvjr5m3ua
|
11867
|
foreign key (REV)
|
11868
|
references PUBLIC.AUDITEVENT;
|
11869
|
|
11870
|
alter table PUBLIC.TAXONOMICOPERATION
|
11871
|
add constraint FK7t5emk9v22g8e48eb53920xqe
|
11872
|
foreign key (CREATEDBY_ID)
|
11873
|
references PUBLIC.USERACCOUNT;
|
11874
|
|
11875
|
alter table PUBLIC.TAXONOMICOPERATION
|
11876
|
add constraint FK5h0w03w9mce22o3npqn5r8om7
|
11877
|
foreign key (UPDATEDBY_ID)
|
11878
|
references PUBLIC.USERACCOUNT;
|
11879
|
|
11880
|
alter table PUBLIC.TAXONOMICOPERATION_AUD
|
11881
|
add constraint FKe602ow73x3ftc48iocl2nowwd
|
11882
|
foreign key (REV)
|
11883
|
references PUBLIC.AUDITEVENT;
|
11884
|
|
11885
|
alter table PUBLIC.TAXONRELATIONSHIP
|
11886
|
add constraint FK9lcbgeeg39b3ra1mp48aj1m7q
|
11887
|
foreign key (CREATEDBY_ID)
|
11888
|
references PUBLIC.USERACCOUNT;
|
11889
|
|
11890
|
alter table PUBLIC.TAXONRELATIONSHIP
|
11891
|
add constraint FKp91k2k1q2mp0cdim9j5imy26g
|
11892
|
foreign key (UPDATEDBY_ID)
|
11893
|
references PUBLIC.USERACCOUNT;
|
11894
|
|
11895
|
alter table PUBLIC.TAXONRELATIONSHIP
|
11896
|
add constraint FK9mc1pfc3587nqat1nfoor21ua
|
11897
|
foreign key (SOURCE_ID)
|
11898
|
references PUBLIC.ORIGINALSOURCEBASE;
|
11899
|
|
11900
|
alter table PUBLIC.TAXONRELATIONSHIP
|
11901
|
add constraint FKmw9m4goc8l3cuon5xhko7c448
|
11902
|
foreign key (OPERATION_ID)
|
11903
|
references PUBLIC.TAXONOMICOPERATION;
|
11904
|
|
11905
|
alter table PUBLIC.TAXONRELATIONSHIP
|
11906
|
add constraint FKnoga7ndd8m7xpddgy9cxevm7e
|
11907
|
foreign key (RELATEDFROM_ID)
|
11908
|
references PUBLIC.TAXONBASE;
|
11909
|
|
11910
|
alter table PUBLIC.TAXONRELATIONSHIP
|
11911
|
add constraint FK5ttsw6ejmqrgse9dhhfe6gp82
|
11912
|
foreign key (RELATEDTO_ID)
|
11913
|
references PUBLIC.TAXONBASE;
|
11914
|
|
11915
|
alter table PUBLIC.TAXONRELATIONSHIP
|
11916
|
add constraint FKu5pbdlkoyn92vprgxk7pvtid
|
11917
|
foreign key (TYPE_ID)
|
11918
|
references PUBLIC.DEFINEDTERMBASE;
|
11919
|
|
11920
|
alter table PUBLIC.TAXONRELATIONSHIP_ANNOTATION
|
11921
|
add constraint FK5ur14pxj5lutdb4ccblbb12f1
|
11922
|
foreign key (ANNOTATIONS_ID)
|
11923
|
references PUBLIC.ANNOTATION;
|
11924
|
|
11925
|
alter table PUBLIC.TAXONRELATIONSHIP_ANNOTATION
|
11926
|
add constraint FKeeynjf8nv8a8pm7xmnd56b4ei
|
11927
|
foreign key (TAXONRELATIONSHIP_ID)
|
11928
|
references PUBLIC.TAXONRELATIONSHIP;
|
11929
|
|
11930
|
alter table PUBLIC.TAXONRELATIONSHIP_ANNOTATION_AUD
|
11931
|
add constraint FKhljqn5feduxqm2jd2dkg81eq3
|
11932
|
foreign key (REV)
|
11933
|
references PUBLIC.AUDITEVENT;
|
11934
|
|
11935
|
alter table PUBLIC.TAXONRELATIONSHIP_AUD
|
11936
|
add constraint FK99rbmf513ul16r1pm96qwiaj4
|
11937
|
foreign key (REV)
|
11938
|
references PUBLIC.AUDITEVENT;
|
11939
|
|
11940
|
alter table PUBLIC.TAXONRELATIONSHIP_MARKER
|
11941
|
add constraint FK5tpugbwegk1ye1mue1tn73efm
|
11942
|
foreign key (MARKERS_ID)
|
11943
|
references PUBLIC.MARKER;
|
11944
|
|
11945
|
alter table PUBLIC.TAXONRELATIONSHIP_MARKER
|
11946
|
add constraint FKti548r926x8gk9nrd8h0ljk7v
|
11947
|
foreign key (TAXONRELATIONSHIP_ID)
|
11948
|
references PUBLIC.TAXONRELATIONSHIP;
|
11949
|
|
11950
|
alter table PUBLIC.TAXONRELATIONSHIP_MARKER_AUD
|
11951
|
add constraint FK49oydavfpd2r7mxvi9lux6wp5
|
11952
|
foreign key (REV)
|
11953
|
references PUBLIC.AUDITEVENT;
|
11954
|
|
11955
|
alter table PUBLIC.TERMCOLLECTION
|
11956
|
add constraint FK97e33exwkh4yj3ti30wxo7jlh
|
11957
|
foreign key (CREATEDBY_ID)
|
11958
|
references PUBLIC.USERACCOUNT;
|
11959
|
|
11960
|
alter table PUBLIC.TERMCOLLECTION
|
11961
|
add constraint FKar1q94uqiixepd4dpj6685tg5
|
11962
|
foreign key (UPDATEDBY_ID)
|
11963
|
references PUBLIC.USERACCOUNT;
|
11964
|
|
11965
|
alter table PUBLIC.TERMCOLLECTION
|
11966
|
add constraint FKhlfosc4qbn5iwx63x34v03pbq
|
11967
|
foreign key (ROOT_ID)
|
11968
|
references PUBLIC.TERMRELATION;
|
11969
|
|
11970
|
alter table PUBLIC.TERMCOLLECTION_ANNOTATION
|
11971
|
add constraint FK18xce2uqfews7q436xni4ned4
|
11972
|
foreign key (ANNOTATIONS_ID)
|
11973
|
references PUBLIC.ANNOTATION;
|
11974
|
|
11975
|
alter table PUBLIC.TERMCOLLECTION_ANNOTATION
|
11976
|
add constraint FKcjr9uri91h3k1r44v3uvaswcy
|
11977
|
foreign key (TERMCOLLECTION_ID)
|
11978
|
references PUBLIC.TERMCOLLECTION;
|
11979
|
|
11980
|
alter table PUBLIC.TERMCOLLECTION_ANNOTATION_AUD
|
11981
|
add constraint FK4mgiqitsu6gb4sofau2gua8n
|
11982
|
foreign key (REV)
|
11983
|
references PUBLIC.AUDITEVENT;
|
11984
|
|
11985
|
alter table PUBLIC.TERMCOLLECTION_AUD
|
11986
|
add constraint FK5l0eeogy8faea1qvvalln729b
|
11987
|
foreign key (REV)
|
11988
|
references PUBLIC.AUDITEVENT;
|
11989
|
|
11990
|
alter table PUBLIC.TERMCOLLECTION_CREDIT
|
11991
|
add constraint FKncuuqwngtc0bu15vbwnh5t09j
|
11992
|
foreign key (CREDITS_ID)
|
11993
|
references PUBLIC.CREDIT;
|
11994
|
|
11995
|
alter table PUBLIC.TERMCOLLECTION_CREDIT
|
11996
|
add constraint FK85an6abcb2i7eenflarrh4pfg
|
11997
|
foreign key (TERMCOLLECTION_ID)
|
11998
|
references PUBLIC.TERMCOLLECTION;
|
11999
|
|
12000
|
alter table PUBLIC.TERMCOLLECTION_CREDIT_AUD
|
12001
|
add constraint FKq0vnlp0myngv1j9grtt45i42f
|
12002
|
foreign key (REV)
|
12003
|
references PUBLIC.AUDITEVENT;
|
12004
|
|
12005
|
alter table PUBLIC.TERMCOLLECTION_EXTENSION
|
12006
|
add constraint FK10sfxgsyyu0smlyvqkhfg64qy
|
12007
|
foreign key (EXTENSIONS_ID)
|
12008
|
references PUBLIC.EXTENSION;
|
12009
|
|
12010
|
alter table PUBLIC.TERMCOLLECTION_EXTENSION
|
12011
|
add constraint FKf8gmby7pr8l391l66ocueng23
|
12012
|
foreign key (TERMCOLLECTION_ID)
|
12013
|
references PUBLIC.TERMCOLLECTION;
|
12014
|
|
12015
|
alter table PUBLIC.TERMCOLLECTION_EXTENSION_AUD
|
12016
|
add constraint FK12ccxp2smxo0pav8i0cryipji
|
12017
|
foreign key (REV)
|
12018
|
references PUBLIC.AUDITEVENT;
|
12019
|
|
12020
|
alter table PUBLIC.TERMCOLLECTION_EXTERNALLINK
|
12021
|
add constraint FKjl7oj9hovq9yc1xeoav3ulcf2
|
12022
|
foreign key (LINKS_ID)
|
12023
|
references PUBLIC.EXTERNALLINK;
|
12024
|
|
12025
|
alter table PUBLIC.TERMCOLLECTION_EXTERNALLINK
|
12026
|
add constraint FKly5ccvbyxa5a0j7dl507grabr
|
12027
|
foreign key (TERMCOLLECTION_ID)
|
12028
|
references PUBLIC.TERMCOLLECTION;
|
12029
|
|
12030
|
alter table PUBLIC.TERMCOLLECTION_EXTERNALLINK_AUD
|
12031
|
add constraint FKjo40va6qmkcxtcpialy945o5o
|
12032
|
foreign key (REV)
|
12033
|
references PUBLIC.AUDITEVENT;
|
12034
|
|
12035
|
alter table PUBLIC.TERMCOLLECTION_IDENTIFIER
|
12036
|
add constraint FK4p693y73ibkn9s5do28cfwvyv
|
12037
|
foreign key (IDENTIFIERS_ID)
|
12038
|
references PUBLIC.IDENTIFIER;
|
12039
|
|
12040
|
alter table PUBLIC.TERMCOLLECTION_IDENTIFIER
|
12041
|
add constraint FK8sbnyw6h30xybymoiq6brox6v
|
12042
|
foreign key (TERMCOLLECTION_ID)
|
12043
|
references PUBLIC.TERMCOLLECTION;
|
12044
|
|
12045
|
alter table PUBLIC.TERMCOLLECTION_IDENTIFIER_AUD
|
12046
|
add constraint FKlgp64os2odilsh3w0il578983
|
12047
|
foreign key (REV)
|
12048
|
references PUBLIC.AUDITEVENT;
|
12049
|
|
12050
|
alter table PUBLIC.TERMCOLLECTION_MARKER
|
12051
|
add constraint FKn8dome1s5h2omrngh9a1oc0wc
|
12052
|
foreign key (MARKERS_ID)
|
12053
|
references PUBLIC.MARKER;
|
12054
|
|
12055
|
alter table PUBLIC.TERMCOLLECTION_MARKER
|
12056
|
add constraint FKnw6sqeco5apvycjutg9at3teh
|
12057
|
foreign key (TERMCOLLECTION_ID)
|
12058
|
references PUBLIC.TERMCOLLECTION;
|
12059
|
|
12060
|
alter table PUBLIC.TERMCOLLECTION_MARKER_AUD
|
12061
|
add constraint FKox25hon1grdqgj23pco7d96l2
|
12062
|
foreign key (REV)
|
12063
|
references PUBLIC.AUDITEVENT;
|
12064
|
|
12065
|
alter table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE
|
12066
|
add constraint FKdb3r48nip68vynyj2sdgenqd0
|
12067
|
foreign key (SOURCES_ID)
|
12068
|
references PUBLIC.ORIGINALSOURCEBASE;
|
12069
|
|
12070
|
alter table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE
|
12071
|
add constraint FK4si4737c4rd0ub6hcfsnie2xn
|
12072
|
foreign key (TERMCOLLECTION_ID)
|
12073
|
references PUBLIC.TERMCOLLECTION;
|
12074
|
|
12075
|
alter table PUBLIC.TERMCOLLECTION_ORIGINALSOURCEBASE_AUD
|
12076
|
add constraint FKnylitqbywcxjdxk6uw5jjlwpu
|
12077
|
foreign key (REV)
|
12078
|
references PUBLIC.AUDITEVENT;
|
12079
|
|
12080
|
alter table PUBLIC.TERMCOLLECTION_REPRESENTATION
|
12081
|
add constraint FK1cnqt8ba1c1qj17pyy1ig7old
|
12082
|
foreign key (REPRESENTATIONS_ID)
|
12083
|
references PUBLIC.REPRESENTATION;
|
12084
|
|
12085
|
alter table PUBLIC.TERMCOLLECTION_REPRESENTATION
|
12086
|
add constraint FK2bej1mhf7emhhjajvjnfiwnim
|
12087
|
foreign key (TERMCOLLECTION_ID)
|
12088
|
references PUBLIC.TERMCOLLECTION;
|
12089
|
|
12090
|
alter table PUBLIC.TERMCOLLECTION_REPRESENTATION_AUD
|
12091
|
add constraint FK1o5steg7skx2dcnbny3frn5ib
|
12092
|
foreign key (REV)
|
12093
|
references PUBLIC.AUDITEVENT;
|
12094
|
|
12095
|
alter table PUBLIC.TERMCOLLECTION_RIGHTSINFO
|
12096
|
add constraint FK4tlx5e1qjprdlhf69agbsii1e
|
12097
|
foreign key (RIGHTS_ID)
|
12098
|
references PUBLIC.RIGHTSINFO;
|
12099
|
|
12100
|
alter table PUBLIC.TERMCOLLECTION_RIGHTSINFO
|
12101
|
add constraint FKb09oix3gohi42pwtogmvq2gq9
|
12102
|
foreign key (TERMCOLLECTION_ID)
|
12103
|
references PUBLIC.TERMCOLLECTION;
|
12104
|
|
12105
|
alter table PUBLIC.TERMCOLLECTION_RIGHTSINFO_AUD
|
12106
|
add constraint FK6d0xl73rl7gfetrdihg6ykq3g
|
12107
|
foreign key (REV)
|
12108
|
references PUBLIC.AUDITEVENT;
|
12109
|
|
12110
|
alter table PUBLIC.TERMNODE_INAPPLICABLEIF
|
12111
|
add constraint FKk926lwlecqu82nfii1kux07ls
|
12112
|
foreign key (INAPPLICABLEIF_ID)
|
12113
|
references PUBLIC.FEATURESTATE;
|
12114
|
|
12115
|
alter table PUBLIC.TERMNODE_INAPPLICABLEIF
|
12116
|
add constraint FK5pijaxqbenw47sk94yds6fvln
|
12117
|
foreign key (TERMNODE_ID)
|
12118
|
references PUBLIC.TERMRELATION;
|
12119
|
|
12120
|
alter table PUBLIC.TERMNODE_INAPPLICABLEIF_AUD
|
12121
|
add constraint FKkgabqs7s6y6d9fbfijobfd004
|
12122
|
foreign key (REV)
|
12123
|
references PUBLIC.AUDITEVENT;
|
12124
|
|
12125
|
alter table PUBLIC.TERMNODE_ONLYAPPLICABLEIF
|
12126
|
add constraint FKpu12b742pc943720dxgh0q7bd
|
12127
|
foreign key (ONLYAPPLICABLEIF_ID)
|
12128
|
references PUBLIC.FEATURESTATE;
|
12129
|
|
12130
|
alter table PUBLIC.TERMNODE_ONLYAPPLICABLEIF
|
12131
|
add constraint FK4c3b7m2dexnqroneboxk8mnn
|
12132
|
foreign key (TERMNODE_ID)
|
12133
|
references PUBLIC.TERMRELATION;
|
12134
|
|
12135
|
alter table PUBLIC.TERMNODE_ONLYAPPLICABLEIF_AUD
|
12136
|
add constraint FK1xxc8b81qlk0vcmktehqpc1mc
|
12137
|
foreign key (REV)
|
12138
|
references PUBLIC.AUDITEVENT;
|
12139
|
|
12140
|
alter table PUBLIC.TERMRELATION
|
12141
|
add constraint FKof5gnj4niqhndncr7446lmpwe
|
12142
|
foreign key (CREATEDBY_ID)
|
12143
|
references PUBLIC.USERACCOUNT;
|
12144
|
|
12145
|
alter table PUBLIC.TERMRELATION
|
12146
|
add constraint FKp2ywxy4n5p2h7q2625hd3h1p5
|
12147
|
foreign key (UPDATEDBY_ID)
|
12148
|
references PUBLIC.USERACCOUNT;
|
12149
|
|
12150
|
alter table PUBLIC.TERMRELATION
|
12151
|
add constraint FKncmm6nd1x2hm9tb65aw5n84vv
|
12152
|
foreign key (GRAPH_ID)
|
12153
|
references PUBLIC.TERMCOLLECTION;
|
12154
|
|
12155
|
alter table PUBLIC.TERMRELATION
|
12156
|
add constraint FKqp1vgstvurnu0cocnjhhgl4bh
|
12157
|
foreign key (TERM_ID)
|
12158
|
references PUBLIC.DEFINEDTERMBASE;
|
12159
|
|
12160
|
alter table PUBLIC.TERMRELATION
|
12161
|
add constraint FKnaek3br7nx8hd04ktkp4hqw0y
|
12162
|
foreign key (PARENT_ID)
|
12163
|
references PUBLIC.TERMRELATION;
|
12164
|
|
12165
|
alter table PUBLIC.TERMRELATION
|
12166
|
add constraint FK9abvp9k9phwwtyote6ephee2b
|
12167
|
foreign key (TOTERM_ID)
|
12168
|
references PUBLIC.DEFINEDTERMBASE;
|
12169
|
|
12170
|
alter table PUBLIC.TERMRELATION_AUD
|
12171
|
add constraint FK4m0v36codf3xi3dbbvd0hs92f
|
12172
|
foreign key (REV)
|
12173
|
references PUBLIC.AUDITEVENT;
|
12174
|
|
12175
|
alter table PUBLIC.TYPEDESIGNATIONBASE
|
12176
|
add constraint FK7o2nhy36rtahs5god0n72r25q
|
12177
|
foreign key (CREATEDBY_ID)
|
12178
|
references PUBLIC.USERACCOUNT;
|
12179
|
|
12180
|
alter table PUBLIC.TYPEDESIGNATIONBASE
|
12181
|
add constraint FKl734949swou8f4ilj0um66fpu
|
12182
|
foreign key (UPDATEDBY_ID)
|
12183
|
references PUBLIC.USERACCOUNT;
|
12184
|
|
12185
|
alter table PUBLIC.TYPEDESIGNATIONBASE
|
12186
|
add constraint FK2oom0tmb2aijdfecsbbso4t1o
|
12187
|
foreign key (DESIGNATIONSOURCE_ID)
|
12188
|
references PUBLIC.ORIGINALSOURCEBASE;
|
12189
|
|
12190
|
alter table PUBLIC.TYPEDESIGNATIONBASE
|
12191
|
add constraint FK83ne5t2bwqsr3wl4numc9an78
|
12192
|
foreign key (TYPESTATUS_ID)
|
12193
|
references PUBLIC.DEFINEDTERMBASE;
|
12194
|
|
12195
|
alter table PUBLIC.TYPEDESIGNATIONBASE
|
12196
|
add constraint FKaeubjria7oj98vrtwagxx48w6
|
12197
|
foreign key (TYPENAME_ID)
|
12198
|
references PUBLIC.TAXONNAME;
|
12199
|
|
12200
|
alter table PUBLIC.TYPEDESIGNATIONBASE
|
12201
|
add constraint FKcjj8pi2psmgcwyutqeguut09j
|
12202
|
foreign key (TYPESPECIMEN_ID)
|
12203
|
references PUBLIC.SPECIMENOROBSERVATIONBASE;
|
12204
|
|
12205
|
alter table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION
|
12206
|
add constraint FKm0ssp16eb0voj54vc5g9c3li9
|
12207
|
foreign key (ANNOTATIONS_ID)
|
12208
|
references PUBLIC.ANNOTATION;
|
12209
|
|
12210
|
alter table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION
|
12211
|
add constraint FKplpt8n2wx70gvrykyfcb1eqcu
|
12212
|
foreign key (TYPEDESIGNATIONBASE_ID)
|
12213
|
references PUBLIC.TYPEDESIGNATIONBASE;
|
12214
|
|
12215
|
alter table PUBLIC.TYPEDESIGNATIONBASE_ANNOTATION_AUD
|
12216
|
add constraint FK1ntwdaehw74l312ylk9iwjyjt
|
12217
|
foreign key (REV)
|
12218
|
references PUBLIC.AUDITEVENT;
|
12219
|
|
12220
|
alter table PUBLIC.TYPEDESIGNATIONBASE_AUD
|
12221
|
add constraint FK850v6u6phk3wm3bicanmh1rpf
|
12222
|
foreign key (REV)
|
12223
|
references PUBLIC.AUDITEVENT;
|
12224
|
|
12225
|
alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING
|
12226
|
add constraint FK23bib7ady0asgiirenboidnh2
|
12227
|
foreign key (TEXT_ID)
|
12228
|
references PUBLIC.LANGUAGESTRING;
|
12229
|
|
12230
|
alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING
|
12231
|
add constraint FK6hvbbon7qx7feg6qysdyx4vcr
|
12232
|
foreign key (TEXT_MAPKEY_ID)
|
12233
|
references PUBLIC.DEFINEDTERMBASE;
|
12234
|
|
12235
|
alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING
|
12236
|
add constraint FK9xpwcknyrdro1ydr63iydkwxe
|
12237
|
foreign key (TEXTUALTYPEDESIGNATION_ID)
|
12238
|
references PUBLIC.TYPEDESIGNATIONBASE;
|
12239
|
|
12240
|
alter table PUBLIC.TYPEDESIGNATIONBASE_LANGUAGESTRING_AUD
|
12241
|
add constraint FK8lw7o4qugploisxhhbjd79dti
|
12242
|
foreign key (REV)
|
12243
|
references PUBLIC.AUDITEVENT;
|
12244
|
|
12245
|
alter table PUBLIC.TYPEDESIGNATIONBASE_MARKER
|
12246
|
add constraint FK4bqdum5okm8836sd6ubn7jto8
|
12247
|
foreign key (MARKERS_ID)
|
12248
|
references PUBLIC.MARKER;
|
12249
|
|
12250
|
alter table PUBLIC.TYPEDESIGNATIONBASE_MARKER
|
12251
|
add constraint FK5nygmnt1ukf250ds4b3umayt1
|
12252
|
foreign key (TYPEDESIGNATIONBASE_ID)
|
12253
|
references PUBLIC.TYPEDESIGNATIONBASE;
|
12254
|
|
12255
|
alter table PUBLIC.TYPEDESIGNATIONBASE_MARKER_AUD
|
12256
|
add constraint FKahmbmaucvx86oqbvdn47j5y8x
|
12257
|
foreign key (REV)
|
12258
|
references PUBLIC.AUDITEVENT;
|
12259
|
|
12260
|
alter table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE
|
12261
|
add constraint FKjko1s1g3dc3h5ocyjy2ewt01s
|
12262
|
foreign key (SOURCES_ID)
|
12263
|
references PUBLIC.ORIGINALSOURCEBASE;
|
12264
|
|
12265
|
alter table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE
|
12266
|
add constraint FKso4pji9nd708uhqm378e68gai
|
12267
|
foreign key (TYPEDESIGNATIONBASE_ID)
|
12268
|
references PUBLIC.TYPEDESIGNATIONBASE;
|
12269
|
|
12270
|
alter table PUBLIC.TYPEDESIGNATIONBASE_ORIGINALSOURCEBASE_AUD
|
12271
|
add constraint FKinjyk3gvg7yfg7shyw438pogp
|
12272
|
foreign key (REV)
|
12273
|
references PUBLIC.AUDITEVENT;
|
12274
|
|
12275
|
alter table PUBLIC.USERACCOUNT
|
12276
|
add constraint FKa9kl5663hcb171ogijeske56e
|
12277
|
foreign key (CREATEDBY_ID)
|
12278
|
references PUBLIC.USERACCOUNT;
|
12279
|
|
12280
|
alter table PUBLIC.USERACCOUNT
|
12281
|
add constraint FKamgljgn6mrhquydc8fiega4n6
|
12282
|
foreign key (PERSON_ID)
|
12283
|
references PUBLIC.AGENTBASE;
|
12284
|
|
12285
|
alter table PUBLIC.USERACCOUNT_AUD
|
12286
|
add constraint FKpcwm0805ykgp022g8yqpl1mpb
|
12287
|
foreign key (REV)
|
12288
|
references PUBLIC.AUDITEVENT;
|
12289
|
|
12290
|
alter table PUBLIC.USERACCOUNT_AUTHORITY
|
12291
|
add constraint FKrr6d7vgu0nwtvqvb9kqm5ictx
|
12292
|
foreign key (AUTHORITIES_ID)
|
12293
|
references PUBLIC.AUTHORITY;
|
12294
|
|
12295
|
alter table PUBLIC.USERACCOUNT_AUTHORITY
|
12296
|
add constraint FK6ea6hnk3xblhovqxg0lni8ofy
|
12297
|
foreign key (USER_ID)
|
12298
|
references PUBLIC.USERACCOUNT;
|
12299
|
|
12300
|
alter table PUBLIC.USERACCOUNT_GRANTEDAUTHORITYIMPL
|
12301
|
add constraint FK88rbwk94bejyp4b3wews8s70k
|
12302
|
foreign key (GRANTEDAUTHORITIES_ID)
|
12303
|
references PUBLIC.GRANTEDAUTHORITYIMPL;
|
12304
|
|
12305
|
alter table PUBLIC.USERACCOUNT_GRANTEDAUTHORITYIMPL
|
12306
|
add constraint FKp8cb178idv7eu1pdso1k7ns49
|
12307
|
foreign key (USER_ID)
|
12308
|
references PUBLIC.USERACCOUNT;
|
12309
|
|
12310
|
alter table PUBLIC.USERACCOUNT_PERMISSIONGROUP
|
12311
|
add constraint FKbjxmb9i1hclgew01kqugtj711
|
12312
|
foreign key (GROUPS_ID)
|
12313
|
references PUBLIC.PERMISSIONGROUP;
|
12314
|
|
12315
|
alter table PUBLIC.USERACCOUNT_PERMISSIONGROUP
|
12316
|
add constraint FKlt42h4kqm2ekw8y41980phxbx
|
12317
|
foreign key (MEMBERS_ID)
|
12318
|
references PUBLIC.USERACCOUNT;
|