TMP: patches...
[hibernate4-maven-plugin] / patch.txt
1 commit 714c3fe792905476d026b8c2ef6504e54e1bffe6
2 Author: Kai Moritz <kai@juplo.de>
3 Date:   Fri Apr 5 15:17:13 2019 +0200
4
5     Upgraded Hibernate 5.2.18.Final 5.3.9.Final
6
7 diff --git a/src/it/transport/create.sql b/src/it/transport/create.sql
8 index a7f9d94..1e47a91 100644
9 --- a/src/it/transport/create.sql
10 +++ b/src/it/transport/create.sql
11 @@ -1,6 +1,6 @@
12  
13      create table Category_Category (
14 -        Category_id varchar(191) not null,
15 +       Category_id varchar(191) not null,
16          Category_nodeType integer not null,
17          Category_source VARCHAR(191) not null,
18          parents_id varchar(191) not null,
19 @@ -9,7 +9,7 @@
20      );
21  
22      create table Custom_Category (
23 -        Custom_id varchar(191) not null,
24 +       Custom_id varchar(191) not null,
25          Custom_nodeType integer not null,
26          Custom_source VARCHAR(191) not null,
27          categories_id varchar(191) not null,
28 @@ -18,7 +18,7 @@
29      );
30  
31      create table Custom_contributors (
32 -        Custom_id varchar(191) not null,
33 +       Custom_id varchar(191) not null,
34          Custom_nodeType integer not null,
35          Custom_source VARCHAR(191) not null,
36          contributor_id varchar(191),
37 @@ -29,7 +29,7 @@
38      );
39  
40      create table Custom_emails (
41 -        Custom_id varchar(191) not null,
42 +       Custom_id varchar(191) not null,
43          Custom_nodeType integer not null,
44          Custom_source VARCHAR(191) not null,
45          extra varchar(255),
46 @@ -41,7 +41,7 @@
47      );
48  
49      create table Custom_links (
50 -        Custom_id varchar(191) not null,
51 +       Custom_id varchar(191) not null,
52          Custom_nodeType integer not null,
53          Custom_source VARCHAR(191) not null,
54          extra varchar(255),
55 @@ -53,7 +53,7 @@
56      );
57  
58      create table Custom_numbers (
59 -        Custom_id varchar(191) not null,
60 +       Custom_id varchar(191) not null,
61          Custom_nodeType integer not null,
62          Custom_source VARCHAR(191) not null,
63          extra varchar(255),
64 @@ -65,7 +65,7 @@
65      );
66  
67      create table Date_contributors (
68 -        Date_id varchar(191) not null,
69 +       Date_id varchar(191) not null,
70          Date_nodeType integer not null,
71          Date_source VARCHAR(191) not null,
72          contributor_id varchar(191),
73 @@ -76,7 +76,7 @@
74      );
75  
76      create table Date_emails (
77 -        Date_id varchar(191) not null,
78 +       Date_id varchar(191) not null,
79          Date_nodeType integer not null,
80          Date_source VARCHAR(191) not null,
81          extra varchar(255),
82 @@ -88,7 +88,7 @@
83      );
84  
85      create table Date_links (
86 -        Date_id varchar(191) not null,
87 +       Date_id varchar(191) not null,
88          Date_nodeType integer not null,
89          Date_source VARCHAR(191) not null,
90          extra varchar(255),
91 @@ -100,7 +100,7 @@
92      );
93  
94      create table Date_numbers (
95 -        Date_id varchar(191) not null,
96 +       Date_id varchar(191) not null,
97          Date_nodeType integer not null,
98          Date_source VARCHAR(191) not null,
99          extra varchar(255),
100 @@ -112,14 +112,14 @@
101      );
102  
103      create table Date_types (
104 -        Date_id varchar(191) not null,
105 +       Date_id varchar(191) not null,
106          Date_nodeType integer not null,
107          Date_source VARCHAR(191) not null,
108          types varchar(255)
109      );
110  
111      create table Event_Category (
112 -        Event_id varchar(191) not null,
113 +       Event_id varchar(191) not null,
114          Event_nodeType integer not null,
115          Event_source VARCHAR(191) not null,
116          categories_id varchar(191) not null,
117 @@ -128,7 +128,7 @@
118      );
119  
120      create table Event_contributors (
121 -        Event_id varchar(191) not null,
122 +       Event_id varchar(191) not null,
123          Event_nodeType integer not null,
124          Event_source VARCHAR(191) not null,
125          contributor_id varchar(191),
126 @@ -139,7 +139,7 @@
127      );
128  
129      create table Event_emails (
130 -        Event_id varchar(191) not null,
131 +       Event_id varchar(191) not null,
132          Event_nodeType integer not null,
133          Event_source VARCHAR(191) not null,
134          extra varchar(255),
135 @@ -151,7 +151,7 @@
136      );
137  
138      create table Event_links (
139 -        Event_id varchar(191) not null,
140 +       Event_id varchar(191) not null,
141          Event_nodeType integer not null,
142          Event_source VARCHAR(191) not null,
143          extra varchar(255),
144 @@ -163,7 +163,7 @@
145      );
146  
147      create table Event_numbers (
148 -        Event_id varchar(191) not null,
149 +       Event_id varchar(191) not null,
150          Event_nodeType integer not null,
151          Event_source VARCHAR(191) not null,
152          extra varchar(255),
153 @@ -175,7 +175,7 @@
154      );
155  
156      create table EventInfo_Group (
157 -        nodeId varchar(191) not null,
158 +       nodeId varchar(191) not null,
159          nodeType integer not null,
160          source VARCHAR(191) not null,
161          groups_id varchar(191) not null,
162 @@ -184,7 +184,7 @@
163      );
164  
165      create table Exhibition_contributors (
166 -        Exhibition_id varchar(191) not null,
167 +       Exhibition_id varchar(191) not null,
168          Exhibition_nodeType integer not null,
169          Exhibition_source VARCHAR(191) not null,
170          contributor_id varchar(191),
171 @@ -195,7 +195,7 @@
172      );
173  
174      create table Exhibition_emails (
175 -        Exhibition_id varchar(191) not null,
176 +       Exhibition_id varchar(191) not null,
177          Exhibition_nodeType integer not null,
178          Exhibition_source VARCHAR(191) not null,
179          extra varchar(255),
180 @@ -207,17 +207,17 @@
181      );
182  
183      create table Exhibition_hours (
184 -        Exhibition_id varchar(191) not null,
185 +       Exhibition_id varchar(191) not null,
186          Exhibition_nodeType integer not null,
187          Exhibition_source VARCHAR(191) not null,
188 -        close time,
189 +        close timestamp,
190          day integer,
191 -        open time,
192 +        open timestamp,
193          type varchar(255)
194      );
195  
196      create table Exhibition_links (
197 -        Exhibition_id varchar(191) not null,
198 +       Exhibition_id varchar(191) not null,
199          Exhibition_nodeType integer not null,
200          Exhibition_source VARCHAR(191) not null,
201          extra varchar(255),
202 @@ -229,7 +229,7 @@
203      );
204  
205      create table Exhibition_numbers (
206 -        Exhibition_id varchar(191) not null,
207 +       Exhibition_id varchar(191) not null,
208          Exhibition_nodeType integer not null,
209          Exhibition_source VARCHAR(191) not null,
210          extra varchar(255),
211 @@ -241,7 +241,7 @@
212      );
213  
214      create table Group_contributors (
215 -        Group_id varchar(191) not null,
216 +       Group_id varchar(191) not null,
217          Group_nodeType integer not null,
218          Group_source VARCHAR(191) not null,
219          contributor_id varchar(191),
220 @@ -252,7 +252,7 @@
221      );
222  
223      create table Group_emails (
224 -        Group_id varchar(191) not null,
225 +       Group_id varchar(191) not null,
226          Group_nodeType integer not null,
227          Group_source VARCHAR(191) not null,
228          extra varchar(255),
229 @@ -264,7 +264,7 @@
230      );
231  
232      create table Group_links (
233 -        Group_id varchar(191) not null,
234 +       Group_id varchar(191) not null,
235          Group_nodeType integer not null,
236          Group_source VARCHAR(191) not null,
237          extra varchar(255),
238 @@ -276,7 +276,7 @@
239      );
240  
241      create table Group_numbers (
242 -        Group_id varchar(191) not null,
243 +       Group_id varchar(191) not null,
244          Group_nodeType integer not null,
245          Group_source VARCHAR(191) not null,
246          extra varchar(255),
247 @@ -288,7 +288,7 @@
248      );
249  
250      create table LegalPerson_Category (
251 -        LegalPerson_id varchar(191) not null,
252 +       LegalPerson_id varchar(191) not null,
253          LegalPerson_nodeType integer not null,
254          LegalPerson_source VARCHAR(191) not null,
255          categories_id varchar(191) not null,
256 @@ -297,7 +297,7 @@
257      );
258  
259      create table LegalPerson_emails (
260 -        LegalPerson_id varchar(191) not null,
261 +       LegalPerson_id varchar(191) not null,
262          LegalPerson_nodeType integer not null,
263          LegalPerson_source VARCHAR(191) not null,
264          extra varchar(255),
265 @@ -309,7 +309,7 @@
266      );
267  
268      create table LegalPerson_links (
269 -        LegalPerson_id varchar(191) not null,
270 +       LegalPerson_id varchar(191) not null,
271          LegalPerson_nodeType integer not null,
272          LegalPerson_source VARCHAR(191) not null,
273          extra varchar(255),
274 @@ -321,7 +321,7 @@
275      );
276  
277      create table LegalPerson_numbers (
278 -        LegalPerson_id varchar(191) not null,
279 +       LegalPerson_id varchar(191) not null,
280          LegalPerson_nodeType integer not null,
281          LegalPerson_source VARCHAR(191) not null,
282          extra varchar(255),
283 @@ -333,7 +333,7 @@
284      );
285  
286      create table Location_Category (
287 -        Location_id varchar(191) not null,
288 +       Location_id varchar(191) not null,
289          Location_nodeType integer not null,
290          Location_source VARCHAR(191) not null,
291          categories_id varchar(191) not null,
292 @@ -342,7 +342,7 @@
293      );
294  
295      create table Location_emails (
296 -        Location_id varchar(191) not null,
297 +       Location_id varchar(191) not null,
298          Location_nodeType integer not null,
299          Location_source VARCHAR(191) not null,
300          extra varchar(255),
301 @@ -354,17 +354,17 @@
302      );
303  
304      create table Location_hours (
305 -        Location_id varchar(191) not null,
306 +       Location_id varchar(191) not null,
307          Location_nodeType integer not null,
308          Location_source VARCHAR(191) not null,
309 -        close time,
310 +        close timestamp,
311          day integer,
312 -        open time,
313 +        open timestamp,
314          type varchar(255)
315      );
316  
317      create table Location_links (
318 -        Location_id varchar(191) not null,
319 +       Location_id varchar(191) not null,
320          Location_nodeType integer not null,
321          Location_source VARCHAR(191) not null,
322          extra varchar(255),
323 @@ -376,7 +376,7 @@
324      );
325  
326      create table Location_numbers (
327 -        Location_id varchar(191) not null,
328 +       Location_id varchar(191) not null,
329          Location_nodeType integer not null,
330          Location_source VARCHAR(191) not null,
331          extra varchar(255),
332 @@ -388,7 +388,7 @@
333      );
334  
335      create table Node (
336 -        DTYPE integer not null,
337 +       DTYPE integer not null,
338          id varchar(191) not null,
339          nodeType integer not null,
340          source VARCHAR(191) not null,
341 @@ -421,12 +421,12 @@
342          firstName varchar(255),
343          lastName varchar(255),
344          type varchar(255),
345 -        end date,
346 -        start date,
347 +        end timestamp,
348 +        start timestamp,
349          gemkey varchar(31),
350          generator varchar(255),
351          after varchar(255),
352 -        date date,
353 +        date timestamp,
354          photographer_id varchar(191),
355          photographer_nodeType integer,
356          photographer_source VARCHAR(191),
357 @@ -461,14 +461,14 @@
358      );
359  
360      create table Node_features (
361 -        Node_id varchar(191) not null,
362 +       Node_id varchar(191) not null,
363          Node_nodeType integer not null,
364          Node_source VARCHAR(191) not null,
365          features varchar(255)
366      );
367  
368      create table Node_fields (
369 -        Node_id varchar(191) not null,
370 +       Node_id varchar(191) not null,
371          Node_nodeType integer not null,
372          Node_source VARCHAR(191) not null,
373          fields varchar(255),
374 @@ -477,7 +477,7 @@
375      );
376  
377      create table Node_Media (
378 -        nodeId varchar(191) not null,
379 +       nodeId varchar(191) not null,
380          nodeType integer not null,
381          source VARCHAR(191) not null,
382          media_id varchar(191) not null,
383 @@ -486,7 +486,7 @@
384      );
385  
386      create table Node_Nodes (
387 -        Node_id varchar(191) not null,
388 +       Node_id varchar(191) not null,
389          Node_nodeType integer not null,
390          Node_source VARCHAR(191) not null,
391          nodes_dbid bigint not null,
392 @@ -495,20 +495,20 @@
393      );
394  
395      create table Nodes (
396 -        dbid bigint generated by default as identity,
397 +       dbid bigint generated by default as identity,
398          type varchar(255),
399          primary key (dbid)
400      );
401  
402      create table Nodes_Node (
403 -        Nodes_dbid bigint not null,
404 +       Nodes_dbid bigint not null,
405          nodes_id varchar(191) not null,
406          nodes_nodeType integer not null,
407          nodes_source VARCHAR(191) not null
408      );
409  
410      create table Organization_contributors (
411 -        Organization_id varchar(191) not null,
412 +       Organization_id varchar(191) not null,
413          Organization_nodeType integer not null,
414          Organization_source VARCHAR(191) not null,
415          contributor_id varchar(191),
416 @@ -519,7 +519,7 @@
417      );
418  
419      create table Place_Region (
420 -        Place_id varchar(191) not null,
421 +       Place_id varchar(191) not null,
422          Place_nodeType integer not null,
423          Place_source VARCHAR(191) not null,
424          regions_id varchar(191) not null,
425 @@ -528,7 +528,7 @@
426      );
427  
428      create table Price (
429 -        dbid bigint generated by default as identity,
430 +       dbid bigint generated by default as identity,
431          currency varchar(255),
432          text varchar(255),
433          type varchar(255),
434 @@ -540,7 +540,7 @@
435      );
436  
437      create table Price_emails (
438 -        Price_dbid bigint not null,
439 +       Price_dbid bigint not null,
440          extra varchar(255),
441          icon_id varchar(191),
442          icon_nodeType integer,
443 @@ -550,7 +550,7 @@
444      );
445  
446      create table Price_links (
447 -        Price_dbid bigint not null,
448 +       Price_dbid bigint not null,
449          extra varchar(255),
450          icon_id varchar(191),
451          icon_nodeType integer,
452 @@ -560,7 +560,7 @@
453      );
454  
455      create table Price_numbers (
456 -        Price_dbid bigint not null,
457 +       Price_dbid bigint not null,
458          extra varchar(255),
459          icon_id varchar(191),
460          icon_nodeType integer,
461 @@ -570,7 +570,7 @@
462      );
463  
464      create table Region_City (
465 -        Region_id varchar(191) not null,
466 +       Region_id varchar(191) not null,
467          Region_nodeType integer not null,
468          Region_source VARCHAR(191) not null,
469          cities_id varchar(191) not null,
470 @@ -579,527 +579,527 @@
471      );
472  
473      create table Source (
474 -        uri VARCHAR(191) not null,
475 +       uri VARCHAR(191) not null,
476          name varchar(255),
477          primary key (uri)
478      );
479  
480      create table Source_features (
481 -        Source_uri VARCHAR(191) not null,
482 +       Source_uri VARCHAR(191) not null,
483          features binary(255),
484          features_KEY varchar(255) not null,
485          primary key (Source_uri, features_KEY)
486      );
487  
488      create table Source_types (
489 -        Source_uri VARCHAR(191) not null,
490 +       Source_uri VARCHAR(191) not null,
491          types binary(255),
492          types_KEY varchar(255) not null,
493          primary key (Source_uri, types_KEY)
494      );
495  
496      alter table Category_Category 
497 -        add constraint UK_ed5lqxomulp7x8hcy3104lw7t unique (parents_id, parents_nodeType, parents_source);
498 +       add constraint UK_ed5lqxomulp7x8hcy3104lw7t unique (parents_id, parents_nodeType, parents_source);
499  
500      alter table Node 
501 -        add constraint uri unique (source, nodeType, id, locale, version);
502 +       add constraint uri unique (source, nodeType, id, locale, version);
503  
504      alter table Category_Category 
505 -        add constraint FKbtv4wjkjdxcopetysbong6ui6 
506 -        foreign key (parents_id, parents_nodeType, parents_source) 
507 -        references Node;
508 +       add constraint FKbtv4wjkjdxcopetysbong6ui6 
509 +       foreign key (parents_id, parents_nodeType, parents_source) 
510 +       references Node;
511  
512      alter table Category_Category 
513 -        add constraint FKkvdv0b6eqyobky9sah5hv2new 
514 -        foreign key (Category_id, Category_nodeType, Category_source) 
515 -        references Node;
516 +       add constraint FKkvdv0b6eqyobky9sah5hv2new 
517 +       foreign key (Category_id, Category_nodeType, Category_source) 
518 +       references Node;
519  
520      alter table Custom_Category 
521 -        add constraint FK2o95493movsb6l1yw4n4khtbh 
522 -        foreign key (categories_id, categories_nodeType, categories_source) 
523 -        references Node;
524 +       add constraint FK2o95493movsb6l1yw4n4khtbh 
525 +       foreign key (categories_id, categories_nodeType, categories_source) 
526 +       references Node;
527  
528      alter table Custom_Category 
529 -        add constraint FK9k7jg7cp6xluljk2qt815tdjp 
530 -        foreign key (Custom_id, Custom_nodeType, Custom_source) 
531 -        references Node;
532 +       add constraint FK9k7jg7cp6xluljk2qt815tdjp 
533 +       foreign key (Custom_id, Custom_nodeType, Custom_source) 
534 +       references Node;
535  
536      alter table Custom_contributors 
537 -        add constraint FKi7asp1dwf0b59mmrqjlhuspfe 
538 -        foreign key (contributor_id, contributor_nodeType, contributor_source) 
539 -        references Node;
540 +       add constraint FKi7asp1dwf0b59mmrqjlhuspfe 
541 +       foreign key (contributor_id, contributor_nodeType, contributor_source) 
542 +       references Node;
543  
544      alter table Custom_contributors 
545 -        add constraint FKthm0rsemcxntnnw2vqa9fbjtg 
546 -        foreign key (Custom_id, Custom_nodeType, Custom_source) 
547 -        references Node;
548 +       add constraint FKthm0rsemcxntnnw2vqa9fbjtg 
549 +       foreign key (Custom_id, Custom_nodeType, Custom_source) 
550 +       references Node;
551  
552      alter table Custom_emails 
553 -        add constraint FKphffh59qd5yhax6ompthaby5w 
554 -        foreign key (icon_id, icon_nodeType, icon_source) 
555 -        references Node;
556 +       add constraint FKphffh59qd5yhax6ompthaby5w 
557 +       foreign key (icon_id, icon_nodeType, icon_source) 
558 +       references Node;
559  
560      alter table Custom_emails 
561 -        add constraint FKt2p150a9i7yores6qhhrxdlqg 
562 -        foreign key (Custom_id, Custom_nodeType, Custom_source) 
563 -        references Node;
564 +       add constraint FKt2p150a9i7yores6qhhrxdlqg 
565 +       foreign key (Custom_id, Custom_nodeType, Custom_source) 
566 +       references Node;
567  
568      alter table Custom_links 
569 -        add constraint FKoavtb3ysx30i4vkp1o9qha3x8 
570 -        foreign key (icon_id, icon_nodeType, icon_source) 
571 -        references Node;
572 +       add constraint FKoavtb3ysx30i4vkp1o9qha3x8 
573 +       foreign key (icon_id, icon_nodeType, icon_source) 
574 +       references Node;
575  
576      alter table Custom_links 
577 -        add constraint FKdp6pu85ss0k17nhnhg8wt95qu 
578 -        foreign key (Custom_id, Custom_nodeType, Custom_source) 
579 -        references Node;
580 +       add constraint FKdp6pu85ss0k17nhnhg8wt95qu 
581 +       foreign key (Custom_id, Custom_nodeType, Custom_source) 
582 +       references Node;
583  
584      alter table Custom_numbers 
585 -        add constraint FKspyya70ibrtp0yp0aet1aulv0 
586 -        foreign key (icon_id, icon_nodeType, icon_source) 
587 -        references Node;
588 +       add constraint FKspyya70ibrtp0yp0aet1aulv0 
589 +       foreign key (icon_id, icon_nodeType, icon_source) 
590 +       references Node;
591  
592      alter table Custom_numbers 
593 -        add constraint FK9n5qkj8uw768qyxluocmgp86l 
594 -        foreign key (Custom_id, Custom_nodeType, Custom_source) 
595 -        references Node;
596 +       add constraint FK9n5qkj8uw768qyxluocmgp86l 
597 +       foreign key (Custom_id, Custom_nodeType, Custom_source) 
598 +       references Node;
599  
600      alter table Date_contributors 
601 -        add constraint FKi6oc1dly4i431dvbh5p6bf8mk 
602 -        foreign key (contributor_id, contributor_nodeType, contributor_source) 
603 -        references Node;
604 +       add constraint FKi6oc1dly4i431dvbh5p6bf8mk 
605 +       foreign key (contributor_id, contributor_nodeType, contributor_source) 
606 +       references Node;
607  
608      alter table Date_contributors 
609 -        add constraint FKr39enr8uc3pjasjsvts2qk67t 
610 -        foreign key (Date_id, Date_nodeType, Date_source) 
611 -        references Node;
612 +       add constraint FKr39enr8uc3pjasjsvts2qk67t 
613 +       foreign key (Date_id, Date_nodeType, Date_source) 
614 +       references Node;
615  
616      alter table Date_emails 
617 -        add constraint FKipovx7k7ccjs6ovv2p1squaqb 
618 -        foreign key (icon_id, icon_nodeType, icon_source) 
619 -        references Node;
620 +       add constraint FKipovx7k7ccjs6ovv2p1squaqb 
621 +       foreign key (icon_id, icon_nodeType, icon_source) 
622 +       references Node;
623  
624      alter table Date_emails 
625 -        add constraint FK8ewik7de7eruekfjln9wiw9u7 
626 -        foreign key (Date_id, Date_nodeType, Date_source) 
627 -        references Node;
628 +       add constraint FK8ewik7de7eruekfjln9wiw9u7 
629 +       foreign key (Date_id, Date_nodeType, Date_source) 
630 +       references Node;
631  
632      alter table Date_links 
633 -        add constraint FK56sagoqdlfivnhx9j64ffq0aq 
634 -        foreign key (icon_id, icon_nodeType, icon_source) 
635 -        references Node;
636 +       add constraint FK56sagoqdlfivnhx9j64ffq0aq 
637 +       foreign key (icon_id, icon_nodeType, icon_source) 
638 +       references Node;
639  
640      alter table Date_links 
641 -        add constraint FK2epditya9rqnwedje5clh9fst 
642 -        foreign key (Date_id, Date_nodeType, Date_source) 
643 -        references Node;
644 +       add constraint FK2epditya9rqnwedje5clh9fst 
645 +       foreign key (Date_id, Date_nodeType, Date_source) 
646 +       references Node;
647  
648      alter table Date_numbers 
649 -        add constraint FK8sybhsii1xwy1b6ay4yw29aad 
650 -        foreign key (icon_id, icon_nodeType, icon_source) 
651 -        references Node;
652 +       add constraint FK8sybhsii1xwy1b6ay4yw29aad 
653 +       foreign key (icon_id, icon_nodeType, icon_source) 
654 +       references Node;
655  
656      alter table Date_numbers 
657 -        add constraint FKpi1tiq27ga4vg10jpu3lcn00j 
658 -        foreign key (Date_id, Date_nodeType, Date_source) 
659 -        references Node;
660 +       add constraint FKpi1tiq27ga4vg10jpu3lcn00j 
661 +       foreign key (Date_id, Date_nodeType, Date_source) 
662 +       references Node;
663  
664      alter table Date_types 
665 -        add constraint FKdwuqn78ynn843lq8qnay7m99d 
666 -        foreign key (Date_id, Date_nodeType, Date_source) 
667 -        references Node;
668 +       add constraint FKdwuqn78ynn843lq8qnay7m99d 
669 +       foreign key (Date_id, Date_nodeType, Date_source) 
670 +       references Node;
671  
672      alter table Event_Category 
673 -        add constraint FK796bki6riterk5qhwwer52i7e 
674 -        foreign key (categories_id, categories_nodeType, categories_source) 
675 -        references Node;
676 +       add constraint FK796bki6riterk5qhwwer52i7e 
677 +       foreign key (categories_id, categories_nodeType, categories_source) 
678 +       references Node;
679  
680      alter table Event_Category 
681 -        add constraint FKoxnijth24p7efxasu8gbqglnh 
682 -        foreign key (Event_id, Event_nodeType, Event_source) 
683 -        references Node;
684 +       add constraint FKoxnijth24p7efxasu8gbqglnh 
685 +       foreign key (Event_id, Event_nodeType, Event_source) 
686 +       references Node;
687  
688      alter table Event_contributors 
689 -        add constraint FK1tegfyer7c6f6gvjaxum2qoh4 
690 -        foreign key (contributor_id, contributor_nodeType, contributor_source) 
691 -        references Node;
692 +       add constraint FK1tegfyer7c6f6gvjaxum2qoh4 
693 +       foreign key (contributor_id, contributor_nodeType, contributor_source) 
694 +       references Node;
695  
696      alter table Event_contributors 
697 -        add constraint FK9nb0vn1fpg02lv1xqwrnymp2a 
698 -        foreign key (Event_id, Event_nodeType, Event_source) 
699 -        references Node;
700 +       add constraint FK9nb0vn1fpg02lv1xqwrnymp2a 
701 +       foreign key (Event_id, Event_nodeType, Event_source) 
702 +       references Node;
703  
704      alter table Event_emails 
705 -        add constraint FKgukmvw30p78pd01t0ub3yhl89 
706 -        foreign key (icon_id, icon_nodeType, icon_source) 
707 -        references Node;
708 +       add constraint FKgukmvw30p78pd01t0ub3yhl89 
709 +       foreign key (icon_id, icon_nodeType, icon_source) 
710 +       references Node;
711  
712      alter table Event_emails 
713 -        add constraint FK44jxwok6hcnl26utfhmabp0w6 
714 -        foreign key (Event_id, Event_nodeType, Event_source) 
715 -        references Node;
716 +       add constraint FK44jxwok6hcnl26utfhmabp0w6 
717 +       foreign key (Event_id, Event_nodeType, Event_source) 
718 +       references Node;
719  
720      alter table Event_links 
721 -        add constraint FKh2cty42m9dcwee8jrbwcykd00 
722 -        foreign key (icon_id, icon_nodeType, icon_source) 
723 -        references Node;
724 +       add constraint FKh2cty42m9dcwee8jrbwcykd00 
725 +       foreign key (icon_id, icon_nodeType, icon_source) 
726 +       references Node;
727  
728      alter table Event_links 
729 -        add constraint FKhnuhk1ebnx3lhblp9tobx2xkm 
730 -        foreign key (Event_id, Event_nodeType, Event_source) 
731 -        references Node;
732 +       add constraint FKhnuhk1ebnx3lhblp9tobx2xkm 
733 +       foreign key (Event_id, Event_nodeType, Event_source) 
734 +       references Node;
735  
736      alter table Event_numbers 
737 -        add constraint FKgpmu2w9h057i4412lhy35u8wk 
738 -        foreign key (icon_id, icon_nodeType, icon_source) 
739 -        references Node;
740 +       add constraint FKgpmu2w9h057i4412lhy35u8wk 
741 +       foreign key (icon_id, icon_nodeType, icon_source) 
742 +       references Node;
743  
744      alter table Event_numbers 
745 -        add constraint FK7vkbmaxmvnycab6grkx1enack 
746 -        foreign key (Event_id, Event_nodeType, Event_source) 
747 -        references Node;
748 +       add constraint FK7vkbmaxmvnycab6grkx1enack 
749 +       foreign key (Event_id, Event_nodeType, Event_source) 
750 +       references Node;
751  
752      alter table EventInfo_Group 
753 -        add constraint FKpwna397y3jfavhfbi631jrfuc 
754 -        foreign key (groups_id, groups_nodeType, groups_source) 
755 -        references Node;
756 +       add constraint FKpwna397y3jfavhfbi631jrfuc 
757 +       foreign key (groups_id, groups_nodeType, groups_source) 
758 +       references Node;
759  
760      alter table EventInfo_Group 
761 -        add constraint FK7vvheht7xq6t8q60x0iwbbo8e 
762 -        foreign key (nodeId, nodeType, source) 
763 -        references Node;
764 +       add constraint FK7vvheht7xq6t8q60x0iwbbo8e 
765 +       foreign key (nodeId, nodeType, source) 
766 +       references Node;
767  
768      alter table Exhibition_contributors 
769 -        add constraint FK5x96y7obyfslktrjb3lw5ksnf 
770 -        foreign key (contributor_id, contributor_nodeType, contributor_source) 
771 -        references Node;
772 +       add constraint FK5x96y7obyfslktrjb3lw5ksnf 
773 +       foreign key (contributor_id, contributor_nodeType, contributor_source) 
774 +       references Node;
775  
776      alter table Exhibition_contributors 
777 -        add constraint FKhb6cddg2ut19lyqhvhkm3n8k6 
778 -        foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
779 -        references Node;
780 +       add constraint FKhb6cddg2ut19lyqhvhkm3n8k6 
781 +       foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
782 +       references Node;
783  
784      alter table Exhibition_emails 
785 -        add constraint FKrj3srkor5p48sqctfmqk7kndb 
786 -        foreign key (icon_id, icon_nodeType, icon_source) 
787 -        references Node;
788 +       add constraint FKrj3srkor5p48sqctfmqk7kndb 
789 +       foreign key (icon_id, icon_nodeType, icon_source) 
790 +       references Node;
791  
792      alter table Exhibition_emails 
793 -        add constraint FK4hdpyj0v87bnl6qjs8q50esot 
794 -        foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
795 -        references Node;
796 +       add constraint FK4hdpyj0v87bnl6qjs8q50esot 
797 +       foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
798 +       references Node;
799  
800      alter table Exhibition_hours 
801 -        add constraint FK27vcm7e9ercq01vac5vfjy8lp 
802 -        foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
803 -        references Node;
804 +       add constraint FK27vcm7e9ercq01vac5vfjy8lp 
805 +       foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
806 +       references Node;
807  
808      alter table Exhibition_links 
809 -        add constraint FKd7q17uoid3jjmj5juqnn6kh3t 
810 -        foreign key (icon_id, icon_nodeType, icon_source) 
811 -        references Node;
812 +       add constraint FKd7q17uoid3jjmj5juqnn6kh3t 
813 +       foreign key (icon_id, icon_nodeType, icon_source) 
814 +       references Node;
815  
816      alter table Exhibition_links 
817 -        add constraint FK9a6f7rvpeplqd2w7se00d6k7i 
818 -        foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
819 -        references Node;
820 +       add constraint FK9a6f7rvpeplqd2w7se00d6k7i 
821 +       foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
822 +       references Node;
823  
824      alter table Exhibition_numbers 
825 -        add constraint FK50xco0skes213iffdar4rsjdl 
826 -        foreign key (icon_id, icon_nodeType, icon_source) 
827 -        references Node;
828 +       add constraint FK50xco0skes213iffdar4rsjdl 
829 +       foreign key (icon_id, icon_nodeType, icon_source) 
830 +       references Node;
831  
832      alter table Exhibition_numbers 
833 -        add constraint FKr3esjj54fnif36h8khekq6cjl 
834 -        foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
835 -        references Node;
836 +       add constraint FKr3esjj54fnif36h8khekq6cjl 
837 +       foreign key (Exhibition_id, Exhibition_nodeType, Exhibition_source) 
838 +       references Node;
839  
840      alter table Group_contributors 
841 -        add constraint FKbmsmbeitqbq8iex4vylge405d 
842 -        foreign key (contributor_id, contributor_nodeType, contributor_source) 
843 -        references Node;
844 +       add constraint FKbmsmbeitqbq8iex4vylge405d 
845 +       foreign key (contributor_id, contributor_nodeType, contributor_source) 
846 +       references Node;
847  
848      alter table Group_contributors 
849 -        add constraint FKf636sk9rghhtgj07a9b19ln5h 
850 -        foreign key (Group_id, Group_nodeType, Group_source) 
851 -        references Node;
852 +       add constraint FKf636sk9rghhtgj07a9b19ln5h 
853 +       foreign key (Group_id, Group_nodeType, Group_source) 
854 +       references Node;
855  
856      alter table Group_emails 
857 -        add constraint FKmip0rdn17823nw0ev7j07658u 
858 -        foreign key (icon_id, icon_nodeType, icon_source) 
859 -        references Node;
860 +       add constraint FKmip0rdn17823nw0ev7j07658u 
861 +       foreign key (icon_id, icon_nodeType, icon_source) 
862 +       references Node;
863  
864      alter table Group_emails 
865 -        add constraint FK7skv245m9v0iq1pksnqul1ljx 
866 -        foreign key (Group_id, Group_nodeType, Group_source) 
867 -        references Node;
868 +       add constraint FK7skv245m9v0iq1pksnqul1ljx 
869 +       foreign key (Group_id, Group_nodeType, Group_source) 
870 +       references Node;
871  
872      alter table Group_links 
873 -        add constraint FKe52ogqykhxk91v8l6tnvwt1gn 
874 -        foreign key (icon_id, icon_nodeType, icon_source) 
875 -        references Node;
876 +       add constraint FKe52ogqykhxk91v8l6tnvwt1gn 
877 +       foreign key (icon_id, icon_nodeType, icon_source) 
878 +       references Node;
879  
880      alter table Group_links 
881 -        add constraint FKd3p24awb4qhm7i7sqhm7gmw3y 
882 -        foreign key (Group_id, Group_nodeType, Group_source) 
883 -        references Node;
884 +       add constraint FKd3p24awb4qhm7i7sqhm7gmw3y 
885 +       foreign key (Group_id, Group_nodeType, Group_source) 
886 +       references Node;
887  
888      alter table Group_numbers 
889 -        add constraint FKadx9i37o50hkycey1s3q1uc97 
890 -        foreign key (icon_id, icon_nodeType, icon_source) 
891 -        references Node;
892 +       add constraint FKadx9i37o50hkycey1s3q1uc97 
893 +       foreign key (icon_id, icon_nodeType, icon_source) 
894 +       references Node;
895  
896      alter table Group_numbers 
897 -        add constraint FK4w1p7ivthda1sxpmt2py3n4r5 
898 -        foreign key (Group_id, Group_nodeType, Group_source) 
899 -        references Node;
900 +       add constraint FK4w1p7ivthda1sxpmt2py3n4r5 
901 +       foreign key (Group_id, Group_nodeType, Group_source) 
902 +       references Node;
903  
904      alter table LegalPerson_Category 
905 -        add constraint FKqqfb7yiroxuw542ni9p54ge6i 
906 -        foreign key (categories_id, categories_nodeType, categories_source) 
907 -        references Node;
908 +       add constraint FKqqfb7yiroxuw542ni9p54ge6i 
909 +       foreign key (categories_id, categories_nodeType, categories_source) 
910 +       references Node;
911  
912      alter table LegalPerson_Category 
913 -        add constraint FKq571u0kqnrtbw1kaebgp5o5b6 
914 -        foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source) 
915 -        references Node;
916 +       add constraint FKq571u0kqnrtbw1kaebgp5o5b6 
917 +       foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source) 
918 +       references Node;
919  
920      alter table LegalPerson_emails 
921 -        add constraint FK57r51bhrrtkphral2s5g8fliw 
922 -        foreign key (icon_id, icon_nodeType, icon_source) 
923 -        references Node;
924 +       add constraint FK57r51bhrrtkphral2s5g8fliw 
925 +       foreign key (icon_id, icon_nodeType, icon_source) 
926 +       references Node;
927  
928      alter table LegalPerson_emails 
929 -        add constraint FKcw2plu6hr2x0cn9oif1vb8fnc 
930 -        foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source) 
931 -        references Node;
932 +       add constraint FKcw2plu6hr2x0cn9oif1vb8fnc 
933 +       foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source) 
934 +       references Node;
935  
936      alter table LegalPerson_links 
937 -        add constraint FK2n9qnfwvfu8np8w29h7k3323g 
938 -        foreign key (icon_id, icon_nodeType, icon_source) 
939 -        references Node;
940 +       add constraint FK2n9qnfwvfu8np8w29h7k3323g 
941 +       foreign key (icon_id, icon_nodeType, icon_source) 
942 +       references Node;
943  
944      alter table LegalPerson_links 
945 -        add constraint FKqtqxdehi6fu72ko6odlbg6r3t 
946 -        foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source) 
947 -        references Node;
948 +       add constraint FKqtqxdehi6fu72ko6odlbg6r3t 
949 +       foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source) 
950 +       references Node;
951  
952      alter table LegalPerson_numbers 
953 -        add constraint FKe37ecgbbetkxwlw77m973rqwe 
954 -        foreign key (icon_id, icon_nodeType, icon_source) 
955 -        references Node;
956 +       add constraint FKe37ecgbbetkxwlw77m973rqwe 
957 +       foreign key (icon_id, icon_nodeType, icon_source) 
958 +       references Node;
959  
960      alter table LegalPerson_numbers 
961 -        add constraint FKo2l34vktv5jnysok64g3wfqvq 
962 -        foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source) 
963 -        references Node;
964 +       add constraint FKo2l34vktv5jnysok64g3wfqvq 
965 +       foreign key (LegalPerson_id, LegalPerson_nodeType, LegalPerson_source) 
966 +       references Node;
967  
968      alter table Location_Category 
969 -        add constraint FKbpj9fd3vreu4hi2xpe2ll55vo 
970 -        foreign key (categories_id, categories_nodeType, categories_source) 
971 -        references Node;
972 +       add constraint FKbpj9fd3vreu4hi2xpe2ll55vo 
973 +       foreign key (categories_id, categories_nodeType, categories_source) 
974 +       references Node;
975  
976      alter table Location_Category 
977 -        add constraint FK5b6fpm548a7lgts68vhy7mcj4 
978 -        foreign key (Location_id, Location_nodeType, Location_source) 
979 -        references Node;
980 +       add constraint FK5b6fpm548a7lgts68vhy7mcj4 
981 +       foreign key (Location_id, Location_nodeType, Location_source) 
982 +       references Node;
983  
984      alter table Location_emails 
985 -        add constraint FKn2xd9u1a04ks23nd0ussna3rq 
986 -        foreign key (icon_id, icon_nodeType, icon_source) 
987 -        references Node;
988 +       add constraint FKn2xd9u1a04ks23nd0ussna3rq 
989 +       foreign key (icon_id, icon_nodeType, icon_source) 
990 +       references Node;
991  
992      alter table Location_emails 
993 -        add constraint FKckgpp1j0ob5bspu854g61goko 
994 -        foreign key (Location_id, Location_nodeType, Location_source) 
995 -        references Node;
996 +       add constraint FKckgpp1j0ob5bspu854g61goko 
997 +       foreign key (Location_id, Location_nodeType, Location_source) 
998 +       references Node;
999  
1000      alter table Location_hours 
1001 -        add constraint FK2fgc24b4d2v3pu1opsfvowt3o 
1002 -        foreign key (Location_id, Location_nodeType, Location_source) 
1003 -        references Node;
1004 +       add constraint FK2fgc24b4d2v3pu1opsfvowt3o 
1005 +       foreign key (Location_id, Location_nodeType, Location_source) 
1006 +       references Node;
1007  
1008      alter table Location_links 
1009 -        add constraint FK22oj3jm0qo3ylcojflryeovsj 
1010 -        foreign key (icon_id, icon_nodeType, icon_source) 
1011 -        references Node;
1012 +       add constraint FK22oj3jm0qo3ylcojflryeovsj 
1013 +       foreign key (icon_id, icon_nodeType, icon_source) 
1014 +       references Node;
1015  
1016      alter table Location_links 
1017 -        add constraint FKr1c5cxw7f0kea4e6jf3t4wwbl 
1018 -        foreign key (Location_id, Location_nodeType, Location_source) 
1019 -        references Node;
1020 +       add constraint FKr1c5cxw7f0kea4e6jf3t4wwbl 
1021 +       foreign key (Location_id, Location_nodeType, Location_source) 
1022 +       references Node;
1023  
1024      alter table Location_numbers 
1025 -        add constraint FKn5fopoumjl9peoc0wydq0y7if 
1026 -        foreign key (icon_id, icon_nodeType, icon_source) 
1027 -        references Node;
1028 +       add constraint FKn5fopoumjl9peoc0wydq0y7if 
1029 +       foreign key (icon_id, icon_nodeType, icon_source) 
1030 +       references Node;
1031  
1032      alter table Location_numbers 
1033 -        add constraint FKr5k04mtbvfnbof26m75de5ujl 
1034 -        foreign key (Location_id, Location_nodeType, Location_source) 
1035 -        references Node;
1036 +       add constraint FKr5k04mtbvfnbof26m75de5ujl 
1037 +       foreign key (Location_id, Location_nodeType, Location_source) 
1038 +       references Node;
1039  
1040      alter table Node 
1041 -        add constraint FK9ted8q3xnwgdae6r2b6a2j2c8 
1042 -        foreign key (photographer_id, photographer_nodeType, photographer_source) 
1043 -        references Node;
1044 +       add constraint FK9ted8q3xnwgdae6r2b6a2j2c8 
1045 +       foreign key (photographer_id, photographer_nodeType, photographer_source) 
1046 +       references Node;
1047  
1048      alter table Node 
1049 -        add constraint FKdbvdgnv0766xu7jlxwghad4oq 
1050 -        foreign key (country_id, country_nodeType, country_source) 
1051 -        references Node;
1052 +       add constraint FKdbvdgnv0766xu7jlxwghad4oq 
1053 +       foreign key (country_id, country_nodeType, country_source) 
1054 +       references Node;
1055  
1056      alter table Node 
1057 -        add constraint FKkh3kdosgk406i59pksttr398b 
1058 -        foreign key (state_id, state_nodeType, state_source) 
1059 -        references Node;
1060 +       add constraint FKkh3kdosgk406i59pksttr398b 
1061 +       foreign key (state_id, state_nodeType, state_source) 
1062 +       references Node;
1063  
1064      alter table Node 
1065 -        add constraint FKqwd2vxgkcydcohnw9xuxu4w8n 
1066 -        foreign key (city_id, city_nodeType, city_source) 
1067 -        references Node;
1068 +       add constraint FKqwd2vxgkcydcohnw9xuxu4w8n 
1069 +       foreign key (city_id, city_nodeType, city_source) 
1070 +       references Node;
1071  
1072      alter table Node 
1073 -        add constraint FKcfsvjllpwnsrxy2qkv2fg1wli 
1074 -        foreign key (district_id, district_nodeType, district_source) 
1075 -        references Node;
1076 +       add constraint FKcfsvjllpwnsrxy2qkv2fg1wli 
1077 +       foreign key (district_id, district_nodeType, district_source) 
1078 +       references Node;
1079  
1080      alter table Node 
1081 -        add constraint FKhuf20tlghhk21gs0n65cdgwxh 
1082 -        foreign key (parent_id, parent_nodeType, parent_source) 
1083 -        references Node;
1084 +       add constraint FKhuf20tlghhk21gs0n65cdgwxh 
1085 +       foreign key (parent_id, parent_nodeType, parent_source) 
1086 +       references Node;
1087  
1088      alter table Node 
1089 -        add constraint FK3t7obkasckpeh8lam3gul13k 
1090 -        foreign key (event_id, event_nodeType, event_source) 
1091 -        references Node;
1092 +       add constraint FK3t7obkasckpeh8lam3gul13k 
1093 +       foreign key (event_id, event_nodeType, event_source) 
1094 +       references Node;
1095  
1096      alter table Node 
1097 -        add constraint FK5v23em75p47f86muwm34i6ibk 
1098 -        foreign key (location_id, location_nodeType, location_source) 
1099 -        references Node;
1100 +       add constraint FK5v23em75p47f86muwm34i6ibk 
1101 +       foreign key (location_id, location_nodeType, location_source) 
1102 +       references Node;
1103  
1104      alter table Node 
1105 -        add constraint FKnsy9f76nf7ocajkfuuvxmv5g7 
1106 -        foreign key (node_id, node_nodeType, node_source) 
1107 -        references Node;
1108 +       add constraint FKnsy9f76nf7ocajkfuuvxmv5g7 
1109 +       foreign key (node_id, node_nodeType, node_source) 
1110 +       references Node;
1111  
1112      alter table Node 
1113 -        add constraint FK6udg7k9o0ffj9lesyf3a12pqr 
1114 -        foreign key (subunit_id, subunit_nodeType, subunit_source) 
1115 -        references Node;
1116 +       add constraint FK6udg7k9o0ffj9lesyf3a12pqr 
1117 +       foreign key (subunit_id, subunit_nodeType, subunit_source) 
1118 +       references Node;
1119  
1120      alter table Node_features 
1121 -        add constraint FKrq26l7t2c19663gew9ml6cvud 
1122 -        foreign key (Node_id, Node_nodeType, Node_source) 
1123 -        references Node;
1124 +       add constraint FKrq26l7t2c19663gew9ml6cvud 
1125 +       foreign key (Node_id, Node_nodeType, Node_source) 
1126 +       references Node;
1127  
1128      alter table Node_fields 
1129 -        add constraint FKneblsglqyju4ma3kpju4c7orq 
1130 -        foreign key (Node_id, Node_nodeType, Node_source) 
1131 -        references Node;
1132 +       add constraint FKneblsglqyju4ma3kpju4c7orq 
1133 +       foreign key (Node_id, Node_nodeType, Node_source) 
1134 +       references Node;
1135  
1136      alter table Node_Media 
1137 -        add constraint FKn0qdv3hrutqr6r0umned27d4c 
1138 -        foreign key (media_id, media_nodeType, media_source) 
1139 -        references Node;
1140 +       add constraint FKn0qdv3hrutqr6r0umned27d4c 
1141 +       foreign key (media_id, media_nodeType, media_source) 
1142 +       references Node;
1143  
1144      alter table Node_Media 
1145 -        add constraint FK1xaqp7wwyf36aporbvniekdrv 
1146 -        foreign key (nodeId, nodeType, source) 
1147 -        references Node;
1148 +       add constraint FK1xaqp7wwyf36aporbvniekdrv 
1149 +       foreign key (nodeId, nodeType, source) 
1150 +       references Node;
1151  
1152      alter table Node_Nodes 
1153 -        add constraint FKi3m2oeejpb1njux7j14pvo16b 
1154 -        foreign key (nodes_dbid) 
1155 -        references Nodes;
1156 +       add constraint FKi3m2oeejpb1njux7j14pvo16b 
1157 +       foreign key (nodes_dbid) 
1158 +       references Nodes;
1159  
1160      alter table Node_Nodes 
1161 -        add constraint FKee84dn6iionubhwkf575y9vax 
1162 -        foreign key (Node_id, Node_nodeType, Node_source) 
1163 -        references Node;
1164 +       add constraint FKee84dn6iionubhwkf575y9vax 
1165 +       foreign key (Node_id, Node_nodeType, Node_source) 
1166 +       references Node;
1167  
1168      alter table Nodes_Node 
1169 -        add constraint FKq8jht9sf4j6k5qo8cuwn65cbo 
1170 -        foreign key (nodes_id, nodes_nodeType, nodes_source) 
1171 -        references Node;
1172 +       add constraint FKq8jht9sf4j6k5qo8cuwn65cbo 
1173 +       foreign key (nodes_id, nodes_nodeType, nodes_source) 
1174 +       references Node;
1175  
1176      alter table Nodes_Node 
1177 -        add constraint FKjp2exc3ajmkmmt4oa151243e 
1178 -        foreign key (Nodes_dbid) 
1179 -        references Nodes;
1180 +       add constraint FKjp2exc3ajmkmmt4oa151243e 
1181 +       foreign key (Nodes_dbid) 
1182 +       references Nodes;
1183  
1184      alter table Organization_contributors 
1185 -        add constraint FKdr4ufvx8juh8jpq913j63mvjy 
1186 -        foreign key (contributor_id, contributor_nodeType, contributor_source) 
1187 -        references Node;
1188 +       add constraint FKdr4ufvx8juh8jpq913j63mvjy 
1189 +       foreign key (contributor_id, contributor_nodeType, contributor_source) 
1190 +       references Node;
1191  
1192      alter table Organization_contributors 
1193 -        add constraint FKlda1w56spi8gim216xocg2n5t 
1194 -        foreign key (Organization_id, Organization_nodeType, Organization_source) 
1195 -        references Node;
1196 +       add constraint FKlda1w56spi8gim216xocg2n5t 
1197 +       foreign key (Organization_id, Organization_nodeType, Organization_source) 
1198 +       references Node;
1199  
1200      alter table Place_Region 
1201 -        add constraint FK1barpdkpy4p8f2tcgwhqaay1n 
1202 -        foreign key (regions_id, regions_nodeType, regions_source) 
1203 -        references Node;
1204 +       add constraint FK1barpdkpy4p8f2tcgwhqaay1n 
1205 +       foreign key (regions_id, regions_nodeType, regions_source) 
1206 +       references Node;
1207  
1208      alter table Place_Region 
1209 -        add constraint FK3gga17h07k8awue3capjepjb2 
1210 -        foreign key (Place_id, Place_nodeType, Place_source) 
1211 -        references Node;
1212 +       add constraint FK3gga17h07k8awue3capjepjb2 
1213 +       foreign key (Place_id, Place_nodeType, Place_source) 
1214 +       references Node;
1215  
1216      alter table Price 
1217 -        add constraint FKson2y4hg9osya48c5idq0kguk 
1218 -        foreign key (nodeId, nodeType, source) 
1219 -        references Node;
1220 +       add constraint FKson2y4hg9osya48c5idq0kguk 
1221 +       foreign key (nodeId, nodeType, source) 
1222 +       references Node;
1223  
1224      alter table Price_emails 
1225 -        add constraint FK7j7cjie0a3qemqlgwlxqqlc92 
1226 -        foreign key (icon_id, icon_nodeType, icon_source) 
1227 -        references Node;
1228 +       add constraint FK7j7cjie0a3qemqlgwlxqqlc92 
1229 +       foreign key (icon_id, icon_nodeType, icon_source) 
1230 +       references Node;
1231  
1232      alter table Price_emails 
1233 -        add constraint FKq6ito5fik1kniadn6cwqm0l9f 
1234 -        foreign key (Price_dbid) 
1235 -        references Price;
1236 +       add constraint FKq6ito5fik1kniadn6cwqm0l9f 
1237 +       foreign key (Price_dbid) 
1238 +       references Price;
1239  
1240      alter table Price_links 
1241 -        add constraint FKobn3hdtitjci6trqdwnrmj7m2 
1242 -        foreign key (icon_id, icon_nodeType, icon_source) 
1243 -        references Node;
1244 +       add constraint FKobn3hdtitjci6trqdwnrmj7m2 
1245 +       foreign key (icon_id, icon_nodeType, icon_source) 
1246 +       references Node;
1247  
1248      alter table Price_links 
1249 -        add constraint FKhmji8edy6h9017ktwlrr9vmw 
1250 -        foreign key (Price_dbid) 
1251 -        references Price;
1252 +       add constraint FKhmji8edy6h9017ktwlrr9vmw 
1253 +       foreign key (Price_dbid) 
1254 +       references Price;
1255  
1256      alter table Price_numbers 
1257 -        add constraint FK4xahu5ppk7qmu1g6toypk0a13 
1258 -        foreign key (icon_id, icon_nodeType, icon_source) 
1259 -        references Node;
1260 +       add constraint FK4xahu5ppk7qmu1g6toypk0a13 
1261 +       foreign key (icon_id, icon_nodeType, icon_source) 
1262 +       references Node;
1263  
1264      alter table Price_numbers 
1265 -        add constraint FKiejn1brgdrrpflwykhlpw0w4n 
1266 -        foreign key (Price_dbid) 
1267 -        references Price;
1268 +       add constraint FKiejn1brgdrrpflwykhlpw0w4n 
1269 +       foreign key (Price_dbid) 
1270 +       references Price;
1271  
1272      alter table Region_City 
1273 -        add constraint FKogds6ncpkoqv484wign95w0sd 
1274 -        foreign key (cities_id, cities_nodeType, cities_source) 
1275 -        references Node;
1276 +       add constraint FKogds6ncpkoqv484wign95w0sd 
1277 +       foreign key (cities_id, cities_nodeType, cities_source) 
1278 +       references Node;
1279  
1280      alter table Region_City 
1281 -        add constraint FKhifiimy7x0ksxh6ffenvqw38t 
1282 -        foreign key (Region_id, Region_nodeType, Region_source) 
1283 -        references Node;
1284 +       add constraint FKhifiimy7x0ksxh6ffenvqw38t 
1285 +       foreign key (Region_id, Region_nodeType, Region_source) 
1286 +       references Node;
1287  
1288      alter table Source_features 
1289 -        add constraint FKbowlk95psbed0re5f8b2x8xch 
1290 -        foreign key (Source_uri) 
1291 -        references Source;
1292 +       add constraint FKbowlk95psbed0re5f8b2x8xch 
1293 +       foreign key (Source_uri) 
1294 +       references Source;
1295  
1296      alter table Source_types 
1297 -        add constraint FK2miu98q4nc71gepck5sx3v7ye 
1298 -        foreign key (Source_uri) 
1299 -        references Source;
1300 +       add constraint FK2miu98q4nc71gepck5sx3v7ye 
1301 +       foreign key (Source_uri) 
1302 +       references Source;