Project

General

Profile

« Previous | Next » 

Revision 10460

schemas/VegCore/VegCore.ERD.mwb: event: moved method to separate sampling_event subclass

View differences:

schemas/VegCore/document.mwb.xml
3006 3006
                  <value type="string" key="defaultCollationName">utf8_bin</value>
3007 3007
                  <value type="int" key="delayKeyWrite">0</value>
3008 3008
                  <value _ptr_="0x9fcc5f8" type="list" content-type="object" content-struct-name="db.mysql.ForeignKey" key="foreignKeys">
3009
                    <value type="object" struct-name="db.mysql.ForeignKey" id="6580af0a-a7a7-11e2-8ba6-080027bcf912" struct-checksum="0x70a8fc40">
3010
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">c672743a-a7a0-11e2-b667-080027bcf912</link>
3011
                      <value _ptr_="0x9fcef00" type="list" content-type="object" content-struct-name="db.Column" key="columns">
3012
                        <link type="object">16537d54-a7a7-11e2-8ba6-080027bcf912</link>
3013
                      </value>
3014
                      <value type="int" key="deferability">0</value>
3015
                      <value type="string" key="deleteRule">CASCADE</value>
3016
                      <value type="int" key="mandatory">0</value>
3017
                      <value type="int" key="many">0</value>
3018
                      <value type="int" key="modelOnly">0</value>
3019
                      <link type="object" struct-name="db.Table" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link>
3020
                      <value _ptr_="0x9fcf268" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
3021
                        <link type="object">c67276b0-a7a0-11e2-b667-080027bcf912</link>
3022
                      </value>
3023
                      <value type="int" key="referencedMandatory">1</value>
3024
                      <value type="string" key="updateRule">CASCADE</value>
3025
                      <value type="string" key="comment"></value>
3026
                      <value type="string" key="name">fk_taxon_observation_event1</value>
3027
                      <value type="string" key="oldName">fk_taxon_observation_event1</value>
3028
                    </value>
3029 3009
                    <value type="object" struct-name="db.mysql.ForeignKey" id="1c07f840-a7a9-11e2-8ba6-080027bcf912" struct-checksum="0x70a8fc40">
3030 3010
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">c672a8d8-a7a0-11e2-b667-080027bcf912</link>
3031 3011
                      <value _ptr_="0x9fcf2d8" type="list" content-type="object" content-struct-name="db.Column" key="columns">
......
3089 3069
                      <value type="string" key="name">fk_taxon_observation_party_list1</value>
3090 3070
                      <value type="string" key="oldName">fk_taxon_observation_party_list1</value>
3091 3071
                    </value>
3072
                    <value type="object" struct-name="db.mysql.ForeignKey" id="67fa5b28-f6c1-11e2-af44-080027bcf912" struct-checksum="0x70a8fc40">
3073
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">7f176964-f6c0-11e2-af44-080027bcf912</link>
3074
                      <value _ptr_="0xa7d9da0" type="list" content-type="object" content-struct-name="db.Column" key="columns">
3075
                        <link type="object">16537d54-a7a7-11e2-8ba6-080027bcf912</link>
3076
                      </value>
3077
                      <value type="int" key="deferability">0</value>
3078
                      <value type="string" key="deleteRule">CASCADE</value>
3079
                      <value type="int" key="mandatory">0</value>
3080
                      <value type="int" key="many">0</value>
3081
                      <value type="int" key="modelOnly">0</value>
3082
                      <link type="object" struct-name="db.Table" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link>
3083
                      <value _ptr_="0xaf7df20" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
3084
                        <link type="object">7f176d06-f6c0-11e2-af44-080027bcf912</link>
3085
                      </value>
3086
                      <value type="int" key="referencedMandatory">1</value>
3087
                      <value type="string" key="updateRule">CASCADE</value>
3088
                      <value type="string" key="comment"></value>
3089
                      <value type="string" key="name">fk_taxon_observation_sampling_event1</value>
3090
                      <value type="string" key="oldName">fk_taxon_observation_sampling_event1</value>
3091
                    </value>
3092 3092
                  </value>
3093 3093
                  <value _ptr_="0x9fcc648" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
3094 3094
                    <value type="object" struct-name="db.mysql.Index" id="165395c8-a7a7-11e2-8ba6-080027bcf912" struct-checksum="0x309b847a">
......
4540 4540
                      <value type="string" key="oldName">participants</value>
4541 4541
                      <link type="object" struct-name="GrtObject" key="owner">c672743a-a7a0-11e2-b667-080027bcf912</link>
4542 4542
                    </value>
4543
                    <value type="object" struct-name="db.mysql.Column" id="c6727f0c-a7a0-11e2-b667-080027bcf912" struct-checksum="0x783b5183">
4544
                      <value type="int" key="autoIncrement">0</value>
4545
                      <value type="string" key="characterSetName"></value>
4546
                      <value _ptr_="0x9fe5240" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
4547
                      <value type="string" key="collationName"></value>
4548
                      <value type="string" key="datatypeExplicitParams"></value>
4549
                      <value type="string" key="defaultValue"></value>
4550
                      <value type="int" key="defaultValueIsNull">1</value>
4551
                      <value _ptr_="0x9fe55c0" type="list" content-type="string" key="flags"/>
4552
                      <value type="int" key="isNotNull">0</value>
4553
                      <value type="int" key="length">767</value>
4554
                      <value type="int" key="precision">-1</value>
4555
                      <value type="int" key="scale">-1</value>
4556
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
4557
                      <value type="string" key="comment"></value>
4558
                      <value type="string" key="name">method</value>
4559
                      <value type="string" key="oldName">method</value>
4560
                      <link type="object" struct-name="GrtObject" key="owner">c672743a-a7a0-11e2-b667-080027bcf912</link>
4561
                    </value>
4562 4543
                  </value>
4563 4544
                  <value type="string" key="connectionString"></value>
4564 4545
                  <value type="string" key="defaultCharacterSetName">utf8</value>
......
4628 4609
                      <value type="string" key="name">fk_event1</value>
4629 4610
                      <value type="string" key="oldName">fk_event1</value>
4630 4611
                    </value>
4631
                    <value type="object" struct-name="db.mysql.ForeignKey" id="c6729b36-a7a0-11e2-b667-080027bcf912" struct-checksum="0x70a8fc40">
4632
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8d8c2a-a6e0-11e2-95e9-080027bcf912</link>
4633
                      <value _ptr_="0x9fe6300" type="list" content-type="object" content-struct-name="db.Column" key="columns">
4634
                        <link type="object">c6727f0c-a7a0-11e2-b667-080027bcf912</link>
4635
                      </value>
4636
                      <value type="int" key="deferability">0</value>
4637
                      <value type="string" key="deleteRule">CASCADE</value>
4638
                      <link type="object" struct-name="db.Index" key="index">c6728c18-a7a0-11e2-b667-080027bcf912</link>
4639
                      <value type="int" key="mandatory">1</value>
4640
                      <value type="int" key="many">1</value>
4641
                      <value type="int" key="modelOnly">0</value>
4642
                      <link type="object" struct-name="db.Table" key="owner">c672743a-a7a0-11e2-b667-080027bcf912</link>
4643
                      <value _ptr_="0x9fe6688" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
4644
                        <link type="object">be8d8ea0-a6e0-11e2-95e9-080027bcf912</link>
4645
                      </value>
4646
                      <value type="int" key="referencedMandatory">0</value>
4647
                      <value type="string" key="updateRule">CASCADE</value>
4648
                      <value type="string" key="comment"></value>
4649
                      <value type="string" key="name">fk_event_method1</value>
4650
                      <value type="string" key="oldName">fk_event_method1</value>
4651
                    </value>
4652 4612
                    <value type="object" struct-name="db.mysql.ForeignKey" id="251c29a8-f67b-11e2-aebb-080027bcf912" struct-checksum="0x70a8fc40">
4653 4613
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">4001ec92-f678-11e2-9716-080027bcf912</link>
4654 4614
                      <value _ptr_="0x9fe66f8" type="list" content-type="object" content-struct-name="db.Column" key="columns">
......
4741 4701
                      <value type="string" key="oldName">fk_event1_idx</value>
4742 4702
                      <link type="object" struct-name="GrtObject" key="owner">c672743a-a7a0-11e2-b667-080027bcf912</link>
4743 4703
                    </value>
4744
                    <value type="object" struct-name="db.mysql.Index" id="c6728c18-a7a0-11e2-b667-080027bcf912" struct-checksum="0x309b847a">
4745
                      <value _ptr_="0x9fe7cb0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
4746
                        <value type="object" struct-name="db.mysql.IndexColumn" id="c672929e-a7a0-11e2-b667-080027bcf912" struct-checksum="0x62630b3c">
4747
                          <value type="int" key="columnLength">0</value>
4748
                          <value type="string" key="comment"></value>
4749
                          <value type="int" key="descend">0</value>
4750
                          <link type="object" struct-name="db.Column" key="referencedColumn">c6727f0c-a7a0-11e2-b667-080027bcf912</link>
4751
                          <value type="string" key="name"></value>
4752
                          <link type="object" struct-name="GrtObject" key="owner">c6728c18-a7a0-11e2-b667-080027bcf912</link>
4753
                        </value>
4754
                      </value>
4755
                      <value type="string" key="indexKind"></value>
4756
                      <value type="int" key="keyBlockSize">0</value>
4757
                      <value type="string" key="withParser"></value>
4758
                      <value type="string" key="comment"></value>
4759
                      <value type="int" key="deferability">0</value>
4760
                      <value type="string" key="indexType">INDEX</value>
4761
                      <value type="int" key="isPrimary">0</value>
4762
                      <value type="string" key="name">fk_event_method1_idx</value>
4763
                      <value type="int" key="unique">0</value>
4764
                      <value type="string" key="oldName">fk_event_method1_idx</value>
4765
                      <link type="object" struct-name="GrtObject" key="owner">c672743a-a7a0-11e2-b667-080027bcf912</link>
4766
                    </value>
4767 4704
                    <value type="object" struct-name="db.mysql.Index" id="251c57de-f67b-11e2-aebb-080027bcf912" struct-checksum="0x309b847a">
4768 4705
                      <value _ptr_="0x9fe8390" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
4769 4706
                        <value type="object" struct-name="db.mysql.IndexColumn" id="251c596e-f67b-11e2-aebb-080027bcf912" struct-checksum="0x62630b3c">
......
7850 7787
                      <value type="string" key="name">fk_place_observation_community1</value>
7851 7788
                      <value type="string" key="oldName">fk_place_observation_community1</value>
7852 7789
                    </value>
7853
                    <value type="object" struct-name="db.mysql.ForeignKey" id="be8f4ff6-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x70a8fc40">
7854
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">c672743a-a7a0-11e2-b667-080027bcf912</link>
7855
                      <value _ptr_="0xa0160c8" type="list" content-type="object" content-struct-name="db.Column" key="columns">
7790
                    <value type="object" struct-name="db.mysql.ForeignKey" id="eaefe558-f6c0-11e2-af44-080027bcf912" struct-checksum="0x70a8fc40">
7791
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">7f176964-f6c0-11e2-af44-080027bcf912</link>
7792
                      <value _ptr_="0xa9d03b8" type="list" content-type="object" content-struct-name="db.Column" key="columns">
7856 7793
                        <link type="object">be8f3ade-a6e0-11e2-95e9-080027bcf912</link>
7857 7794
                      </value>
7858 7795
                      <value type="int" key="deferability">0</value>
7859 7796
                      <value type="string" key="deleteRule">CASCADE</value>
7860
                      <link type="object" struct-name="db.Index" key="index">be9065e4-a6e0-11e2-95e9-080027bcf912</link>
7861
                      <value type="int" key="mandatory">0</value>
7862
                      <value type="int" key="many">0</value>
7797
                      <value type="int" key="mandatory">1</value>
7798
                      <value type="int" key="many">1</value>
7863 7799
                      <value type="int" key="modelOnly">0</value>
7864 7800
                      <link type="object" struct-name="db.Table" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
7865
                      <value _ptr_="0xa016450" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
7866
                        <link type="object">c67276b0-a7a0-11e2-b667-080027bcf912</link>
7801
                      <value _ptr_="0xa89a478" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
7802
                        <link type="object">7f176d06-f6c0-11e2-af44-080027bcf912</link>
7867 7803
                      </value>
7868 7804
                      <value type="int" key="referencedMandatory">1</value>
7869 7805
                      <value type="string" key="updateRule">CASCADE</value>
7870 7806
                      <value type="string" key="comment"></value>
7871
                      <value type="string" key="name">fk_place_observation_event1</value>
7872
                      <value type="string" key="oldName">fk_place_observation_event1</value>
7807
                      <value type="string" key="name">fk_place_observation_sampling_event1</value>
7808
                      <value type="string" key="oldName">fk_place_observation_sampling_event1</value>
7873 7809
                    </value>
7874 7810
                  </value>
7875 7811
                  <value _ptr_="0xa012c48" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
......
7942 7878
                      <value type="string" key="oldName">fk_place_observation_community1_idx</value>
7943 7879
                      <link type="object" struct-name="GrtObject" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
7944 7880
                    </value>
7945
                    <value type="object" struct-name="db.mysql.Index" id="be9065e4-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x309b847a">
7946
                      <value _ptr_="0xa017680" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
7947
                        <value type="object" struct-name="db.mysql.IndexColumn" id="be9065e5-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x62630b3c">
7948
                          <value type="int" key="columnLength">0</value>
7949
                          <value type="string" key="comment"></value>
7950
                          <value type="int" key="descend">0</value>
7951
                          <link type="object" struct-name="db.Column" key="referencedColumn">be8f3ade-a6e0-11e2-95e9-080027bcf912</link>
7952
                          <value type="string" key="name"></value>
7953
                          <link type="object" struct-name="GrtObject" key="owner">be9065e4-a6e0-11e2-95e9-080027bcf912</link>
7954
                        </value>
7955
                      </value>
7956
                      <value type="string" key="indexKind"></value>
7957
                      <value type="int" key="keyBlockSize">0</value>
7958
                      <value type="string" key="withParser"></value>
7959
                      <value type="string" key="comment"></value>
7960
                      <value type="int" key="deferability">0</value>
7961
                      <value type="string" key="indexType">INDEX</value>
7962
                      <value type="int" key="isPrimary">0</value>
7963
                      <value type="string" key="name">fk_place_observation_event1_idx</value>
7964
                      <value type="int" key="unique">0</value>
7965
                      <value type="string" key="oldName">fk_place_observation_event1_idx</value>
7966
                      <link type="object" struct-name="GrtObject" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
7967
                    </value>
7968 7881
                    <value type="object" struct-name="db.mysql.Index" id="b19ab98a-a6e9-11e2-98a6-080027bcf912" struct-checksum="0x309b847a">
7969 7882
                      <value _ptr_="0xa017d60" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
7970 7883
                        <value type="object" struct-name="db.mysql.IndexColumn" id="b19b714a-a6e9-11e2-98a6-080027bcf912" struct-checksum="0x62630b3c">
......
9825 9738
                  <value type="string" key="comment">An observation that a [[VegCore#Taxon|Taxon]]'s does _not_ exist in a place</value>
9826 9739
                  <value type="string" key="oldName">taxon_absence</value>
9827 9740
                </value>
9741
                <value type="object" struct-name="db.mysql.Table" id="7f176964-f6c0-11e2-af44-080027bcf912" struct-checksum="0x1a403946">
9742
                  <value type="string" key="avgRowLength"></value>
9743
                  <value type="int" key="checksum">0</value>
9744
                  <value _ptr_="0xa8a0948" type="list" content-type="object" content-struct-name="db.mysql.Column" key="columns">
9745
                    <value type="object" struct-name="db.mysql.Column" id="7f176d06-f6c0-11e2-af44-080027bcf912" struct-checksum="0x783b5183">
9746
                      <value type="int" key="autoIncrement">0</value>
9747
                      <value type="string" key="characterSetName"></value>
9748
                      <value _ptr_="0xa722bc8" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
9749
                      <value type="string" key="collationName"></value>
9750
                      <value type="string" key="datatypeExplicitParams"></value>
9751
                      <value type="string" key="defaultValue"></value>
9752
                      <value type="int" key="defaultValueIsNull">0</value>
9753
                      <value _ptr_="0xa079220" type="list" content-type="string" key="flags"/>
9754
                      <value type="int" key="isNotNull">1</value>
9755
                      <value type="int" key="length">767</value>
9756
                      <value type="int" key="precision">-1</value>
9757
                      <value type="int" key="scale">-1</value>
9758
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
9759
                      <value type="string" key="comment"></value>
9760
                      <value type="string" key="name">id</value>
9761
                      <value type="string" key="oldName">id</value>
9762
                      <link type="object" struct-name="GrtObject" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
9763
                    </value>
9764
                    <value type="object" struct-name="db.mysql.Column" id="a841ba7e-f6c0-11e2-af44-080027bcf912" struct-checksum="0x783b5183">
9765
                      <value type="int" key="autoIncrement">0</value>
9766
                      <value type="string" key="characterSetName"></value>
9767
                      <value _ptr_="0xab62508" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
9768
                      <value type="string" key="collationName"></value>
9769
                      <value type="string" key="datatypeExplicitParams"></value>
9770
                      <value type="string" key="defaultValue"></value>
9771
                      <value type="int" key="defaultValueIsNull">0</value>
9772
                      <value _ptr_="0xacf22b8" type="list" content-type="string" key="flags"/>
9773
                      <value type="int" key="isNotNull">0</value>
9774
                      <value type="int" key="length">767</value>
9775
                      <value type="int" key="precision">-1</value>
9776
                      <value type="int" key="scale">-1</value>
9777
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
9778
                      <value type="string" key="comment"></value>
9779
                      <value type="string" key="name">method</value>
9780
                      <value type="string" key="oldName">method_id</value>
9781
                      <link type="object" struct-name="GrtObject" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
9782
                    </value>
9783
                  </value>
9784
                  <value type="string" key="connectionString"></value>
9785
                  <value type="string" key="defaultCharacterSetName">utf8</value>
9786
                  <value type="string" key="defaultCollationName">utf8_bin</value>
9787
                  <value type="int" key="delayKeyWrite">0</value>
9788
                  <value _ptr_="0xa732c00" type="list" content-type="object" content-struct-name="db.mysql.ForeignKey" key="foreignKeys">
9789
                    <value type="object" struct-name="db.mysql.ForeignKey" id="7f177512-f6c0-11e2-af44-080027bcf912" struct-checksum="0x70a8fc40">
9790
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">c672743a-a7a0-11e2-b667-080027bcf912</link>
9791
                      <value _ptr_="0xaf9f068" type="list" content-type="object" content-struct-name="db.Column" key="columns">
9792
                        <link type="object">7f176d06-f6c0-11e2-af44-080027bcf912</link>
9793
                      </value>
9794
                      <value type="int" key="deferability">0</value>
9795
                      <value type="string" key="deleteRule">CASCADE</value>
9796
                      <link type="object" struct-name="db.Index" key="index">7f177760-f6c0-11e2-af44-080027bcf912</link>
9797
                      <value type="int" key="mandatory">0</value>
9798
                      <value type="int" key="many">0</value>
9799
                      <value type="int" key="modelOnly">0</value>
9800
                      <link type="object" struct-name="db.Table" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
9801
                      <value _ptr_="0xad25dc8" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
9802
                        <link type="object">c67276b0-a7a0-11e2-b667-080027bcf912</link>
9803
                      </value>
9804
                      <value type="int" key="referencedMandatory">1</value>
9805
                      <value type="string" key="updateRule">CASCADE</value>
9806
                      <value type="string" key="comment"></value>
9807
                      <value type="string" key="name">fk_project_event10</value>
9808
                      <value type="string" key="oldName">fk_project_event1</value>
9809
                    </value>
9810
                    <value type="object" struct-name="db.mysql.ForeignKey" id="a841b894-f6c0-11e2-af44-080027bcf912" struct-checksum="0x70a8fc40">
9811
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8d8c2a-a6e0-11e2-95e9-080027bcf912</link>
9812
                      <value _ptr_="0xa8ab6a0" type="list" content-type="object" content-struct-name="db.Column" key="columns">
9813
                        <link type="object">a841ba7e-f6c0-11e2-af44-080027bcf912</link>
9814
                      </value>
9815
                      <value type="int" key="deferability">0</value>
9816
                      <value type="string" key="deleteRule">CASCADE</value>
9817
                      <link type="object" struct-name="db.Index" key="index">a842920a-f6c0-11e2-af44-080027bcf912</link>
9818
                      <value type="int" key="mandatory">1</value>
9819
                      <value type="int" key="many">1</value>
9820
                      <value type="int" key="modelOnly">0</value>
9821
                      <link type="object" struct-name="db.Table" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
9822
                      <value _ptr_="0xa8ab650" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
9823
                        <link type="object">be8d8ea0-a6e0-11e2-95e9-080027bcf912</link>
9824
                      </value>
9825
                      <value type="int" key="referencedMandatory">0</value>
9826
                      <value type="string" key="updateRule">CASCADE</value>
9827
                      <value type="string" key="comment"></value>
9828
                      <value type="string" key="name">fk_sampling_event_method1</value>
9829
                      <value type="string" key="oldName">fk_sampling_event_method1</value>
9830
                    </value>
9831
                  </value>
9832
                  <value _ptr_="0xa817668" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
9833
                    <value type="object" struct-name="db.mysql.Index" id="7f177760-f6c0-11e2-af44-080027bcf912" struct-checksum="0x309b847a">
9834
                      <value _ptr_="0xa8ca528" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
9835
                        <value type="object" struct-name="db.mysql.IndexColumn" id="7f1778a0-f6c0-11e2-af44-080027bcf912" struct-checksum="0x62630b3c">
9836
                          <value type="int" key="columnLength">0</value>
9837
                          <value type="string" key="comment"></value>
9838
                          <value type="int" key="descend">0</value>
9839
                          <link type="object" struct-name="db.Column" key="referencedColumn">7f176d06-f6c0-11e2-af44-080027bcf912</link>
9840
                          <value type="string" key="name"></value>
9841
                          <link type="object" struct-name="GrtObject" key="owner">7f177760-f6c0-11e2-af44-080027bcf912</link>
9842
                        </value>
9843
                      </value>
9844
                      <value type="string" key="indexKind"></value>
9845
                      <value type="int" key="keyBlockSize">0</value>
9846
                      <value type="string" key="withParser"></value>
9847
                      <value type="string" key="comment"></value>
9848
                      <value type="int" key="deferability">0</value>
9849
                      <value type="string" key="indexType">PRIMARY</value>
9850
                      <value type="int" key="isPrimary">1</value>
9851
                      <value type="string" key="name">PRIMARY</value>
9852
                      <value type="int" key="unique">0</value>
9853
                      <value type="string" key="oldName">PRIMARY</value>
9854
                      <link type="object" struct-name="GrtObject" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
9855
                    </value>
9856
                    <value type="object" struct-name="db.mysql.Index" id="a842920a-f6c0-11e2-af44-080027bcf912" struct-checksum="0x309b847a">
9857
                      <value _ptr_="0xadca6c8" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
9858
                        <value type="object" struct-name="db.mysql.IndexColumn" id="a842b0fa-f6c0-11e2-af44-080027bcf912" struct-checksum="0x62630b3c">
9859
                          <value type="int" key="columnLength">0</value>
9860
                          <value type="string" key="comment"></value>
9861
                          <value type="int" key="descend">0</value>
9862
                          <link type="object" struct-name="db.Column" key="referencedColumn">a841ba7e-f6c0-11e2-af44-080027bcf912</link>
9863
                          <value type="string" key="name"></value>
9864
                          <link type="object" struct-name="GrtObject" key="owner">a842920a-f6c0-11e2-af44-080027bcf912</link>
9865
                        </value>
9866
                      </value>
9867
                      <value type="string" key="indexKind"></value>
9868
                      <value type="int" key="keyBlockSize">0</value>
9869
                      <value type="string" key="withParser"></value>
9870
                      <value type="string" key="comment"></value>
9871
                      <value type="int" key="deferability">0</value>
9872
                      <value type="string" key="indexType">INDEX</value>
9873
                      <value type="int" key="isPrimary">0</value>
9874
                      <value type="string" key="name">fk_sampling_event_method1_idx</value>
9875
                      <value type="int" key="unique">0</value>
9876
                      <value type="string" key="oldName">fk_sampling_event_method1</value>
9877
                      <link type="object" struct-name="GrtObject" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
9878
                    </value>
9879
                  </value>
9880
                  <value type="string" key="maxRows"></value>
9881
                  <value type="string" key="mergeInsert"></value>
9882
                  <value type="string" key="mergeUnion"></value>
9883
                  <value type="string" key="minRows"></value>
9884
                  <value type="string" key="nextAutoInc"></value>
9885
                  <value type="string" key="packKeys"></value>
9886
                  <value type="int" key="partitionCount">0</value>
9887
                  <value _ptr_="0xaa305a0" type="list" content-type="object" content-struct-name="db.mysql.PartitionDefinition" key="partitionDefinitions"/>
9888
                  <value type="string" key="partitionExpression"></value>
9889
                  <value type="string" key="partitionType"></value>
9890
                  <value type="string" key="password"></value>
9891
                  <link type="object" struct-name="db.mysql.Index" key="primaryKey">7f177760-f6c0-11e2-af44-080027bcf912</link>
9892
                  <value type="string" key="raidChunkSize"></value>
9893
                  <value type="string" key="raidChunks"></value>
9894
                  <value type="string" key="raidType"></value>
9895
                  <value type="string" key="rowFormat"></value>
9896
                  <value type="int" key="subpartitionCount">0</value>
9897
                  <value type="string" key="subpartitionExpression"></value>
9898
                  <value type="string" key="subpartitionType"></value>
9899
                  <value type="string" key="tableDataDir"></value>
9900
                  <value type="string" key="tableEngine">InnoDB</value>
9901
                  <value type="string" key="tableIndexDir"></value>
9902
                  <value _ptr_="0xa9cbfa8" type="list" content-type="object" content-struct-name="db.mysql.Trigger" key="triggers"/>
9903
                  <value type="int" key="isStub">0</value>
9904
                  <value type="int" key="isSystem">0</value>
9905
                  <value type="int" key="isTemporary">0</value>
9906
                  <value type="string" key="temporaryScope"></value>
9907
                  <value type="int" key="commentedOut">0</value>
9908
                  <value type="string" key="createDate">2013-04-16 14:58</value>
9909
                  <value _ptr_="0xa700d28" type="dict" key="customData"/>
9910
                  <value type="string" key="lastChangeDate">2013-07-27 06:30</value>
9911
                  <value type="int" key="modelOnly">0</value>
9912
                  <value type="string" key="name">sampling_event</value>
9913
                  <link type="object" struct-name="GrtNamedObject" key="owner">be8cb246-a6e0-11e2-95e9-080027bcf912</link>
9914
                  <value type="string" key="temp_sql"></value>
9915
                  <value type="string" key="comment"></value>
9916
                  <value type="string" key="oldName"></value>
9917
                </value>
9828 9918
              </value>
9829 9919
              <value _ptr_="0x9fb0a90" type="list" content-type="object" content-struct-name="db.mysql.View" key="views"/>
9830 9920
              <value type="string" key="defaultCharacterSetName">utf8</value>
......
10699 10789
                <value type="int" key="visible">1</value>
10700 10790
                <value type="string" key="name"></value>
10701 10791
              </value>
10702
              <value type="object" struct-name="workbench.physical.Connection" id="d16c415e-a7a0-11e2-b667-080027bcf912" struct-checksum="0x9baebc92">
10703
                <value type="string" key="caption">fk_event_method1</value>
10704
                <value type="real" key="captionXOffs">0.e+00</value>
10705
                <value type="real" key="captionYOffs">0.e+00</value>
10706
                <value type="string" key="comment"></value>
10707
                <value type="real" key="endCaptionXOffs">0.e+00</value>
10708
                <value type="real" key="endCaptionYOffs">0.e+00</value>
10709
                <value type="string" key="extraCaption"></value>
10710
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
10711
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
10712
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">c6729b36-a7a0-11e2-b667-080027bcf912</link>
10713
                <value type="real" key="middleSegmentOffset">0.e+00</value>
10714
                <value type="real" key="startCaptionXOffs">0.e+00</value>
10715
                <value type="real" key="startCaptionYOffs">0.e+00</value>
10716
                <value type="int" key="drawSplit">0</value>
10717
                <link type="object" struct-name="model.Figure" key="endFigure">D9C4F621-07DC-4B10-A898-30DA84E9030D</link>
10718
                <link type="object" struct-name="model.Figure" key="startFigure">C43D5355-2E9C-4315-BA47-B9741D1BB3B9</link>
10719
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
10720
                <value type="int" key="visible">1</value>
10721
                <value type="string" key="name"></value>
10722
              </value>
10723 10792
              <value type="object" struct-name="workbench.physical.Connection" id="d16d3c58-a7a0-11e2-b667-080027bcf912" struct-checksum="0x9baebc92">
10724 10793
                <value type="string" key="caption">fk_place_record1</value>
10725 10794
                <value type="real" key="captionXOffs">0.e+00</value>
......
10972 11041
                <value type="int" key="visible">1</value>
10973 11042
                <value type="string" key="name"></value>
10974 11043
              </value>
10975
              <value type="object" struct-name="workbench.physical.Connection" id="d16f7342-a7a0-11e2-b667-080027bcf912" struct-checksum="0x9baebc92">
10976
                <value type="string" key="caption">fk_place_observation_event1</value>
10977
                <value type="real" key="captionXOffs">0.e+00</value>
10978
                <value type="real" key="captionYOffs">0.e+00</value>
10979
                <value type="string" key="comment"></value>
10980
                <value type="real" key="endCaptionXOffs">0.e+00</value>
10981
                <value type="real" key="endCaptionYOffs">0.e+00</value>
10982
                <value type="string" key="extraCaption"></value>
10983
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
10984
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
10985
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">be8f4ff6-a6e0-11e2-95e9-080027bcf912</link>
10986
                <value type="real" key="middleSegmentOffset">3.e+00</value>
10987
                <value type="real" key="startCaptionXOffs">0.e+00</value>
10988
                <value type="real" key="startCaptionYOffs">0.e+00</value>
10989
                <value type="int" key="drawSplit">0</value>
10990
                <link type="object" struct-name="model.Figure" key="endFigure">C43D5355-2E9C-4315-BA47-B9741D1BB3B9</link>
10991
                <link type="object" struct-name="model.Figure" key="startFigure">FF3A48D7-490E-4E77-B97B-1F51BF51FA8A</link>
10992
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
10993
                <value type="int" key="visible">1</value>
10994
                <value type="string" key="name"></value>
10995
              </value>
10996 11044
              <value type="object" struct-name="workbench.physical.Connection" id="d16f8b5c-a7a0-11e2-b667-080027bcf912" struct-checksum="0x9baebc92">
10997 11045
                <value type="string" key="caption">fk_soil_observation_place_observation1</value>
10998 11046
                <value type="real" key="captionXOffs">0.e+00</value>
......
11245 11293
                <value type="int" key="visible">1</value>
11246 11294
                <value type="string" key="name"></value>
11247 11295
              </value>
11248
              <value type="object" struct-name="workbench.physical.Connection" id="6580f546-a7a7-11e2-8ba6-080027bcf912" struct-checksum="0x9baebc92">
11249
                <value type="string" key="caption">fk_taxon_observation_event1</value>
11250
                <value type="real" key="captionXOffs">0.e+00</value>
11251
                <value type="real" key="captionYOffs">0.e+00</value>
11252
                <value type="string" key="comment"></value>
11253
                <value type="real" key="endCaptionXOffs">0.e+00</value>
11254
                <value type="real" key="endCaptionYOffs">0.e+00</value>
11255
                <value type="string" key="extraCaption"></value>
11256
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
11257
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
11258
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">6580af0a-a7a7-11e2-8ba6-080027bcf912</link>
11259
                <value type="real" key="middleSegmentOffset">7.e+00</value>
11260
                <value type="real" key="startCaptionXOffs">0.e+00</value>
11261
                <value type="real" key="startCaptionYOffs">0.e+00</value>
11262
                <value type="int" key="drawSplit">0</value>
11263
                <link type="object" struct-name="model.Figure" key="endFigure">C43D5355-2E9C-4315-BA47-B9741D1BB3B9</link>
11264
                <link type="object" struct-name="model.Figure" key="startFigure">1653ab3a-a7a7-11e2-8ba6-080027bcf912</link>
11265
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
11266
                <value type="int" key="visible">1</value>
11267
                <value type="string" key="name"></value>
11268
              </value>
11269 11296
              <value type="object" struct-name="workbench.physical.Connection" id="1c0e74a4-a7a9-11e2-8ba6-080027bcf912" struct-checksum="0x9baebc92">
11270 11297
                <value type="string" key="caption">fk_taxon_observation_taxon_occurrence2</value>
11271 11298
                <value type="real" key="captionXOffs">0.e+00</value>
......
11980 12007
                <value type="int" key="visible">1</value>
11981 12008
                <value type="string" key="name"></value>
11982 12009
              </value>
12010
              <value type="object" struct-name="workbench.physical.Connection" id="7f181abc-f6c0-11e2-af44-080027bcf912" struct-checksum="0x9baebc92">
12011
                <value type="string" key="caption">fk_project_event10</value>
12012
                <value type="real" key="captionXOffs">0.e+00</value>
12013
                <value type="real" key="captionYOffs">0.e+00</value>
12014
                <value type="string" key="comment"></value>
12015
                <value type="real" key="endCaptionXOffs">0.e+00</value>
12016
                <value type="real" key="endCaptionYOffs">0.e+00</value>
12017
                <value type="string" key="extraCaption"></value>
12018
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
12019
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
12020
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">7f177512-f6c0-11e2-af44-080027bcf912</link>
12021
                <value type="real" key="middleSegmentOffset">0.e+00</value>
12022
                <value type="real" key="startCaptionXOffs">0.e+00</value>
12023
                <value type="real" key="startCaptionYOffs">0.e+00</value>
12024
                <value type="int" key="drawSplit">0</value>
12025
                <link type="object" struct-name="model.Figure" key="endFigure">C43D5355-2E9C-4315-BA47-B9741D1BB3B9</link>
12026
                <link type="object" struct-name="model.Figure" key="startFigure">7f17a4b0-f6c0-11e2-af44-080027bcf912</link>
12027
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12028
                <value type="int" key="visible">1</value>
12029
                <value type="string" key="name"></value>
12030
              </value>
12031
              <value type="object" struct-name="workbench.physical.Connection" id="a842ecd2-f6c0-11e2-af44-080027bcf912" struct-checksum="0x9baebc92">
12032
                <value type="string" key="caption">fk_sampling_event_method1</value>
12033
                <value type="real" key="captionXOffs">0.e+00</value>
12034
                <value type="real" key="captionYOffs">0.e+00</value>
12035
                <value type="string" key="comment"></value>
12036
                <value type="real" key="endCaptionXOffs">0.e+00</value>
12037
                <value type="real" key="endCaptionYOffs">0.e+00</value>
12038
                <value type="string" key="extraCaption"></value>
12039
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
12040
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
12041
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">a841b894-f6c0-11e2-af44-080027bcf912</link>
12042
                <value type="real" key="middleSegmentOffset">0.e+00</value>
12043
                <value type="real" key="startCaptionXOffs">0.e+00</value>
12044
                <value type="real" key="startCaptionYOffs">0.e+00</value>
12045
                <value type="int" key="drawSplit">0</value>
12046
                <link type="object" struct-name="model.Figure" key="endFigure">D9C4F621-07DC-4B10-A898-30DA84E9030D</link>
12047
                <link type="object" struct-name="model.Figure" key="startFigure">7f17a4b0-f6c0-11e2-af44-080027bcf912</link>
12048
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12049
                <value type="int" key="visible">1</value>
12050
                <value type="string" key="name"></value>
12051
              </value>
12052
              <value type="object" struct-name="workbench.physical.Connection" id="eaeffb88-f6c0-11e2-af44-080027bcf912" struct-checksum="0x9baebc92">
12053
                <value type="string" key="caption">fk_place_observation_sampling_event1</value>
12054
                <value type="real" key="captionXOffs">0.e+00</value>
12055
                <value type="real" key="captionYOffs">0.e+00</value>
12056
                <value type="string" key="comment"></value>
12057
                <value type="real" key="endCaptionXOffs">0.e+00</value>
12058
                <value type="real" key="endCaptionYOffs">0.e+00</value>
12059
                <value type="string" key="extraCaption"></value>
12060
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
12061
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
12062
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">eaefe558-f6c0-11e2-af44-080027bcf912</link>
12063
                <value type="real" key="middleSegmentOffset">0.e+00</value>
12064
                <value type="real" key="startCaptionXOffs">0.e+00</value>
12065
                <value type="real" key="startCaptionYOffs">0.e+00</value>
12066
                <value type="int" key="drawSplit">0</value>
12067
                <link type="object" struct-name="model.Figure" key="endFigure">7f17a4b0-f6c0-11e2-af44-080027bcf912</link>
12068
                <link type="object" struct-name="model.Figure" key="startFigure">FF3A48D7-490E-4E77-B97B-1F51BF51FA8A</link>
12069
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12070
                <value type="int" key="visible">1</value>
12071
                <value type="string" key="name"></value>
12072
              </value>
12073
              <value type="object" struct-name="workbench.physical.Connection" id="67fa734c-f6c1-11e2-af44-080027bcf912" struct-checksum="0x9baebc92">
12074
                <value type="string" key="caption">fk_taxon_observation_sampling_event1</value>
12075
                <value type="real" key="captionXOffs">0.e+00</value>
12076
                <value type="real" key="captionYOffs">0.e+00</value>
12077
                <value type="string" key="comment"></value>
12078
                <value type="real" key="endCaptionXOffs">0.e+00</value>
12079
                <value type="real" key="endCaptionYOffs">0.e+00</value>
12080
                <value type="string" key="extraCaption"></value>
12081
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
12082
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
12083
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">67fa5b28-f6c1-11e2-af44-080027bcf912</link>
12084
                <value type="real" key="middleSegmentOffset">1.4677044673224594362181960605084896087646484375e+02</value>
12085
                <value type="real" key="startCaptionXOffs">0.e+00</value>
12086
                <value type="real" key="startCaptionYOffs">0.e+00</value>
12087
                <value type="int" key="drawSplit">0</value>
12088
                <link type="object" struct-name="model.Figure" key="endFigure">7f17a4b0-f6c0-11e2-af44-080027bcf912</link>
12089
                <link type="object" struct-name="model.Figure" key="startFigure">1653ab3a-a7a7-11e2-8ba6-080027bcf912</link>
12090
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12091
                <value type="int" key="visible">1</value>
12092
                <value type="string" key="name"></value>
12093
              </value>
11983 12094
            </value>
11984 12095
            <value type="string" key="description"></value>
11985 12096
            <value _ptr_="0xa0363e8" type="list" content-type="object" content-struct-name="model.Figure" key="figures">
......
12067 12178
                <value type="int" key="triggersExpanded">0</value>
12068 12179
                <value type="string" key="color">#66ffff</value>
12069 12180
                <value type="int" key="expanded">1</value>
12070
                <value type="real" key="height">1.92e+02</value>
12181
                <value type="real" key="height">1.69e+02</value>
12071 12182
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12072
                <value type="real" key="left">5.75e+02</value>
12183
                <value type="real" key="left">5.6e+02</value>
12073 12184
                <value type="int" key="locked">0</value>
12074 12185
                <value type="int" key="manualSizing">0</value>
12075
                <value type="real" key="top">3.73e+02</value>
12186
                <value type="real" key="top">3.69e+02</value>
12076 12187
                <value type="real" key="width">8.1e+01</value>
12077 12188
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12078 12189
                <value type="int" key="visible">1</value>
......
12089 12200
                <value type="int" key="expanded">1</value>
12090 12201
                <value type="real" key="height">1.46e+02</value>
12091 12202
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12092
                <value type="real" key="left">4.28e+02</value>
12203
                <value type="real" key="left">4.3e+02</value>
12093 12204
                <value type="int" key="locked">0</value>
12094 12205
                <value type="int" key="manualSizing">0</value>
12095 12206
                <value type="real" key="top">2.95e+02</value>
......
12109 12220
                <value type="int" key="expanded">1</value>
12110 12221
                <value type="real" key="height">1.e+02</value>
12111 12222
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12112
                <value type="real" key="left">4.99e+02</value>
12223
                <value type="real" key="left">6.78e+02</value>
12113 12224
                <value type="int" key="locked">0</value>
12114 12225
                <value type="int" key="manualSizing">0</value>
12115
                <value type="real" key="top">5.78e+02</value>
12226
                <value type="real" key="top">4.46e+02</value>
12116 12227
                <value type="real" key="width">9.e+01</value>
12117 12228
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12118 12229
                <value type="int" key="visible">1</value>
......
12129 12240
                <value type="int" key="expanded">1</value>
12130 12241
                <value type="real" key="height">1.92e+02</value>
12131 12242
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12132
                <value type="real" key="left">2.56e+02</value>
12243
                <value type="real" key="left">2.58e+02</value>
12133 12244
                <value type="int" key="locked">0</value>
12134 12245
                <value type="int" key="manualSizing">0</value>
12135
                <value type="real" key="top">5.9e+01</value>
12246
                <value type="real" key="top">6.e+01</value>
12136 12247
                <value type="real" key="width">1.12e+02</value>
12137 12248
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12138 12249
                <value type="int" key="visible">1</value>
......
12149 12260
                <value type="int" key="expanded">1</value>
12150 12261
                <value type="real" key="height">1.e+02</value>
12151 12262
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12152
                <value type="real" key="left">6.88e+02</value>
12263
                <value type="real" key="left">6.76e+02</value>
12153 12264
                <value type="int" key="locked">0</value>
12154 12265
                <value type="int" key="manualSizing">0</value>
12155
                <value type="real" key="top">4.93e+02</value>
12266
                <value type="real" key="top">6.95e+02</value>
12156 12267
                <value type="real" key="width">9.3e+01</value>
12157 12268
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12158 12269
                <value type="int" key="visible">1</value>
......
12189 12300
                <value type="int" key="expanded">1</value>
12190 12301
                <value type="real" key="height">2.15e+02</value>
12191 12302
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12192
                <value type="real" key="left">5.12e+02</value>
12303
                <value type="real" key="left">4.97e+02</value>
12193 12304
                <value type="int" key="locked">0</value>
12194 12305
                <value type="int" key="manualSizing">0</value>
12195 12306
                <value type="real" key="top">7.54e+02</value>
......
12209 12320
                <value type="int" key="expanded">1</value>
12210 12321
                <value type="real" key="height">1.e+02</value>
12211 12322
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12212
                <value type="real" key="left">3.23e+02</value>
12323
                <value type="real" key="left">3.26e+02</value>
12213 12324
                <value type="int" key="locked">0</value>
12214 12325
                <value type="int" key="manualSizing">0</value>
12215 12326
                <value type="real" key="top">5.75e+02</value>
......
12229 12340
                <value type="int" key="expanded">1</value>
12230 12341
                <value type="real" key="height">7.7e+01</value>
12231 12342
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12232
                <value type="real" key="left">5.17e+02</value>
12343
                <value type="real" key="left">5.02e+02</value>
12233 12344
                <value type="int" key="locked">0</value>
12234 12345
                <value type="int" key="manualSizing">0</value>
12235 12346
                <value type="real" key="top">1.014e+03</value>
......
12389 12500
                <value type="int" key="expanded">1</value>
12390 12501
                <value type="real" key="height">1.23e+02</value>
12391 12502
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12392
                <value type="real" key="left">8.43e+02</value>
12503
                <value type="real" key="left">8.69e+02</value>
12393 12504
                <value type="int" key="locked">0</value>
12394 12505
                <value type="int" key="manualSizing">0</value>
12395 12506
                <value type="real" key="top">7.55e+02</value>
......
12449 12560
                <value type="int" key="expanded">1</value>
12450 12561
                <value type="real" key="height">1.23e+02</value>
12451 12562
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12452
                <value type="real" key="left">9.48e+02</value>
12563
                <value type="real" key="left">9.6e+02</value>
12453 12564
                <value type="int" key="locked">0</value>
12454 12565
                <value type="int" key="manualSizing">0</value>
12455 12566
                <value type="real" key="top">2.59e+02</value>
......
12489 12600
                <value type="int" key="expanded">1</value>
12490 12601
                <value type="real" key="height">1.23e+02</value>
12491 12602
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12492
                <value type="real" key="left">9.57e+02</value>
12603
                <value type="real" key="left">9.69e+02</value>
12493 12604
                <value type="int" key="locked">0</value>
12494 12605
                <value type="int" key="manualSizing">0</value>
12495 12606
                <value type="real" key="top">5.11e+02</value>
......
12875 12986
                <value type="int" key="expanded">1</value>
12876 12987
                <value type="real" key="height">1.23e+02</value>
12877 12988
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12878
                <value type="real" key="left">3.24e+02</value>
12989
                <value type="real" key="left">3.27e+02</value>
12879 12990
                <value type="int" key="locked">0</value>
12880 12991
                <value type="int" key="manualSizing">0</value>
12881 12992
                <value type="real" key="top">4.2e+02</value>
......
12895 13006
                <value type="int" key="expanded">1</value>
12896 13007
                <value type="real" key="height">1.e+02</value>
12897 13008
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
12898
                <value type="real" key="left">6.88e+02</value>
13009
                <value type="real" key="left">6.76e+02</value>
12899 13010
                <value type="int" key="locked">0</value>
12900 13011
                <value type="int" key="manualSizing">0</value>
12901
                <value type="real" key="top">6.27e+02</value>
13012
                <value type="real" key="top">8.29e+02</value>
12902 13013
                <value type="real" key="width">9.4e+01</value>
12903 13014
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
12904 13015
                <value type="int" key="visible">1</value>
......
13015 13126
                <value type="int" key="expanded">1</value>
13016 13127
                <value type="real" key="height">1.e+02</value>
13017 13128
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
13018
                <value type="real" key="left">1.031e+03</value>
13129
                <value type="real" key="left">1.068e+03</value>
13019 13130
                <value type="int" key="locked">0</value>
13020 13131
                <value type="int" key="manualSizing">0</value>
13021
                <value type="real" key="top">7.43e+02</value>
13132
                <value type="real" key="top">7.44e+02</value>
13022 13133
                <value type="real" key="width">1.8e+02</value>
13023 13134
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
13024 13135
                <value type="int" key="visible">1</value>
......
13050 13161
                <value type="int" key="expanded">1</value>
13051 13162
                <value type="real" key="height">2.7e+01</value>
13052 13163
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
13053
                <value type="real" key="left">1.036e+03</value>
13164
                <value type="real" key="left">1.062e+03</value>
13054 13165
                <value type="int" key="locked">0</value>
13055 13166
                <value type="int" key="manualSizing">0</value>
13056 13167
                <value type="real" key="top">8.83e+02</value>
......
13140 13251
                <value type="int" key="expanded">1</value>
13141 13252
                <value type="real" key="height">2.5e+01</value>
13142 13253
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
13143
                <value type="real" key="left">9.33e+02</value>
13254
                <value type="real" key="left">9.59e+02</value>
13144 13255
                <value type="int" key="locked">0</value>
13145 13256
                <value type="int" key="manualSizing">0</value>
13146 13257
                <value type="real" key="top">8.84e+02</value>
......
13224 13335
                <value type="int" key="visible">1</value>
13225 13336
                <value type="string" key="name">taxon_absence</value>
13226 13337
              </value>
13338
              <value type="object" struct-name="workbench.physical.TableFigure" id="7f17a4b0-f6c0-11e2-af44-080027bcf912" struct-checksum="0x3b14eccb">
13339
                <value type="int" key="columnsExpanded">1</value>
13340
                <value type="int" key="foreignKeysExpanded">0</value>
13341
                <value type="int" key="indicesExpanded">0</value>
13342
                <value type="int" key="summarizeDisplay">-1</value>
13343
                <link type="object" struct-name="db.Table" key="table">7f176964-f6c0-11e2-af44-080027bcf912</link>
13344
                <value type="int" key="triggersExpanded">0</value>
13345
                <value type="string" key="color">#66ffff</value>
13346
                <value type="int" key="expanded">1</value>
13347
                <value type="real" key="height">7.7e+01</value>
13348
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
13349
                <value type="real" key="left">5.54e+02</value>
13350
                <value type="int" key="locked">0</value>
13351
                <value type="int" key="manualSizing">0</value>
13352
                <value type="real" key="top">5.85e+02</value>
13353
                <value type="real" key="width">1.4e+02</value>
13354
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
13355
                <value type="int" key="visible">1</value>
13356
                <value type="string" key="name">sampling_event</value>
13357
              </value>
13227 13358
            </value>
13228 13359
            <value type="real" key="height">1.2865e+03</value>
13229 13360
            <value _ptr_="0xa036438" type="list" content-type="object" content-struct-name="model.Layer" key="layers">
......
13333 13464
                <link type="object">40021096-f678-11e2-9716-080027bcf912</link>
13334 13465
                <link type="object">9d6cbe7a-f678-11e2-9716-080027bcf912</link>
13335 13466
                <link type="object">59b361b0-f6ba-11e2-aebb-080027bcf912</link>
13467
                <link type="object">7f17a4b0-f6c0-11e2-af44-080027bcf912</link>
13336 13468
              </value>
13337 13469
              <value _ptr_="0xa0710a0" type="list" content-type="object" content-struct-name="model.Group" key="groups"/>
13338 13470
              <value type="real" key="height">1.2865e+03</value>
......
13347 13479
              <value type="int" key="visible">1</value>
13348 13480
              <value type="string" key="name"></value>
13349 13481
            </value>
13350
            <value _ptr_="0xa0364c0" type="list" content-type="object" content-struct-name="model.Object" key="selection"/>
13482
            <value _ptr_="0xa0364c0" type="list" content-type="object" content-struct-name="model.Object" key="selection">
13483
              <link type="object">71dceeac-a780-11e2-afd5-080027bcf912</link>
13484
              <link type="object">71d9ecb6-a780-11e2-afd5-080027bcf912</link>
13485
              <link type="object">21b637c2-f680-11e2-aebb-080027bcf912</link>
13486
            </value>
13351 13487
            <value type="int" key="updateBlocked">0</value>
13352 13488
            <value type="real" key="width">1.6215e+03</value>
13353 13489
            <value type="real" key="x">0.e+00</value>
......
13857 13993
    <value type="object" struct-name="app.DocumentInfo" id="BEE3982F-55A1-4B2C-914A-CD6953803AB9" struct-checksum="0xbba780b8" key="info">
13858 13994
      <value type="string" key="author">Aaron Marcuse-Kubitza</value>
13859 13995
      <value type="string" key="caption">New Model</value>
13860
      <value type="string" key="dateChanged">2013-07-27 06:27</value>
13996
      <value type="string" key="dateChanged">2013-07-27 06:41</value>
13861 13997
      <value type="string" key="dateCreated">2012-01-19 14:06</value>
13862 13998
      <value type="string" key="description"></value>
13863 13999
      <value type="string" key="project">Name of the project</value>
schemas/VegCore/VegCore.my.sql
160 160
  `date_range` varbinary(767) DEFAULT NULL,
161 161
  `place` varbinary(767) DEFAULT NULL,
162 162
  `participants` varbinary(767) DEFAULT NULL,
163
  `method` varbinary(767) DEFAULT NULL,
164 163
  PRIMARY KEY (`id`),
165 164
  KEY `fk_event_place1_idx` (`place`),
166 165
  KEY `fk_event1_idx` (`parent`),
167
  KEY `fk_event_method1_idx` (`method`),
168 166
  KEY `fk_event_party_list1_idx` (`participants`),
169
  CONSTRAINT `fk_event_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
170
  CONSTRAINT `fk_event_place1` FOREIGN KEY (`place`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
171 167
  CONSTRAINT `fk_event_party_list1` FOREIGN KEY (`participants`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
172 168
  CONSTRAINT `fk_event1` FOREIGN KEY (`parent`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
173
  CONSTRAINT `fk_event_method1` FOREIGN KEY (`method`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
169
  CONSTRAINT `fk_event_place1` FOREIGN KEY (`place`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
170
  CONSTRAINT `fk_event_record1` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
174 171
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"an action that occurs at a place and during a period of time" ("DwC":http://rs.tdwg.org/dwc/terms/#Event)';
175 172
/*!40101 SET character_set_client = @saved_cs_client */;
176 173

  
......
261 258
  `traits` set('hstore') COLLATE utf8_bin DEFAULT NULL,
262 259
  PRIMARY KEY (`id`),
263 260
  KEY `fk_individual_observation_individual1_idx` (`individual`),
264
  CONSTRAINT `fk_individual_observation_taxon_occurrence1` FOREIGN KEY (`id`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
265
  CONSTRAINT `fk_individual_observation_individual1` FOREIGN KEY (`individual`) REFERENCES `individual` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
261
  CONSTRAINT `fk_individual_observation_individual1` FOREIGN KEY (`individual`) REFERENCES `individual` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
262
  CONSTRAINT `fk_individual_observation_taxon_occurrence1` FOREIGN KEY (`id`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
266 263
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of an [[VegCore#Individual|Individual]]';
267 264
/*!40101 SET character_set_client = @saved_cs_client */;
268 265

  
......
355 352
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
356 353
  PRIMARY KEY (`id`),
357 354
  KEY `fk_party_organization1_idx` (`organization`),
358
  CONSTRAINT `fk_collection_source10` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
359
  CONSTRAINT `fk_party_organization1` FOREIGN KEY (`organization`) REFERENCES `organization` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
355
  CONSTRAINT `fk_party_organization1` FOREIGN KEY (`organization`) REFERENCES `organization` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
356
  CONSTRAINT `fk_collection_source10` FOREIGN KEY (`id`) REFERENCES `record` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
360 357
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
361 358
/*!40101 SET character_set_client = @saved_cs_client */;
362 359

  
......
462 459
  KEY `fk_place_observation_place1_idx` (`place`),
463 460
  KEY `fk_place_observation_geological_context1_idx` (`geological_context`),
464 461
  KEY `fk_place_observation_community1_idx` (`community`),
465
  KEY `fk_place_observation_event1_idx` (`id`),
466 462
  CONSTRAINT `fk_place_observation_place1` FOREIGN KEY (`place`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
467 463
  CONSTRAINT `fk_place_observation_geological_context1` FOREIGN KEY (`geological_context`) REFERENCES `geological_context` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
468 464
  CONSTRAINT `fk_place_observation_community1` FOREIGN KEY (`community`) REFERENCES `community` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
469
  CONSTRAINT `fk_place_observation_event1` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
465
  CONSTRAINT `fk_place_observation_sampling_event1` FOREIGN KEY (`id`) REFERENCES `sampling_event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
470 466
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A sampling of a [[VegCore#Location|Location]]';
471 467
/*!40101 SET character_set_client = @saved_cs_client */;
472 468

  
......
621 617
/*!40000 ALTER TABLE `relationship` ENABLE KEYS */;
622 618

  
623 619
--
620
-- Table structure for table `sampling_event`
621
--
622

  
623
/*!40101 SET @saved_cs_client     = @@character_set_client */;
624
/*!40101 SET character_set_client = utf8 */;
625
CREATE TABLE `sampling_event` (
626
  `id` varbinary(767) NOT NULL,
627
  `method` varbinary(767) DEFAULT NULL,
628
  PRIMARY KEY (`id`),
629
  KEY `fk_sampling_event_method1_idx` (`method`),
630
  CONSTRAINT `fk_sampling_event_method1` FOREIGN KEY (`method`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
631
  CONSTRAINT `fk_project_event10` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
632
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
633
/*!40101 SET character_set_client = @saved_cs_client */;
634

  
635
--
636
-- Dumping data for table `sampling_event`
637
--
638

  
639
/*!40000 ALTER TABLE `sampling_event` DISABLE KEYS */;
640
/*!40000 ALTER TABLE `sampling_event` ENABLE KEYS */;
641

  
642
--
624 643
-- Table structure for table `soil_observation`
625 644
--
626 645

  
......
700 719
  KEY `fk_specimen_collection2_idx` (`current_collection`),
701 720
  KEY `fk_specimen_organization3_idx` (`owner_collection`),
702 721
  KEY `fk_specimen_party_list1_idx` (`specimenholder_institutions`),
703
  CONSTRAINT `fk_specimen_taxon_occurrence1` FOREIGN KEY (`id`) REFERENCES `taxon_occurrence` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
704
  CONSTRAINT `fk_specimen_collection1` FOREIGN KEY (`orig_collection`) REFERENCES `collection` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
705 722
  CONSTRAINT `fk_specimen_organization3` FOREIGN KEY (`owner_collection`) REFERENCES `collection` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
706 723
  CONSTRAINT `fk_specimen_taxon_observation1` FOREIGN KEY (`collection_event`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
707 724
  CONSTRAINT `fk_specimen_individual1` FOREIGN KEY (`individual`) REFERENCES `individual` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
708 725
  CONSTRAINT `fk_specimen_collection2` FOREIGN KEY (`current_collection`) REFERENCES `collection` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
709
  CONSTRAINT `fk_specimen_party_list1` FOREIGN KEY (`specimenholder_institutions`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
726
  CONSTRAINT `fk_specimen_party_list1` FOREIGN KEY (`specimenholder_institutions`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
727
  CONSTRAINT `fk_specimen_collection1` FOREIGN KEY (`orig_collection`) REFERENCES `collection` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
728
  CONSTRAINT `fk_specimen_taxon_occurrence1` FOREIGN KEY (`id`) REFERENCES `taxon_occurrence` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
710 729
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A "part of a plant" ("Wikipedia":http://en.wikipedia.org/wiki/Specimen) which was collected from it';
711 730
/*!40101 SET character_set_client = @saved_cs_client */;
712 731

  
......
932 951
  UNIQUE KEY `taxon_determination_unique` (`taxon_assertion`,`identified_by`),
933 952
  KEY `fk_taxon_occurrence_has_qualified_taxon1_idx` (`taxon_assertion`),
934 953
  KEY `fk_taxon_determination_party_list1_idx` (`identified_by`),
935
  CONSTRAINT `fk_taxon_determination_party_list1` FOREIGN KEY (`identified_by`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
954
  CONSTRAINT `fk_taxon_occurrence_has_qualified_taxon1` FOREIGN KEY (`taxon_assertion`) REFERENCES `taxon_assertion` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
936 955
  CONSTRAINT `fk_taxon_determination_record1` FOREIGN KEY (`id`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
937
  CONSTRAINT `fk_taxon_occurrence_has_qualified_taxon1` FOREIGN KEY (`taxon_assertion`) REFERENCES `taxon_assertion` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
956
  CONSTRAINT `fk_taxon_determination_party_list1` FOREIGN KEY (`identified_by`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
938 957
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An assertion that a [[VegCore#TaxonOccurrence|TaxonOccurrence]] is a particular [[VegCore#Taxon|Taxon]]';
939 958
/*!40101 SET character_set_client = @saved_cs_client */;
940 959

  
......
992 1011
  KEY `fk_taxon_observation_taxon_occurrence2_idx` (`taxon_occurrence`),
993 1012
  KEY `fk_taxon_observation_specimen1_idx` (`voucher`),
994 1013
  KEY `fk_taxon_observation_party_list1_idx` (`collectors`),
995
  CONSTRAINT `fk_taxon_observation_taxon_occurrence2` FOREIGN KEY (`taxon_occurrence`) REFERENCES `taxon_occurrence` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
996 1014
  CONSTRAINT `fk_taxon_observation_party_list1` FOREIGN KEY (`collectors`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
997
  CONSTRAINT `fk_taxon_observation_event1` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
998
  CONSTRAINT `fk_taxon_observation_specimen1` FOREIGN KEY (`voucher`) REFERENCES `specimen` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1015
  CONSTRAINT `fk_taxon_observation_sampling_event1` FOREIGN KEY (`id`) REFERENCES `sampling_event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1016
  CONSTRAINT `fk_taxon_observation_specimen1` FOREIGN KEY (`voucher`) REFERENCES `specimen` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1017
  CONSTRAINT `fk_taxon_observation_taxon_occurrence2` FOREIGN KEY (`taxon_occurrence`) REFERENCES `taxon_occurrence` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
999 1018
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
1000 1019
/*!40101 SET character_set_client = @saved_cs_client */;
1001 1020

  
schemas/VegCore/VegCore.pg.sql
162 162
  "date_range" text DEFAULT NULL,
163 163
  "place" text DEFAULT NULL,
164 164
  "participants" text DEFAULT NULL,
165
  "method" text DEFAULT NULL,
166 165
  PRIMARY KEY ("id"),
167 166
  /*KEY "fk_event_place1_idx" ("place")*/CHECK (true),
168 167
  /*KEY "fk_event1_idx" ("parent")*/CHECK (true),
169
  /*KEY "fk_event_method1_idx" ("method")*/CHECK (true),
170 168
  /*KEY "fk_event_party_list1_idx" ("participants")*/CHECK (true),
171
  /*CONSTRAINT "fk_event_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
172
  /*CONSTRAINT "fk_event_place1" FOREIGN KEY ("place") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
173 169
  /*CONSTRAINT "fk_event_party_list1" FOREIGN KEY ("participants") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
174 170
  /*CONSTRAINT "fk_event1" FOREIGN KEY ("parent") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
175
  /*CONSTRAINT "fk_event_method1" FOREIGN KEY ("method") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
171
  /*CONSTRAINT "fk_event_place1" FOREIGN KEY ("place") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
172
  /*CONSTRAINT "fk_event_record1" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
176 173
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='"an action that occurs at a place and during a period of text/*time*/" ("DwC":http://rs.tdwg.org/dwc/terms/#Event)'*/;
177 174
/*!40101 SET character_set_client = @saved_cs_client */;
178 175

  
......
263 260
  "traits" hstore DEFAULT NULL,
264 261
  PRIMARY KEY ("id"),
265 262
  /*KEY "fk_individual_observation_individual1_idx" ("individual")*/CHECK (true),
266
  /*CONSTRAINT "fk_individual_observation_taxon_occurrence1" FOREIGN KEY ("id") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
267
  /*CONSTRAINT "fk_individual_observation_individual1" FOREIGN KEY ("individual") REFERENCES "individual" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
263
  /*CONSTRAINT "fk_individual_observation_individual1" FOREIGN KEY ("individual") REFERENCES "individual" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
264
  /*CONSTRAINT "fk_individual_observation_taxon_occurrence1" FOREIGN KEY ("id") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
268 265
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of an [[VegCore#Individual|Individual]]'*/;
269 266
/*!40101 SET character_set_client = @saved_cs_client */;
270 267

  
......
357 354
  "info" hstore DEFAULT NULL,
358 355
  PRIMARY KEY ("id"),
359 356
  /*KEY "fk_party_organization1_idx" ("organization")*/CHECK (true),
360
  /*CONSTRAINT "fk_collection_source10" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
361
  /*CONSTRAINT "fk_party_organization1" FOREIGN KEY ("organization") REFERENCES "organization" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
357
  /*CONSTRAINT "fk_party_organization1" FOREIGN KEY ("organization") REFERENCES "organization" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
358
  /*CONSTRAINT "fk_collection_source10" FOREIGN KEY ("id") REFERENCES "record" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
362 359
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
363 360
/*!40101 SET character_set_client = @saved_cs_client */;
364 361

  
......
464 461
  /*KEY "fk_place_observation_place1_idx" ("place")*/CHECK (true),
465 462
  /*KEY "fk_place_observation_geological_context1_idx" ("geological_context")*/CHECK (true),
466 463
  /*KEY "fk_place_observation_community1_idx" ("community")*/CHECK (true),
467
  /*KEY "fk_place_observation_event1_idx" ("id")*/CHECK (true),
468 464
  /*CONSTRAINT "fk_place_observation_place1" FOREIGN KEY ("place") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
469 465
  /*CONSTRAINT "fk_place_observation_geological_context1" FOREIGN KEY ("geological_context") REFERENCES "geological_context" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
470 466
  /*CONSTRAINT "fk_place_observation_community1" FOREIGN KEY ("community") REFERENCES "community" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
471
  /*CONSTRAINT "fk_place_observation_event1" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
467
  /*CONSTRAINT "fk_place_observation_sampling_event1" FOREIGN KEY ("id") REFERENCES "sampling_event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
472 468
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A sampling of a [[VegCore#Location|Location]]'*/;
473 469
/*!40101 SET character_set_client = @saved_cs_client */;
474 470

  
......
623 619
/*!40000 ALTER TABLE "relationship" ENABLE KEYS */;
624 620

  
625 621
--
622
-- Table structure for table "sampling_event"
623
--
624

  
625
/*!40101 SET @saved_cs_client     = @@character_set_client */;
626
/*!40101 SET character_set_client = utf8 */;
627
CREATE TABLE "sampling_event" (
628
  "id" text NOT NULL,
629
  "method" text DEFAULT NULL,
630
  PRIMARY KEY ("id"),
631
  /*KEY "fk_sampling_event_method1_idx" ("method")*/CHECK (true),
632
  /*CONSTRAINT "fk_sampling_event_method1" FOREIGN KEY ("method") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
633
  /*CONSTRAINT "fk_project_event10" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
634
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
635
/*!40101 SET character_set_client = @saved_cs_client */;
636

  
637
--
638
-- Dumping data for table "sampling_event"
639
--
640

  
641
/*!40000 ALTER TABLE "sampling_event" DISABLE KEYS */;
642
/*!40000 ALTER TABLE "sampling_event" ENABLE KEYS */;
643

  
644
--
626 645
-- Table structure for table "soil_observation"
627 646
--
628 647

  
......
702 721
  /*KEY "fk_specimen_collection2_idx" ("current_collection")*/CHECK (true),
703 722
  /*KEY "fk_specimen_organization3_idx" ("owner_collection")*/CHECK (true),
704 723
  /*KEY "fk_specimen_party_list1_idx" ("specimenholder_institutions")*/CHECK (true),
705
  /*CONSTRAINT "fk_specimen_taxon_occurrence1" FOREIGN KEY ("id") REFERENCES "taxon_occurrence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
706
  /*CONSTRAINT "fk_specimen_collection1" FOREIGN KEY ("orig_collection") REFERENCES "collection" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
707 724
  /*CONSTRAINT "fk_specimen_organization3" FOREIGN KEY ("owner_collection") REFERENCES "collection" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
708 725
  /*CONSTRAINT "fk_specimen_taxon_observation1" FOREIGN KEY ("collection_event") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
709 726
  /*CONSTRAINT "fk_specimen_individual1" FOREIGN KEY ("individual") REFERENCES "individual" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
710 727
  /*CONSTRAINT "fk_specimen_collection2" FOREIGN KEY ("current_collection") REFERENCES "collection" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
711
  /*CONSTRAINT "fk_specimen_party_list1" FOREIGN KEY ("specimenholder_institutions") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
728
  /*CONSTRAINT "fk_specimen_party_list1" FOREIGN KEY ("specimenholder_institutions") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
729
  /*CONSTRAINT "fk_specimen_collection1" FOREIGN KEY ("orig_collection") REFERENCES "collection" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
730
  /*CONSTRAINT "fk_specimen_taxon_occurrence1" FOREIGN KEY ("id") REFERENCES "taxon_occurrence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
712 731
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A "part of a plant" ("Wikipedia":http://en.wikipedia.org/wiki/Specimen) which was collected from it'*/;
713 732
/*!40101 SET character_set_client = @saved_cs_client */;
714 733

  
......
934 953
  /*CONSTRAINT "taxon_determination_unique" */UNIQUE ("taxon_assertion","identified_by"),
935 954
  /*KEY "fk_taxon_occurrence_has_qualified_taxon1_idx" ("taxon_assertion")*/CHECK (true),
936 955
  /*KEY "fk_taxon_determination_party_list1_idx" ("identified_by")*/CHECK (true),
937
  /*CONSTRAINT "fk_taxon_determination_party_list1" FOREIGN KEY ("identified_by") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
956
  /*CONSTRAINT "fk_taxon_occurrence_has_qualified_taxon1" FOREIGN KEY ("taxon_assertion") REFERENCES "taxon_assertion" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
938 957
  /*CONSTRAINT "fk_taxon_determination_record1" FOREIGN KEY ("id") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
939
  /*CONSTRAINT "fk_taxon_occurrence_has_qualified_taxon1" FOREIGN KEY ("taxon_assertion") REFERENCES "taxon_assertion" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
958
  /*CONSTRAINT "fk_taxon_determination_party_list1" FOREIGN KEY ("identified_by") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
940 959
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An assertion that a [[VegCore#TaxonOccurrence|TaxonOccurrence]] is a particular [[VegCore#Taxon|Taxon]]'*/;
941 960
/*!40101 SET character_set_client = @saved_cs_client */;
942 961

  
......
994 1013
  /*KEY "fk_taxon_observation_taxon_occurrence2_idx" ("taxon_occurrence")*/CHECK (true),
995 1014
  /*KEY "fk_taxon_observation_specimen1_idx" ("voucher")*/CHECK (true),
996 1015
  /*KEY "fk_taxon_observation_party_list1_idx" ("collectors")*/CHECK (true),
997
  /*CONSTRAINT "fk_taxon_observation_taxon_occurrence2" FOREIGN KEY ("taxon_occurrence") REFERENCES "taxon_occurrence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
998 1016
  /*CONSTRAINT "fk_taxon_observation_party_list1" FOREIGN KEY ("collectors") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
999
  /*CONSTRAINT "fk_taxon_observation_event1" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1000
  /*CONSTRAINT "fk_taxon_observation_specimen1" FOREIGN KEY ("voucher") REFERENCES "specimen" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1017
  /*CONSTRAINT "fk_taxon_observation_sampling_event1" FOREIGN KEY ("id") REFERENCES "sampling_event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1018
  /*CONSTRAINT "fk_taxon_observation_specimen1" FOREIGN KEY ("voucher") REFERENCES "specimen" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1019
  /*CONSTRAINT "fk_taxon_observation_taxon_occurrence2" FOREIGN KEY ("taxon_occurrence") REFERENCES "taxon_occurrence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1001 1020
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
1002 1021
/*!40101 SET character_set_client = @saved_cs_client */;
1003 1022

  

Also available in: Unified diff