Project

General

Profile

« Previous | Next » 

Revision 11059

schemas/VegCore/ERD/VegCore.ERD.mwb: source: moved parent pointer to dataset, since the containment relationship is intended for datasets (there may be other types of sources for which this makes sense, but not ones that are used in our data)

View differences:

schemas/VegCore/ERD/document.mwb.xml
311 311
                      <value type="string" key="oldName">id</value>
312 312
                      <link type="object" struct-name="GrtObject" key="owner">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
313 313
                    </value>
314
                    <value type="object" struct-name="db.mysql.Column" id="1156d180-2393-11e3-a6f3-080027bcf912" struct-checksum="0x783b5183">
315
                      <value type="int" key="autoIncrement">0</value>
316
                      <value type="string" key="characterSetName"></value>
317
                      <value _ptr_="0xc7ee8c8" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
318
                      <value type="string" key="collationName"></value>
319
                      <value type="string" key="datatypeExplicitParams"></value>
320
                      <value type="string" key="defaultValue"></value>
321
                      <value type="int" key="defaultValueIsNull">1</value>
322
                      <value _ptr_="0xcfefc00" type="list" content-type="string" key="flags"/>
323
                      <value type="int" key="isNotNull">0</value>
324
                      <value type="int" key="length">767</value>
325
                      <value type="int" key="precision">-1</value>
326
                      <value type="int" key="scale">-1</value>
327
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
328
                      <value type="string" key="comment"></value>
329
                      <value type="string" key="name">parent</value>
330
                      <value type="string" key="oldName">parent</value>
331
                      <link type="object" struct-name="GrtObject" key="owner">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
332
                    </value>
314 333
                    <value type="object" struct-name="db.mysql.Column" id="2ebd5a70-238c-11e3-a6f3-080027bcf912" struct-checksum="0x783b5183">
315 334
                      <value type="int" key="autoIncrement">0</value>
316 335
                      <value type="string" key="characterSetName"></value>
......
454 473
                      <value type="string" key="name">fk_dataset_source2</value>
455 474
                      <value type="string" key="oldName">fk_dataset_source2</value>
456 475
                    </value>
476
                    <value type="object" struct-name="db.mysql.ForeignKey" id="1156cf50-2393-11e3-a6f3-080027bcf912" struct-checksum="0x70a8fc40">
477
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
478
                      <value _ptr_="0xcc201f0" type="list" content-type="object" content-struct-name="db.Column" key="columns">
479
                        <link type="object">1156d180-2393-11e3-a6f3-080027bcf912</link>
480
                      </value>
481
                      <value type="int" key="deferability">0</value>
482
                      <value type="string" key="deleteRule">CASCADE</value>
483
                      <link type="object" struct-name="db.Index" key="index">1156fa5c-2393-11e3-a6f3-080027bcf912</link>
484
                      <value type="int" key="mandatory">1</value>
485
                      <value type="int" key="many">1</value>
486
                      <value type="int" key="modelOnly">0</value>
487
                      <link type="object" struct-name="db.Table" key="owner">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
488
                      <value _ptr_="0xce63580" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
489
                        <link type="object">be8cc362-a6e0-11e2-95e9-080027bcf912</link>
490
                      </value>
491
                      <value type="int" key="referencedMandatory">0</value>
492
                      <value type="string" key="updateRule">CASCADE</value>
493
                      <value type="string" key="comment"></value>
494
                      <value type="string" key="name">fk_dataset_dataset1</value>
495
                      <value type="string" key="oldName">fk_dataset_dataset1</value>
496
                    </value>
457 497
                    <value type="object" struct-name="db.mysql.ForeignKey" id="7e2aa84c-1dfb-11e3-bbb6-080027bcf912" struct-checksum="0x70a8fc40">
458 498
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">afc401d4-1df9-11e3-bbb6-080027bcf912</link>
459 499
                      <value _ptr_="0xbbe5420" type="list" content-type="object" content-struct-name="db.Column" key="columns">
......
653 693
                      <value type="string" key="oldName">fk_dataset_source2_idx</value>
654 694
                      <link type="object" struct-name="GrtObject" key="owner">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
655 695
                    </value>
696
                    <value type="object" struct-name="db.mysql.Index" id="1156fa5c-2393-11e3-a6f3-080027bcf912" struct-checksum="0x309b847a">
697
                      <value _ptr_="0xc54fed0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
698
                        <value type="object" struct-name="db.mysql.IndexColumn" id="1156fe62-2393-11e3-a6f3-080027bcf912" struct-checksum="0x62630b3c">
699
                          <value type="int" key="columnLength">0</value>
700
                          <value type="string" key="comment"></value>
701
                          <value type="int" key="descend">0</value>
702
                          <link type="object" struct-name="db.Column" key="referencedColumn">1156d180-2393-11e3-a6f3-080027bcf912</link>
703
                          <value type="string" key="name"></value>
704
                          <link type="object" struct-name="GrtObject" key="owner">1156fa5c-2393-11e3-a6f3-080027bcf912</link>
705
                        </value>
706
                      </value>
707
                      <value type="string" key="indexKind"></value>
708
                      <value type="int" key="keyBlockSize">0</value>
709
                      <value type="string" key="withParser"></value>
710
                      <value type="string" key="comment"></value>
711
                      <value type="int" key="deferability">0</value>
712
                      <value type="string" key="indexType">INDEX</value>
713
                      <value type="int" key="isPrimary">0</value>
714
                      <value type="string" key="name">fk_dataset_dataset1_idx</value>
715
                      <value type="int" key="unique">0</value>
716
                      <value type="string" key="oldName">fk_dataset_dataset1_idx</value>
717
                      <link type="object" struct-name="GrtObject" key="owner">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
718
                    </value>
656 719
                  </value>
657 720
                  <value type="string" key="maxRows"></value>
658 721
                  <value type="string" key="mergeInsert"></value>
......
684 747
                  <value type="int" key="commentedOut">0</value>
685 748
                  <value type="string" key="createDate">2013-04-16 14:58</value>
686 749
                  <value _ptr_="0xb401dc8" type="dict" key="customData"/>
687
                  <value type="string" key="lastChangeDate">2013-09-22 06:45</value>
750
                  <value type="string" key="lastChangeDate">2013-09-22 07:27</value>
688 751
                  <value type="int" key="modelOnly">0</value>
689 752
                  <value type="string" key="name">dataset</value>
690 753
                  <link type="object" struct-name="GrtNamedObject" key="owner">be8cb246-a6e0-11e2-95e9-080027bcf912</link>
......
12854 12917
                      <value type="string" key="oldName">name</value>
12855 12918
                      <link type="object" struct-name="GrtObject" key="owner">afc401d4-1df9-11e3-bbb6-080027bcf912</link>
12856 12919
                    </value>
12857
                    <value type="object" struct-name="db.mysql.Column" id="afc409b8-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x783b5183">
12858
                      <value type="int" key="autoIncrement">0</value>
12859
                      <value type="string" key="characterSetName"></value>
12860
                      <value _ptr_="0xbc86288" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
12861
                      <value type="string" key="collationName"></value>
12862
                      <value type="string" key="datatypeExplicitParams"></value>
12863
                      <value type="string" key="defaultValue"></value>
12864
                      <value type="int" key="defaultValueIsNull">1</value>
12865
                      <value _ptr_="0xbc86608" type="list" content-type="string" key="flags"/>
12866
                      <value type="int" key="isNotNull">0</value>
12867
                      <value type="int" key="length">767</value>
12868
                      <value type="int" key="precision">-1</value>
12869
                      <value type="int" key="scale">-1</value>
12870
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
12871
                      <value type="string" key="comment"></value>
12872
                      <value type="string" key="name">parent</value>
12873
                      <value type="string" key="oldName">parent</value>
12874
                      <link type="object" struct-name="GrtObject" key="owner">afc401d4-1df9-11e3-bbb6-080027bcf912</link>
12875
                    </value>
12876 12920
                    <value type="object" struct-name="db.mysql.Column" id="afc4158e-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x783b5183">
12877 12921
                      <value type="int" key="autoIncrement">0</value>
12878 12922
                      <value type="string" key="characterSetName"></value>
......
12897 12941
                  <value type="string" key="defaultCharacterSetName">utf8</value>
12898 12942
                  <value type="string" key="defaultCollationName">utf8_bin</value>
12899 12943
                  <value type="int" key="delayKeyWrite">0</value>
12900
                  <value _ptr_="0xbc85688" type="list" content-type="object" content-struct-name="db.mysql.ForeignKey" key="foreignKeys">
12901
                    <value type="object" struct-name="db.mysql.ForeignKey" id="afc417e6-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x70a8fc40">
12902
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">afc401d4-1df9-11e3-bbb6-080027bcf912</link>
12903
                      <value _ptr_="0xbc86c50" type="list" content-type="object" content-struct-name="db.Column" key="columns">
12904
                        <link type="object">afc409b8-1df9-11e3-bbb6-080027bcf912</link>
12905
                      </value>
12906
                      <value type="int" key="deferability">0</value>
12907
                      <value type="string" key="deleteRule">CASCADE</value>
12908
                      <link type="object" struct-name="db.Index" key="index">afc4268c-1df9-11e3-bbb6-080027bcf912</link>
12909
                      <value type="int" key="mandatory">1</value>
12910
                      <value type="int" key="many">1</value>
12911
                      <value type="int" key="modelOnly">0</value>
12912
                      <link type="object" struct-name="db.Table" key="owner">afc401d4-1df9-11e3-bbb6-080027bcf912</link>
12913
                      <value _ptr_="0xbc86fb8" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
12914
                        <link type="object">afc4053a-1df9-11e3-bbb6-080027bcf912</link>
12915
                      </value>
12916
                      <value type="int" key="referencedMandatory">0</value>
12917
                      <value type="string" key="updateRule">CASCADE</value>
12918
                      <value type="string" key="comment"></value>
12919
                      <value type="string" key="name">fk_source10</value>
12920
                      <value type="string" key="oldName">fk_source10</value>
12921
                    </value>
12922
                  </value>
12944
                  <value _ptr_="0xbc85688" type="list" content-type="object" content-struct-name="db.mysql.ForeignKey" key="foreignKeys"/>
12923 12945
                  <value _ptr_="0xbc856d8" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
12924 12946
                    <value type="object" struct-name="db.mysql.Index" id="afc41fc0-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x309b847a">
12925 12947
                      <value _ptr_="0xbc87048" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
......
12946 12968
                    </value>
12947 12969
                    <value type="object" struct-name="db.mysql.Index" id="afc422b8-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x309b847a">
12948 12970
                      <value _ptr_="0xbc87428" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
12949
                        <value type="object" struct-name="db.mysql.IndexColumn" id="afc423d0-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x62630b3c">
12950
                          <value type="int" key="columnLength">0</value>
12951
                          <value type="string" key="comment"></value>
12952
                          <value type="int" key="descend">0</value>
12953
                          <link type="object" struct-name="db.Column" key="referencedColumn">afc409b8-1df9-11e3-bbb6-080027bcf912</link>
12954
                          <value type="string" key="name"></value>
12955
                          <link type="object" struct-name="GrtObject" key="owner">afc422b8-1df9-11e3-bbb6-080027bcf912</link>
12956
                        </value>
12957 12971
                        <value type="object" struct-name="db.mysql.IndexColumn" id="afc424f2-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x62630b3c">
12958 12972
                          <value type="int" key="columnLength">0</value>
12959 12973
                          <value type="string" key="comment"></value>
......
12975 12989
                      <value type="string" key="oldName">source_unique</value>
12976 12990
                      <link type="object" struct-name="GrtObject" key="owner">afc401d4-1df9-11e3-bbb6-080027bcf912</link>
12977 12991
                    </value>
12978
                    <value type="object" struct-name="db.mysql.Index" id="afc4268c-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x309b847a">
12979
                      <value _ptr_="0xbc87b08" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
12980
                        <value type="object" struct-name="db.mysql.IndexColumn" id="afc4279a-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x62630b3c">
12981
                          <value type="int" key="columnLength">0</value>
12982
                          <value type="string" key="comment"></value>
12983
                          <value type="int" key="descend">0</value>
12984
                          <link type="object" struct-name="db.Column" key="referencedColumn">afc409b8-1df9-11e3-bbb6-080027bcf912</link>
12985
                          <value type="string" key="name"></value>
12986
                          <link type="object" struct-name="GrtObject" key="owner">afc4268c-1df9-11e3-bbb6-080027bcf912</link>
12987
                        </value>
12988
                      </value>
12989
                      <value type="string" key="indexKind"></value>
12990
                      <value type="int" key="keyBlockSize">0</value>
12991
                      <value type="string" key="withParser"></value>
12992
                      <value type="string" key="comment"></value>
12993
                      <value type="int" key="deferability">0</value>
12994
                      <value type="string" key="indexType">INDEX</value>
12995
                      <value type="int" key="isPrimary">0</value>
12996
                      <value type="string" key="name">fk_source1_idx</value>
12997
                      <value type="int" key="unique">0</value>
12998
                      <value type="string" key="oldName">fk_source1_idx</value>
12999
                      <link type="object" struct-name="GrtObject" key="owner">afc401d4-1df9-11e3-bbb6-080027bcf912</link>
13000
                    </value>
13001 12992
                  </value>
13002 12993
                  <value type="string" key="maxRows"></value>
13003 12994
                  <value type="string" key="mergeInsert"></value>
......
15843 15834
                <value type="int" key="visible">1</value>
15844 15835
                <value type="string" key="name"></value>
15845 15836
              </value>
15846
              <value type="object" struct-name="workbench.physical.Connection" id="afc4f012-1df9-11e3-bbb6-080027bcf912" struct-checksum="0x9baebc92">
15847
                <value type="string" key="caption">fk_source10</value>
15848
                <value type="real" key="captionXOffs">0.e+00</value>
15849
                <value type="real" key="captionYOffs">0.e+00</value>
15850
                <value type="string" key="comment"></value>
15851
                <value type="real" key="endCaptionXOffs">0.e+00</value>
15852
                <value type="real" key="endCaptionYOffs">0.e+00</value>
15853
                <value type="string" key="extraCaption"></value>
15854
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
15855
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
15856
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">afc417e6-1df9-11e3-bbb6-080027bcf912</link>
15857
                <value type="real" key="middleSegmentOffset">0.e+00</value>
15858
                <value type="real" key="startCaptionXOffs">0.e+00</value>
15859
                <value type="real" key="startCaptionYOffs">0.e+00</value>
15860
                <value type="int" key="drawSplit">0</value>
15861
                <link type="object" struct-name="model.Figure" key="endFigure">afc4521a-1df9-11e3-bbb6-080027bcf912</link>
15862
                <link type="object" struct-name="model.Figure" key="startFigure">afc4521a-1df9-11e3-bbb6-080027bcf912</link>
15863
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
15864
                <value type="int" key="visible">1</value>
15865
                <value type="string" key="name"></value>
15866
              </value>
15867 15837
              <value type="object" struct-name="workbench.physical.Connection" id="34ed2e2a-1dfb-11e3-bbb6-080027bcf912" struct-checksum="0x9baebc92">
15868 15838
                <value type="string" key="caption">fk_record_source1</value>
15869 15839
                <value type="real" key="captionXOffs">0.e+00</value>
......
15917 15887
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
15918 15888
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
15919 15889
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">6a2c268a-1dfc-11e3-bbb6-080027bcf912</link>
15920
                <value type="real" key="middleSegmentOffset">2.08463359189526045156526379287242889404296875e+01</value>
15890
                <value type="real" key="middleSegmentOffset">-7.076507974642709086765535175800323486328125e+00</value>
15921 15891
                <value type="real" key="startCaptionXOffs">0.e+00</value>
15922 15892
                <value type="real" key="startCaptionYOffs">0.e+00</value>
15923 15893
                <value type="int" key="drawSplit">0</value>
......
15990 15960
                <value type="int" key="visible">1</value>
15991 15961
                <value type="string" key="name"></value>
15992 15962
              </value>
15963
              <value type="object" struct-name="workbench.physical.Connection" id="115708c6-2393-11e3-a6f3-080027bcf912" struct-checksum="0x9baebc92">
15964
                <value type="string" key="caption">fk_dataset_dataset1</value>
15965
                <value type="real" key="captionXOffs">0.e+00</value>
15966
                <value type="real" key="captionYOffs">0.e+00</value>
15967
                <value type="string" key="comment"></value>
15968
                <value type="real" key="endCaptionXOffs">0.e+00</value>
15969
                <value type="real" key="endCaptionYOffs">0.e+00</value>
15970
                <value type="string" key="extraCaption"></value>
15971
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
15972
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
15973
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">1156cf50-2393-11e3-a6f3-080027bcf912</link>
15974
                <value type="real" key="middleSegmentOffset">0.e+00</value>
15975
                <value type="real" key="startCaptionXOffs">0.e+00</value>
15976
                <value type="real" key="startCaptionYOffs">0.e+00</value>
15977
                <value type="int" key="drawSplit">0</value>
15978
                <link type="object" struct-name="model.Figure" key="endFigure">39C6F66E-A650-49AE-8EDD-9D8A567EFBEA</link>
15979
                <link type="object" struct-name="model.Figure" key="startFigure">39C6F66E-A650-49AE-8EDD-9D8A567EFBEA</link>
15980
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
15981
                <value type="int" key="visible">1</value>
15982
                <value type="string" key="name"></value>
15983
              </value>
15993 15984
            </value>
15994 15985
            <value type="string" key="description"></value>
15995 15986
            <value _ptr_="0xbc8d138" type="list" content-type="object" content-struct-name="model.Figure" key="figures">
......
16017 16008
                <value type="int" key="triggersExpanded">0</value>
16018 16009
                <value type="string" key="color">#99ccff</value>
16019 16010
                <value type="int" key="expanded">1</value>
16020
                <value type="real" key="height">1.69e+02</value>
16011
                <value type="real" key="height">1.92e+02</value>
16021 16012
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
16022
                <value type="real" key="left">3.9e+01</value>
16013
                <value type="real" key="left">4.e+01</value>
16023 16014
                <value type="int" key="locked">0</value>
16024 16015
                <value type="int" key="manualSizing">0</value>
16025
                <value type="real" key="top">7.07e+02</value>
16016
                <value type="real" key="top">6.96e+02</value>
16026 16017
                <value type="real" key="width">1.06e+02</value>
16027 16018
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
16028 16019
                <value type="int" key="visible">1</value>
......
16562 16553
                <value type="real" key="left">1.2e+01</value>
16563 16554
                <value type="int" key="locked">0</value>
16564 16555
                <value type="int" key="manualSizing">0</value>
16565
                <value type="real" key="top">9.33e+02</value>
16556
                <value type="real" key="top">9.74e+02</value>
16566 16557
                <value type="real" key="width">8.1e+01</value>
16567 16558
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
16568 16559
                <value type="int" key="visible">1</value>
......
17028 17019
                <value type="real" key="left">8.e+00</value>
17029 17020
                <value type="int" key="locked">0</value>
17030 17021
                <value type="int" key="manualSizing">0</value>
17031
                <value type="real" key="top">1.098e+03</value>
17022
                <value type="real" key="top">1.139e+03</value>
17032 17023
                <value type="real" key="width">1.21e+02</value>
17033 17024
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17034 17025
                <value type="int" key="visible">1</value>
......
17168 17159
                <value type="real" key="left">1.87e+02</value>
17169 17160
                <value type="int" key="locked">0</value>
17170 17161
                <value type="int" key="manualSizing">0</value>
17171
                <value type="real" key="top">8.18e+02</value>
17162
                <value type="real" key="top">8.59e+02</value>
17172 17163
                <value type="real" key="width">1.03e+02</value>
17173 17164
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17174 17165
                <value type="int" key="visible">1</value>
......
17188 17179
                <value type="real" key="left">1.46e+02</value>
17189 17180
                <value type="int" key="locked">0</value>
17190 17181
                <value type="int" key="manualSizing">0</value>
17191
                <value type="real" key="top">9.22e+02</value>
17182
                <value type="real" key="top">9.63e+02</value>
17192 17183
                <value type="real" key="width">1.39e+02</value>
17193 17184
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17194 17185
                <value type="int" key="visible">1</value>
......
17560 17551
                <value type="int" key="expanded">1</value>
17561 17552
                <value type="real" key="height">1.e+02</value>
17562 17553
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
17563
                <value type="real" key="left">1.67e+02</value>
17554
                <value type="real" key="left">1.85e+02</value>
17564 17555
                <value type="int" key="locked">0</value>
17565 17556
                <value type="int" key="manualSizing">0</value>
17566
                <value type="real" key="top">6.74e+02</value>
17557
                <value type="real" key="top">6.57e+02</value>
17567 17558
                <value type="real" key="width">1.06e+02</value>
17568 17559
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17569 17560
                <value type="int" key="visible">1</value>
......
17578 17569
                <value type="int" key="triggersExpanded">0</value>
17579 17570
                <value type="string" key="color">#99ccff</value>
17580 17571
                <value type="int" key="expanded">1</value>
17581
                <value type="real" key="height">1.23e+02</value>
17572
                <value type="real" key="height">1.e+02</value>
17582 17573
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
17583 17574
                <value type="real" key="left">1.e+01</value>
17584 17575
                <value type="int" key="locked">0</value>
17585 17576
                <value type="int" key="manualSizing">0</value>
17586
                <value type="real" key="top">5.45e+02</value>
17577
                <value type="real" key="top">5.36e+02</value>
17587 17578
                <value type="real" key="width">8.9e+01</value>
17588 17579
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17589 17580
                <value type="int" key="visible">1</value>
......
17745 17736
        <link type="object" struct-name="db.mgmt.Rdbms" key="rdbms">com.mysql.rdbms.mysql</link>
17746 17737
        <value _ptr_="0xbbde3b8" type="list" content-type="object" content-struct-name="db.Script" key="scripts"/>
17747 17738
        <value _ptr_="0xa949130" type="dict" key="syncProfiles">
17748
          <value type="object" struct-name="db.mgmt.SyncProfile" id="d836d830-238f-11e3-a6f3-080027bcf912" struct-checksum="0xc64972c2" key="">
17749
            <value _ptr_="0xd86fa08" type="dict" key="lastKnownDBNames">
17739
          <value type="object" struct-name="db.mgmt.SyncProfile" id="96d856a8-2393-11e3-a6f3-080027bcf912" struct-checksum="0xc64972c2" key="">
17740
            <value _ptr_="0xd6e3150" type="dict" key="lastKnownDBNames">
17750 17741
              <value type="string" key="01b2e3fe-f6ed-11e2-9cf1-080027bcf912">fk_georeferencing_party_list1</value>
17751 17742
              <value type="string" key="01b2e606-f6ed-11e2-9cf1-080027bcf912">georeferenced_by</value>
17752 17743
              <value type="string" key="01b2fe70-f6ed-11e2-9cf1-080027bcf912">fk_georeferencing_party_list1_idx</value>
......
17782 17773
              <value type="string" key="0de3ba38-1dec-11e3-b571-080027bcf912">fk_record_source1_idx</value>
17783 17774
              <value type="string" key="10b01930-1dcb-11e3-b98c-080027bcf912">fk_taxon_occurrence_taxon_determination3_idx</value>
17784 17775
              <value type="string" key="110c72d2-a73f-11e2-9fbf-080027bcf912">stem_observation_unique</value>
17776
              <value type="string" key="1156cf50-2393-11e3-a6f3-080027bcf912">fk_dataset_dataset1</value>
17777
              <value type="string" key="1156d180-2393-11e3-a6f3-080027bcf912">parent</value>
17778
              <value type="string" key="1156fa5c-2393-11e3-a6f3-080027bcf912">fk_dataset_dataset1_idx</value>
17785 17779
              <value type="string" key="11b487b4-f97f-11e2-8a2e-080027bcf912">fk_taxon_name_taxon_path1</value>
17786 17780
              <value type="string" key="11b489bc-f97f-11e2-8a2e-080027bcf912">taxon_path</value>
17787 17781
              <value type="string" key="11b49e5c-f97f-11e2-8a2e-080027bcf912">fk_taxon_name_taxon_path1_idx</value>
......
18080 18074
              <value type="string" key="aed5d5c4-a769-11e2-92a3-080027bcf912">cf_aff</value>
18081 18075
              <value type="string" key="afc401d4-1df9-11e3-bbb6-080027bcf912">source</value>
18082 18076
              <value type="string" key="afc4053a-1df9-11e3-bbb6-080027bcf912">id</value>
18083
              <value type="string" key="afc409b8-1df9-11e3-bbb6-080027bcf912">parent</value>
18084 18077
              <value type="string" key="afc40c10-1df9-11e3-bbb6-080027bcf912">name</value>
18085 18078
              <value type="string" key="afc4158e-1df9-11e3-bbb6-080027bcf912">info</value>
18086
              <value type="string" key="afc417e6-1df9-11e3-bbb6-080027bcf912">fk_source10</value>
18087 18079
              <value type="string" key="afc41fc0-1df9-11e3-bbb6-080027bcf912">PRIMARY</value>
18088 18080
              <value type="string" key="afc422b8-1df9-11e3-bbb6-080027bcf912">source_unique</value>
18089
              <value type="string" key="afc4268c-1df9-11e3-bbb6-080027bcf912">fk_source1_idx</value>
18090 18081
              <value type="string" key="b19ab98a-a6e9-11e2-98a6-080027bcf912">PRIMARY</value>
18091 18082
              <value type="string" key="b3ac613c-0086-11e3-ac06-080027bcf912">fk_reobservable_presence_reobservable1</value>
18092 18083
              <value type="string" key="b55f115c-a792-11e2-84c3-080027bcf912">name</value>
......
18383 18374
    <value type="object" struct-name="app.DocumentInfo" id="BEE3982F-55A1-4B2C-914A-CD6953803AB9" struct-checksum="0xbba780b8" key="info">
18384 18375
      <value type="string" key="author">Aaron Marcuse-Kubitza</value>
18385 18376
      <value type="string" key="caption">New Model</value>
18386
      <value type="string" key="dateChanged">2013-09-22 07:06</value>
18377
      <value type="string" key="dateChanged">2013-09-22 07:30</value>
18387 18378
      <value type="string" key="dateCreated">2012-01-19 14:06</value>
18388 18379
      <value type="string" key="description"></value>
18389 18380
      <value type="string" key="project">Name of the project</value>
schemas/VegCore/VegCore.my.sql
126 126
/*!40101 SET character_set_client = utf8 */;
127 127
CREATE TABLE `dataset` (
128 128
  `id` varbinary(767) NOT NULL,
129
  `parent` varbinary(767) DEFAULT NULL,
129 130
  `metadata_source` varbinary(767) DEFAULT NULL COMMENT 'where the information *about* the dataset came from (as opposed to where the dataset came from)',
130 131
  `first_publisher` varbinary(767) DEFAULT NULL,
131 132
  `data_owners` varbinary(767) DEFAULT NULL COMMENT 'parties who must be given attribution, such as copyrightholders',
......
136 137
  KEY `fk_source_party_list1_idx` (`data_owners`),
137 138
  KEY `fk_source_party1_idx` (`contacts`),
138 139
  KEY `fk_dataset_source2_idx` (`metadata_source`),
140
  KEY `fk_dataset_dataset1_idx` (`parent`),
139 141
  CONSTRAINT `fk_source_party1` FOREIGN KEY (`contacts`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
140 142
  CONSTRAINT `fk_dataset_source2` FOREIGN KEY (`metadata_source`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
143
  CONSTRAINT `fk_dataset_dataset1` FOREIGN KEY (`parent`) REFERENCES `dataset` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
141 144
  CONSTRAINT `fk_dataset_source1` FOREIGN KEY (`id`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
142 145
  CONSTRAINT `fk_dataset_traceable1` FOREIGN KEY (`id`) REFERENCES `traceable` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
143 146
  CONSTRAINT `fk_source_party2` FOREIGN KEY (`first_publisher`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
......
849 852
CREATE TABLE `source` (
850 853
  `id` varbinary(767) NOT NULL,
851 854
  `name` varbinary(767) NOT NULL,
852
  `parent` varbinary(767) DEFAULT NULL,
853 855
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
854 856
  PRIMARY KEY (`id`),
855
  UNIQUE KEY `source_unique` (`parent`,`name`),
856
  KEY `fk_source1_idx` (`parent`),
857
  CONSTRAINT `fk_source10` FOREIGN KEY (`parent`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
857
  UNIQUE KEY `source_unique` (`name`)
858 858
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='where something came from; a "reference [...] cited within the database" ("VegBank":http://reference.VegBank.vegpath.org); = VegBank.vegpath.org?reference';
859 859
/*!40101 SET character_set_client = @saved_cs_client */;
860 860

  
schemas/VegCore/VegCore.pg.sql
128 128
/*!40101 SET character_set_client = utf8 */;
129 129
CREATE TABLE "dataset" (
130 130
  "id" text NOT NULL,
131
  "parent" text DEFAULT NULL,
131 132
  "metadata_source" text DEFAULT NULL /*COMMENT 'where the information *about* the dataset came from (as opposed to where the dataset came from)'*/,
132 133
  "first_publisher" text DEFAULT NULL,
133 134
  "data_owners" text DEFAULT NULL /*COMMENT 'parties who must be given attribution, such as copyrightholders'*/,
......
138 139
  /*KEY "fk_source_party_list1_idx" ("data_owners")*/CHECK (true),
139 140
  /*KEY "fk_source_party1_idx" ("contacts")*/CHECK (true),
140 141
  /*KEY "fk_dataset_source2_idx" ("metadata_source")*/CHECK (true),
142
  /*KEY "fk_dataset_dataset1_idx" ("parent")*/CHECK (true),
141 143
  /*CONSTRAINT "fk_source_party1" FOREIGN KEY ("contacts") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
142 144
  /*CONSTRAINT "fk_dataset_source2" FOREIGN KEY ("metadata_source") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
145
  /*CONSTRAINT "fk_dataset_dataset1" FOREIGN KEY ("parent") REFERENCES "dataset" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
143 146
  /*CONSTRAINT "fk_dataset_source1" FOREIGN KEY ("id") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
144 147
  /*CONSTRAINT "fk_dataset_traceable1" FOREIGN KEY ("id") REFERENCES "traceable" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
145 148
  /*CONSTRAINT "fk_source_party2" FOREIGN KEY ("first_publisher") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
......
851 854
CREATE TABLE "source" (
852 855
  "id" text NOT NULL,
853 856
  "name" text NOT NULL,
854
  "parent" text DEFAULT NULL,
855 857
  "info" hstore DEFAULT NULL,
856 858
  PRIMARY KEY ("id"),
857
  /*CONSTRAINT "source_unique" */UNIQUE ("parent","name"),
858
  /*KEY "fk_source1_idx" ("parent")*/CHECK (true),
859
  /*CONSTRAINT "fk_source10" FOREIGN KEY ("parent") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
859
  /*CONSTRAINT "source_unique" */UNIQUE ("name")
860 860
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='where something came from; a "reference [...] cited within the database" ("VegBank":http://reference.VegBank.vegpath.org); = VegBank.vegpath.org?reference'*/;
861 861
/*!40101 SET character_set_client = @saved_cs_client */;
862 862

  

Also available in: Unified diff