2 create table Category_Category (
3 Category_id varchar(191) not null,
4 Category_nodeType integer not null,
5 Category_source VARCHAR(191) not null,
6 parents_id varchar(191) not null,
7 parents_nodeType integer not null,
8 parents_source VARCHAR(191) not null
11 create table Custom_Category (
12 Custom_id varchar(191) not null,
13 Custom_nodeType integer not null,
14 Custom_source VARCHAR(191) not null,
15 categories_id varchar(191) not null,
16 categories_nodeType integer not null,
17 categories_source VARCHAR(191) not null
20 create table Custom_contributors (
21 Custom_id varchar(191) not null,
22 Custom_nodeType integer not null,
23 Custom_source VARCHAR(191) not null,
24 contributor_id varchar(191),
25 contributor_nodeType integer,
26 contributor_source VARCHAR(191),
31 create table Custom_emails (
32 Custom_id varchar(191) not null,
33 Custom_nodeType integer not null,
34 Custom_source VARCHAR(191) not null,
37 icon_nodeType integer,
38 icon_source VARCHAR(191),
43 create table Custom_links (
44 Custom_id varchar(191) not null,
45 Custom_nodeType integer not null,
46 Custom_source VARCHAR(191) not null,
49 icon_nodeType integer,
50 icon_source VARCHAR(191),
55 create table Custom_numbers (
56 Custom_id varchar(191) not null,
57 Custom_nodeType integer not null,
58 Custom_source VARCHAR(191) not null,
61 icon_nodeType integer,
62 icon_source VARCHAR(191),
67 create table Date_contributors (
68 Date_id varchar(191) not null,
69 Date_nodeType integer not null,
70 Date_source VARCHAR(191) not null,
71 contributor_id varchar(191),
72 contributor_nodeType integer,
73 contributor_source VARCHAR(191),
78 create table Date_emails (
79 Date_id varchar(191) not null,
80 Date_nodeType integer not null,
81 Date_source VARCHAR(191) not null,
84 icon_nodeType integer,
85 icon_source VARCHAR(191),
90 create table Date_links (
91 Date_id varchar(191) not null,
92 Date_nodeType integer not null,
93 Date_source VARCHAR(191) not null,
96 icon_nodeType integer,
97 icon_source VARCHAR(191),
102 create table Date_numbers (
103 Date_id varchar(191) not null,
104 Date_nodeType integer not null,
105 Date_source VARCHAR(191) not null,
107 icon_id varchar(191),
108 icon_nodeType integer,
109 icon_source VARCHAR(191),
114 create table Date_types (
115 Date_id varchar(191) not null,
116 Date_nodeType integer not null,
117 Date_source VARCHAR(191) not null,
121 create table Event_Category (
122 Event_id varchar(191) not null,
123 Event_nodeType integer not null,
124 Event_source VARCHAR(191) not null,
125 categories_id varchar(191) not null,
126 categories_nodeType integer not null,
127 categories_source VARCHAR(191) not null
130 create table Event_contributors (
131 Event_id varchar(191) not null,
132 Event_nodeType integer not null,
133 Event_source VARCHAR(191) not null,
134 contributor_id varchar(191),
135 contributor_nodeType integer,
136 contributor_source VARCHAR(191),
141 create table Event_emails (
142 Event_id varchar(191) not null,
143 Event_nodeType integer not null,
144 Event_source VARCHAR(191) not null,
146 icon_id varchar(191),
147 icon_nodeType integer,
148 icon_source VARCHAR(191),
153 create table Event_links (
154 Event_id varchar(191) not null,
155 Event_nodeType integer not null,
156 Event_source VARCHAR(191) not null,
158 icon_id varchar(191),
159 icon_nodeType integer,
160 icon_source VARCHAR(191),
165 create table Event_numbers (
166 Event_id varchar(191) not null,
167 Event_nodeType integer not null,
168 Event_source VARCHAR(191) not null,
170 icon_id varchar(191),
171 icon_nodeType integer,
172 icon_source VARCHAR(191),
177 create table EventInfo_Group (
178 nodeId varchar(191) not null,
179 nodeType integer not null,
180 source VARCHAR(191) not null,
181 groups_id varchar(191) not null,
182 groups_nodeType integer not null,
183 groups_source VARCHAR(191) not null
186 create table Exhibition_contributors (
187 Exhibition_id varchar(191) not null,
188 Exhibition_nodeType integer not null,
189 Exhibition_source VARCHAR(191) not null,
190 contributor_id varchar(191),
191 contributor_nodeType integer,
192 contributor_source VARCHAR(191),
197 create table Exhibition_emails (
198 Exhibition_id varchar(191) not null,
199 Exhibition_nodeType integer not null,
200 Exhibition_source VARCHAR(191) not null,
202 icon_id varchar(191),
203 icon_nodeType integer,
204 icon_source VARCHAR(191),
209 create table Exhibition_hours (
210 Exhibition_id varchar(191) not null,
211 Exhibition_nodeType integer not null,
212 Exhibition_source VARCHAR(191) not null,
219 create table Exhibition_links (
220 Exhibition_id varchar(191) not null,
221 Exhibition_nodeType integer not null,
222 Exhibition_source VARCHAR(191) not null,
224 icon_id varchar(191),
225 icon_nodeType integer,
226 icon_source VARCHAR(191),
231 create table Exhibition_numbers (
232 Exhibition_id varchar(191) not null,
233 Exhibition_nodeType integer not null,
234 Exhibition_source VARCHAR(191) not null,
236 icon_id varchar(191),
237 icon_nodeType integer,
238 icon_source VARCHAR(191),
243 create table Group_contributors (
244 Group_id varchar(191) not null,
245 Group_nodeType integer not null,
246 Group_source VARCHAR(191) not null,
247 contributor_id varchar(191),
248 contributor_nodeType integer,
249 contributor_source VARCHAR(191),
254 create table Group_emails (
255 Group_id varchar(191) not null,
256 Group_nodeType integer not null,
257 Group_source VARCHAR(191) not null,
259 icon_id varchar(191),
260 icon_nodeType integer,
261 icon_source VARCHAR(191),
266 create table Group_links (
267 Group_id varchar(191) not null,
268 Group_nodeType integer not null,
269 Group_source VARCHAR(191) not null,
271 icon_id varchar(191),
272 icon_nodeType integer,
273 icon_source VARCHAR(191),
278 create table Group_numbers (
279 Group_id varchar(191) not null,
280 Group_nodeType integer not null,
281 Group_source VARCHAR(191) not null,
283 icon_id varchar(191),
284 icon_nodeType integer,
285 icon_source VARCHAR(191),
290 create table LegalPerson_Category (
291 LegalPerson_id varchar(191) not null,
292 LegalPerson_nodeType integer not null,
293 LegalPerson_source VARCHAR(191) not null,
294 categories_id varchar(191) not null,
295 categories_nodeType integer not null,
296 categories_source VARCHAR(191) not null
299 create table LegalPerson_emails (
300 LegalPerson_id varchar(191) not null,
301 LegalPerson_nodeType integer not null,
302 LegalPerson_source VARCHAR(191) not null,
304 icon_id varchar(191),
305 icon_nodeType integer,
306 icon_source VARCHAR(191),
311 create table LegalPerson_links (
312 LegalPerson_id varchar(191) not null,
313 LegalPerson_nodeType integer not null,
314 LegalPerson_source VARCHAR(191) not null,
316 icon_id varchar(191),
317 icon_nodeType integer,
318 icon_source VARCHAR(191),
323 create table LegalPerson_numbers (
324 LegalPerson_id varchar(191) not null,
325 LegalPerson_nodeType integer not null,
326 LegalPerson_source VARCHAR(191) not null,
328 icon_id varchar(191),
329 icon_nodeType integer,
330 icon_source VARCHAR(191),
335 create table Location_Category (
336 Location_id varchar(191) not null,
337 Location_nodeType integer not null,
338 Location_source VARCHAR(191) not null,
339 categories_id varchar(191) not null,
340 categories_nodeType integer not null,
341 categories_source VARCHAR(191) not null
344 create table Location_emails (
345 Location_id varchar(191) not null,
346 Location_nodeType integer not null,
347 Location_source VARCHAR(191) not null,
349 icon_id varchar(191),
350 icon_nodeType integer,
351 icon_source VARCHAR(191),
356 create table Location_hours (
357 Location_id varchar(191) not null,
358 Location_nodeType integer not null,
359 Location_source VARCHAR(191) not null,
366 create table Location_links (
367 Location_id varchar(191) not null,
368 Location_nodeType integer not null,
369 Location_source VARCHAR(191) not null,
371 icon_id varchar(191),
372 icon_nodeType integer,
373 icon_source VARCHAR(191),
378 create table Location_numbers (
379 Location_id varchar(191) not null,
380 Location_nodeType integer not null,
381 Location_source VARCHAR(191) not null,
383 icon_id varchar(191),
384 icon_nodeType integer,
385 icon_source VARCHAR(191),
391 DTYPE integer not null,
392 id varchar(191) not null,
393 nodeType integer not null,
394 source VARCHAR(191) not null,
402 copyright varchar(255),
407 mediaType varchar(255),
409 teaser varchar(1023),
419 postalCode varchar(31),
421 firstName varchar(255),
422 lastName varchar(255),
427 generator varchar(255),
430 photographer_id varchar(191),
431 photographer_nodeType integer,
432 photographer_source VARCHAR(191),
433 country_id varchar(191),
434 country_nodeType integer,
435 country_source VARCHAR(191),
436 state_id varchar(191),
437 state_nodeType integer,
438 state_source VARCHAR(191),
439 city_id varchar(191),
440 city_nodeType integer,
441 city_source VARCHAR(191),
442 district_id varchar(191),
443 district_nodeType integer,
444 district_source VARCHAR(191),
445 parent_id varchar(191),
446 parent_nodeType integer,
447 parent_source VARCHAR(191),
448 event_id varchar(191),
449 event_nodeType integer,
450 event_source VARCHAR(191),
451 location_id varchar(191),
452 location_nodeType integer,
453 location_source VARCHAR(191),
454 node_id varchar(191),
455 node_nodeType integer,
456 node_source VARCHAR(191),
457 subunit_id varchar(191),
458 subunit_nodeType integer,
459 subunit_source VARCHAR(191),
460 primary key (id, nodeType, source)
463 create table Node_features (
464 Node_id varchar(191) not null,
465 Node_nodeType integer not null,
466 Node_source VARCHAR(191) not null,
467 features varchar(255)
470 create table Node_fields (
471 Node_id varchar(191) not null,
472 Node_nodeType integer not null,
473 Node_source VARCHAR(191) not null,
475 fields_KEY varchar(255) not null,
476 primary key (Node_id, Node_nodeType, Node_source, fields_KEY)
479 create table Node_Media (
480 nodeId varchar(191) not null,
481 nodeType integer not null,
482 source VARCHAR(191) not null,
483 media_id varchar(191) not null,
484 media_nodeType integer not null,
485 media_source VARCHAR(191) not null
488 create table Node_Nodes (
489 Node_id varchar(191) not null,
490 Node_nodeType integer not null,
491 Node_source VARCHAR(191) not null,
492 nodes_dbid bigint not null,
493 nodes_KEY varchar(255) not null,
494 primary key (Node_id, Node_nodeType, Node_source, nodes_KEY)
498 dbid bigint generated by default as identity,
503 create table Nodes_Node (
504 Nodes_dbid bigint not null,
505 nodes_id varchar(191) not null,
506 nodes_nodeType integer not null,
507 nodes_source VARCHAR(191) not null
510 create table Organization_contributors (
511 Organization_id varchar(191) not null,
512 Organization_nodeType integer not null,
513 Organization_source VARCHAR(191) not null,
514 contributor_id varchar(191),
515 contributor_nodeType integer,
516 contributor_source VARCHAR(191),
521 create table Place_Region (
522 Place_id varchar(191) not null,
523 Place_nodeType integer not null,
524 Place_source VARCHAR(191) not null,
525 regions_id varchar(191) not null,
526 regions_nodeType integer not null,
527 regions_source VARCHAR(191) not null
531 dbid bigint generated by default as identity,
532 currency varchar(255),
542 create table Price_emails (
543 Price_dbid bigint not null,
545 icon_id varchar(191),
546 icon_nodeType integer,
547 icon_source VARCHAR(191),
552 create table Price_links (
553 Price_dbid bigint not null,
555 icon_id varchar(191),
556 icon_nodeType integer,
557 icon_source VARCHAR(191),
562 create table Price_numbers (
563 Price_dbid bigint not null,
565 icon_id varchar(191),
566 icon_nodeType integer,
567 icon_source VARCHAR(191),
572 create table Region_City (
573 Region_id varchar(191) not null,
574 Region_nodeType integer not null,
575 Region_source VARCHAR(191) not null,
576 cities_id varchar(191) not null,
577 cities_nodeType integer not null,
578 cities_source VARCHAR(191) not null
581 create table Source (
582 uri VARCHAR(191) not null,
587 create table Source_features (
588 Source_uri VARCHAR(191) not null,
589 features binary(255),
590 features_KEY varchar(255) not null,
591 primary key (Source_uri, features_KEY)
594 create table Source_types (
595 Source_uri VARCHAR(191) not null,
597 types_KEY varchar(255) not null,
598 primary key (Source_uri, types_KEY)
601 alter table Category_Category
602 add constraint UK_ed5lqxomulp7x8hcy3104lw7t unique (parents_id, parents_nodeType, parents_source);
605 add constraint uri unique (source, nodeType, id, locale, version);
607 alter table Category_Category
608 add constraint FKbtv4wjkjdxcopetysbong6ui6
609 foreign key (parents_id, parents_nodeType, parents_source)
612 alter table Category_Category
613 add constraint FKkvdv0b6eqyobky9sah5hv2new
614 foreign key (Category_id, Category_nodeType, Category_source)
617 alter table Custom_Category
618 add constraint FK2o95493movsb6l1yw4n4khtbh
619 foreign key (categories_id, categories_nodeType, categories_source)
622 alter table Custom_Category
623 add constraint FK9k7jg7cp6xluljk2qt815tdjp
624 foreign key (Custom_id, Custom_nodeType, Custom_source)
627 alter table Custom_contributors
628 add constraint FKi7asp1dwf0b59mmrqjlhuspfe
629 foreign key (contributor_id, contributor_nodeType, contributor_source)
632 alter table Custom_contributors
633 add constraint FKthm0rsemcxntnnw2vqa9fbjtg
634 foreign key (Custom_id, Custom_nodeType, Custom_source)
637 alter table Custom_emails
638 add constraint FKphffh59qd5yhax6ompthaby5w
639 foreign key (icon_id, icon_nodeType, icon_source)
642 alter table Custom_emails
643 add constraint FKt2p150a9i7yores6qhhrxdlqg
644 foreign key (Custom_id, Custom_nodeType, Custom_source)
647 alter table Custom_links
648 add constraint FKoavtb3ysx30i4vkp1o9qha3x8
649 foreign key (icon_id, icon_nodeType, icon_source)
652 alter table Custom_links
653 add constraint FKdp6pu85ss0k17nhnhg8wt95qu
654 foreign key (Custom_id, Custom_nodeType, Custom_source)
657 alter table Custom_numbers
658 add constraint FKspyya70ibrtp0yp0aet1aulv0
659 foreign key (icon_id, icon_nodeType, icon_source)
662 alter table Custom_numbers
663 add constraint FK9n5qkj8uw768qyxluocmgp86l
664 foreign key (Custom_id, Custom_nodeType, Custom_source)
667 alter table Date_contributors
668 add constraint FKi6oc1dly4i431dvbh5p6bf8mk
669 foreign key (contributor_id, contributor_nodeType, contributor_source)
672 alter table Date_contributors
673 add constraint FKr39enr8uc3pjasjsvts2qk67t
674 foreign key (Date_id, Date_nodeType, Date_source)
677 alter table Date_emails
678 add constraint FKipovx7k7ccjs6ovv2p1squaqb
679 foreign key (icon_id, icon_nodeType, icon_source)
682 alter table Date_emails
683 add constraint FK8ewik7de7eruekfjln9wiw9u7
684 foreign key (Date_id, Date_nodeType, Date_source)
687 alter table Date_links
688 add constraint FK56sagoqdlfivnhx9j64ffq0aq
689 foreign key (icon_id, icon_nodeType, icon_source)
692 alter table Date_links
693 add constraint FK2epditya9rqnwedje5clh9fst
694 foreign key (Date_id, Date_nodeType, Date_source)
697 alter table Date_numbers
698 add constraint FK8sybhsii1xwy1b6ay4yw29aad
699 foreign key (icon_id, icon_nodeType, icon_source)
702 alter table Date_numbers
703 add constraint FKpi1tiq27ga4vg10jpu3lcn00j
704 foreign key (Date_id, Date_nodeType, Date_source)
707 alter table Date_types
708 add constraint FKdwuqn78ynn843lq8qnay7m99d
709 foreign key (Date_id, Date_nodeType, Date_source)
712 alter table Event_Category
713 add constraint FK796bki6riterk5qhwwer52i7e
714 foreign key (categories_id, categories_nodeType, categories_source)
717 alter table Event_Category
718 add constraint FKoxnijth24p7efxasu8gbqglnh
719 foreign key (Event_id, Event_nodeType, Event_source)
722 alter table Event_contributors
723 add constraint FK1tegfyer7c6f6gvjaxum2qoh4
724 foreign key (contributor_id, contributor_nodeType, contributor_source)
727 alter table Event_contributors
728 add constraint FK9nb0vn1fpg02lv1xqwrnymp2a
729 foreign key (Event_id, Event_nodeType, Event_source)
732 alter table Event_emails
733 add constraint FKgukmvw30p78pd01t0ub3yhl89
734 foreign key (icon_id, icon_nodeType, icon_source)
737 alter table Event_emails
738 add constraint FK44jxwok6hcnl26utfhmabp0w6
739 foreign key (Event_id, Event_nodeType, Event_source)
742 alter table Event_links
743 add constraint FKh2cty42m9dcwee8jrbwcykd00
744 foreign key (icon_id, icon_nodeType, icon_source)
747 alter table Event_links
748 add constraint FKhnuhk1ebnx3lhblp9tobx2xkm
749 foreign key (Event_id, Event_nodeType, Event_source)
752 alter table Event_numbers
753 add constraint FKgpmu2w9h057i4412lhy35u8wk
754 foreign key (icon_id, icon_nodeType, icon_source)
757 alter table Event_numbers
758 add constraint FK7vkbmaxmvnycab6grkx1enack
759 foreign key (Event_id, Event_nodeType, Event_source)
762 alter table EventInfo_Group
763 add constraint FKpwna397y3jfavhfbi631jrfuc
764 foreign key (groups_id, groups_nodeType, groups_source)
767 alter table EventInfo_Group
768 add constraint FK7vvheht7xq6t8q60x0iwbbo8e
769 foreign key (nodeId, nodeType, source)
772 alter table Exhibition_contributors
773 add constraint FK5x96y7obyfslktrjb3lw5ksnf
774 foreign key (contributor_id, contributor_nodeType, contributor_source)
777 alter table Exhibition_contributors
778 add constraint FKhb6cddg2ut19lyqhvhkm3n8k6
779 foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source)
782 alter table Exhibition_emails
783 add constraint FKrj3srkor5p48sqctfmqk7kndb
784 foreign key (icon_id, icon_nodeType, icon_source)
787 alter table Exhibition_emails
788 add constraint FK4hdpyj0v87bnl6qjs8q50esot
789 foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source)
792 alter table Exhibition_hours
793 add constraint FK27vcm7e9ercq01vac5vfjy8lp
794 foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source)
797 alter table Exhibition_links
798 add constraint FKd7q17uoid3jjmj5juqnn6kh3t
799 foreign key (icon_id, icon_nodeType, icon_source)
802 alter table Exhibition_links
803 add constraint FK9a6f7rvpeplqd2w7se00d6k7i
804 foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source)
807 alter table Exhibition_numbers
808 add constraint FK50xco0skes213iffdar4rsjdl
809 foreign key (icon_id, icon_nodeType, icon_source)
812 alter table Exhibition_numbers
813 add constraint FKr3esjj54fnif36h8khekq6cjl
814 foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source)
817 alter table Group_contributors
818 add constraint FKbmsmbeitqbq8iex4vylge405d
819 foreign key (contributor_id, contributor_nodeType, contributor_source)
822 alter table Group_contributors
823 add constraint FKf636sk9rghhtgj07a9b19ln5h
824 foreign key (Group_id, Group_nodeType, Group_source)
827 alter table Group_emails
828 add constraint FKmip0rdn17823nw0ev7j07658u
829 foreign key (icon_id, icon_nodeType, icon_source)
832 alter table Group_emails
833 add constraint FK7skv245m9v0iq1pksnqul1ljx
834 foreign key (Group_id, Group_nodeType, Group_source)
837 alter table Group_links
838 add constraint FKe52ogqykhxk91v8l6tnvwt1gn
839 foreign key (icon_id, icon_nodeType, icon_source)
842 alter table Group_links
843 add constraint FKd3p24awb4qhm7i7sqhm7gmw3y
844 foreign key (Group_id, Group_nodeType, Group_source)
847 alter table Group_numbers
848 add constraint FKadx9i37o50hkycey1s3q1uc97
849 foreign key (icon_id, icon_nodeType, icon_source)
852 alter table Group_numbers
853 add constraint FK4w1p7ivthda1sxpmt2py3n4r5
854 foreign key (Group_id, Group_nodeType, Group_source)
857 alter table LegalPerson_Category
858 add constraint FKqqfb7yiroxuw542ni9p54ge6i
859 foreign key (categories_id, categories_nodeType, categories_source)
862 alter table LegalPerson_Category
863 add constraint FKq571u0kqnrtbw1kaebgp5o5b6
864 foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source)
867 alter table LegalPerson_emails
868 add constraint FK57r51bhrrtkphral2s5g8fliw
869 foreign key (icon_id, icon_nodeType, icon_source)
872 alter table LegalPerson_emails
873 add constraint FKcw2plu6hr2x0cn9oif1vb8fnc
874 foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source)
877 alter table LegalPerson_links
878 add constraint FK2n9qnfwvfu8np8w29h7k3323g
879 foreign key (icon_id, icon_nodeType, icon_source)
882 alter table LegalPerson_links
883 add constraint FKqtqxdehi6fu72ko6odlbg6r3t
884 foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source)
887 alter table LegalPerson_numbers
888 add constraint FKe37ecgbbetkxwlw77m973rqwe
889 foreign key (icon_id, icon_nodeType, icon_source)
892 alter table LegalPerson_numbers
893 add constraint FKo2l34vktv5jnysok64g3wfqvq
894 foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source)
897 alter table Location_Category
898 add constraint FKbpj9fd3vreu4hi2xpe2ll55vo
899 foreign key (categories_id, categories_nodeType, categories_source)
902 alter table Location_Category
903 add constraint FK5b6fpm548a7lgts68vhy7mcj4
904 foreign key (Location_id, Location_nodeType, Location_source)
907 alter table Location_emails
908 add constraint FKn2xd9u1a04ks23nd0ussna3rq
909 foreign key (icon_id, icon_nodeType, icon_source)
912 alter table Location_emails
913 add constraint FKckgpp1j0ob5bspu854g61goko
914 foreign key (Location_id, Location_nodeType, Location_source)
917 alter table Location_hours
918 add constraint FK2fgc24b4d2v3pu1opsfvowt3o
919 foreign key (Location_id, Location_nodeType, Location_source)
922 alter table Location_links
923 add constraint FK22oj3jm0qo3ylcojflryeovsj
924 foreign key (icon_id, icon_nodeType, icon_source)
927 alter table Location_links
928 add constraint FKr1c5cxw7f0kea4e6jf3t4wwbl
929 foreign key (Location_id, Location_nodeType, Location_source)
932 alter table Location_numbers
933 add constraint FKn5fopoumjl9peoc0wydq0y7if
934 foreign key (icon_id, icon_nodeType, icon_source)
937 alter table Location_numbers
938 add constraint FKr5k04mtbvfnbof26m75de5ujl
939 foreign key (Location_id, Location_nodeType, Location_source)
943 add constraint FK9ted8q3xnwgdae6r2b6a2j2c8
944 foreign key (photographer_id, photographer_nodeType, photographer_source)
948 add constraint FKdbvdgnv0766xu7jlxwghad4oq
949 foreign key (country_id, country_nodeType, country_source)
953 add constraint FKkh3kdosgk406i59pksttr398b
954 foreign key (state_id, state_nodeType, state_source)
958 add constraint FKqwd2vxgkcydcohnw9xuxu4w8n
959 foreign key (city_id, city_nodeType, city_source)
963 add constraint FKcfsvjllpwnsrxy2qkv2fg1wli
964 foreign key (district_id, district_nodeType, district_source)
968 add constraint FKhuf20tlghhk21gs0n65cdgwxh
969 foreign key (parent_id, parent_nodeType, parent_source)
973 add constraint FK3t7obkasckpeh8lam3gul13k
974 foreign key (event_id, event_nodeType, event_source)
978 add constraint FK5v23em75p47f86muwm34i6ibk
979 foreign key (location_id, location_nodeType, location_source)
983 add constraint FKnsy9f76nf7ocajkfuuvxmv5g7
984 foreign key (node_id, node_nodeType, node_source)
988 add constraint FK6udg7k9o0ffj9lesyf3a12pqr
989 foreign key (subunit_id, subunit_nodeType, subunit_source)
992 alter table Node_features
993 add constraint FKrq26l7t2c19663gew9ml6cvud
994 foreign key (Node_id, Node_nodeType, Node_source)
997 alter table Node_fields
998 add constraint FKneblsglqyju4ma3kpju4c7orq
999 foreign key (Node_id, Node_nodeType, Node_source)
1002 alter table Node_Media
1003 add constraint FKn0qdv3hrutqr6r0umned27d4c
1004 foreign key (media_id, media_nodeType, media_source)
1007 alter table Node_Media
1008 add constraint FK1xaqp7wwyf36aporbvniekdrv
1009 foreign key (nodeId, nodeType, source)
1012 alter table Node_Nodes
1013 add constraint FKi3m2oeejpb1njux7j14pvo16b
1014 foreign key (nodes_dbid)
1017 alter table Node_Nodes
1018 add constraint FKee84dn6iionubhwkf575y9vax
1019 foreign key (Node_id, Node_nodeType, Node_source)
1022 alter table Nodes_Node
1023 add constraint FKq8jht9sf4j6k5qo8cuwn65cbo
1024 foreign key (nodes_id, nodes_nodeType, nodes_source)
1027 alter table Nodes_Node
1028 add constraint FKjp2exc3ajmkmmt4oa151243e
1029 foreign key (Nodes_dbid)
1032 alter table Organization_contributors
1033 add constraint FKdr4ufvx8juh8jpq913j63mvjy
1034 foreign key (contributor_id, contributor_nodeType, contributor_source)
1037 alter table Organization_contributors
1038 add constraint FKlda1w56spi8gim216xocg2n5t
1039 foreign key (Organization_id, Organization_nodeType, Organization_source)
1042 alter table Place_Region
1043 add constraint FK1barpdkpy4p8f2tcgwhqaay1n
1044 foreign key (regions_id, regions_nodeType, regions_source)
1047 alter table Place_Region
1048 add constraint FK3gga17h07k8awue3capjepjb2
1049 foreign key (Place_id, Place_nodeType, Place_source)
1053 add constraint FKson2y4hg9osya48c5idq0kguk
1054 foreign key (nodeId, nodeType, source)
1057 alter table Price_emails
1058 add constraint FK7j7cjie0a3qemqlgwlxqqlc92
1059 foreign key (icon_id, icon_nodeType, icon_source)
1062 alter table Price_emails
1063 add constraint FKq6ito5fik1kniadn6cwqm0l9f
1064 foreign key (Price_dbid)
1067 alter table Price_links
1068 add constraint FKobn3hdtitjci6trqdwnrmj7m2
1069 foreign key (icon_id, icon_nodeType, icon_source)
1072 alter table Price_links
1073 add constraint FKhmji8edy6h9017ktwlrr9vmw
1074 foreign key (Price_dbid)
1077 alter table Price_numbers
1078 add constraint FK4xahu5ppk7qmu1g6toypk0a13
1079 foreign key (icon_id, icon_nodeType, icon_source)
1082 alter table Price_numbers
1083 add constraint FKiejn1brgdrrpflwykhlpw0w4n
1084 foreign key (Price_dbid)
1087 alter table Region_City
1088 add constraint FKogds6ncpkoqv484wign95w0sd
1089 foreign key (cities_id, cities_nodeType, cities_source)
1092 alter table Region_City
1093 add constraint FKhifiimy7x0ksxh6ffenvqw38t
1094 foreign key (Region_id, Region_nodeType, Region_source)
1097 alter table Source_features
1098 add constraint FKbowlk95psbed0re5f8b2x8xch
1099 foreign key (Source_uri)
1102 alter table Source_types
1103 add constraint FK2miu98q4nc71gepck5sx3v7ye
1104 foreign key (Source_uri)