Revision 11117
Added by Aaron Marcuse-Kubitza about 11 years ago
schemas/VegCore/ERD/document.mwb.xml | ||
---|---|---|
3072 | 3072 |
<value type="string" key="oldName">observation_in_parent_event</value> |
3073 | 3073 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
3074 | 3074 |
</value> |
3075 |
<value type="object" struct-name="db.mysql.Column" id="b9be8c42-acff-11e2-b309-080027bcf912" struct-checksum="0x783b5183">
|
|
3075 |
<value type="object" struct-name="db.mysql.Column" id="713ff8dc-2998-11e3-a80d-080027bcf912" struct-checksum="0x783b5183">
|
|
3076 | 3076 |
<value type="int" key="autoIncrement">0</value> |
3077 | 3077 |
<value type="string" key="characterSetName"></value> |
3078 |
<value _ptr_="0xbaf5820" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
|
|
3078 |
<value _ptr_="0xdaca1b0" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
|
|
3079 | 3079 |
<value type="string" key="collationName"></value> |
3080 | 3080 |
<value type="string" key="datatypeExplicitParams"></value> |
3081 | 3081 |
<value type="string" key="defaultValue"></value> |
3082 | 3082 |
<value type="int" key="defaultValueIsNull">1</value> |
3083 |
<value _ptr_="0xbaf5ba0" type="list" content-type="string" key="flags"/>
|
|
3083 |
<value _ptr_="0xdaca1e0" type="list" content-type="string" key="flags"/>
|
|
3084 | 3084 |
<value type="int" key="isNotNull">0</value> |
3085 | 3085 |
<value type="int" key="length">767</value> |
3086 | 3086 |
<value type="int" key="precision">-1</value> |
3087 | 3087 |
<value type="int" key="scale">-1</value> |
3088 | 3088 |
<link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link> |
3089 | 3089 |
<value type="string" key="comment"></value> |
3090 |
<value type="string" key="name">collectors</value>
|
|
3091 |
<value type="string" key="oldName">collectors</value>
|
|
3090 |
<value type="string" key="name">primary_collector</value>
|
|
3091 |
<value type="string" key="oldName">primary_collector</value>
|
|
3092 | 3092 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
3093 | 3093 |
</value> |
3094 | 3094 |
<value type="object" struct-name="db.mysql.Column" id="58b0d99a-ad00-11e2-b309-080027bcf912" struct-checksum="0x783b5183"> |
... | ... | |
3110 | 3110 |
<value type="string" key="oldName">collector_number</value> |
3111 | 3111 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
3112 | 3112 |
</value> |
3113 |
<value type="object" struct-name="db.mysql.Column" id="b9be8c42-acff-11e2-b309-080027bcf912" struct-checksum="0x783b5183"> |
|
3114 |
<value type="int" key="autoIncrement">0</value> |
|
3115 |
<value type="string" key="characterSetName"></value> |
|
3116 |
<value _ptr_="0xbaf5820" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/> |
|
3117 |
<value type="string" key="collationName"></value> |
|
3118 |
<value type="string" key="datatypeExplicitParams"></value> |
|
3119 |
<value type="string" key="defaultValue"></value> |
|
3120 |
<value type="int" key="defaultValueIsNull">1</value> |
|
3121 |
<value _ptr_="0xbaf5ba0" type="list" content-type="string" key="flags"/> |
|
3122 |
<value type="int" key="isNotNull">0</value> |
|
3123 |
<value type="int" key="length">767</value> |
|
3124 |
<value type="int" key="precision">-1</value> |
|
3125 |
<value type="int" key="scale">-1</value> |
|
3126 |
<link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link> |
|
3127 |
<value type="string" key="comment"></value> |
|
3128 |
<value type="string" key="name">all_collectors</value> |
|
3129 |
<value type="string" key="oldName">all_collectors</value> |
|
3130 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
|
3131 |
</value> |
|
3113 | 3132 |
<value type="object" struct-name="db.mysql.Column" id="16538808-a7a7-11e2-8ba6-080027bcf912" struct-checksum="0x783b5183"> |
3114 | 3133 |
<value type="int" key="autoIncrement">0</value> |
3115 | 3134 |
<value type="string" key="characterSetName"></value> |
... | ... | |
3194 | 3213 |
<value type="string" key="name">fk_taxon_observation_taxon_observation1</value> |
3195 | 3214 |
<value type="string" key="oldName">fk_taxon_observation_taxon_observation1</value> |
3196 | 3215 |
</value> |
3216 |
<value type="object" struct-name="db.mysql.ForeignKey" id="713ff706-2998-11e3-a80d-080027bcf912" struct-checksum="0x70a8fc40"> |
|
3217 |
<link type="object" struct-name="db.mysql.Table" key="referencedTable">be8fe70e-a6e0-11e2-95e9-080027bcf912</link> |
|
3218 |
<value _ptr_="0xd2ddb00" type="list" content-type="object" content-struct-name="db.Column" key="columns"> |
|
3219 |
<link type="object">713ff8dc-2998-11e3-a80d-080027bcf912</link> |
|
3220 |
</value> |
|
3221 |
<value type="int" key="deferability">0</value> |
|
3222 |
<value type="string" key="deleteRule">CASCADE</value> |
|
3223 |
<link type="object" struct-name="db.Index" key="index">714100ce-2998-11e3-a80d-080027bcf912</link> |
|
3224 |
<value type="int" key="mandatory">1</value> |
|
3225 |
<value type="int" key="many">1</value> |
|
3226 |
<value type="int" key="modelOnly">0</value> |
|
3227 |
<link type="object" struct-name="db.Table" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
|
3228 |
<value _ptr_="0xd850680" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns"> |
|
3229 |
<link type="object">be8fe97a-a6e0-11e2-95e9-080027bcf912</link> |
|
3230 |
</value> |
|
3231 |
<value type="int" key="referencedMandatory">0</value> |
|
3232 |
<value type="string" key="updateRule">CASCADE</value> |
|
3233 |
<value type="string" key="comment"></value> |
|
3234 |
<value type="string" key="name">taxon_observation_id_fkey1</value> |
|
3235 |
<value type="string" key="oldName">taxon_observation_id_fkey1</value> |
|
3236 |
</value> |
|
3197 | 3237 |
<value type="object" struct-name="db.mysql.ForeignKey" id="21b40060-f680-11e2-aebb-080027bcf912" struct-checksum="0x70a8fc40"> |
3198 | 3238 |
<link type="object" struct-name="db.mysql.Table" key="referencedTable">4001ec92-f678-11e2-9716-080027bcf912</link> |
3199 | 3239 |
<value _ptr_="0xbaf7430" type="list" content-type="object" content-struct-name="db.Column" key="columns"> |
... | ... | |
3302 | 3342 |
<value type="string" key="oldName">PRIMARY</value> |
3303 | 3343 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
3304 | 3344 |
</value> |
3305 |
<value type="object" struct-name="db.mysql.Index" id="21b41366-f680-11e2-aebb-080027bcf912" struct-checksum="0x309b847a"> |
|
3306 |
<value _ptr_="0xbaf8810" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns"> |
|
3307 |
<value type="object" struct-name="db.mysql.IndexColumn" id="21b447e6-f680-11e2-aebb-080027bcf912" struct-checksum="0x62630b3c"> |
|
3308 |
<value type="int" key="columnLength">0</value> |
|
3309 |
<value type="string" key="comment"></value> |
|
3310 |
<value type="int" key="descend">0</value> |
|
3311 |
<link type="object" struct-name="db.Column" key="referencedColumn">b9be8c42-acff-11e2-b309-080027bcf912</link> |
|
3312 |
<value type="string" key="name"></value> |
|
3313 |
<link type="object" struct-name="GrtObject" key="owner">21b41366-f680-11e2-aebb-080027bcf912</link> |
|
3314 |
</value> |
|
3315 |
</value> |
|
3316 |
<value type="string" key="indexKind"></value> |
|
3317 |
<value type="int" key="keyBlockSize">0</value> |
|
3318 |
<value type="string" key="withParser"></value> |
|
3319 |
<value type="string" key="comment"></value> |
|
3320 |
<value type="int" key="deferability">0</value> |
|
3321 |
<value type="string" key="indexType">INDEX</value> |
|
3322 |
<value type="int" key="isPrimary">0</value> |
|
3323 |
<value type="string" key="name">fk_taxon_observation_party_list1_idx</value> |
|
3324 |
<value type="int" key="unique">0</value> |
|
3325 |
<value type="string" key="oldName">fk_taxon_observation_party_list1_idx</value> |
|
3326 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
|
3327 |
</value> |
|
3328 | 3345 |
<value type="object" struct-name="db.mysql.Index" id="db4ea800-1dc6-11e3-838b-410b6ef2c3ca" struct-checksum="0x309b847a"> |
3329 | 3346 |
<value _ptr_="0xbaf8ef0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns"> |
3330 | 3347 |
<value type="object" struct-name="db.mysql.IndexColumn" id="db4ea9ea-1dc6-11e3-838b-410b6ef2c3ca" struct-checksum="0x62630b3c"> |
... | ... | |
3394 | 3411 |
<value type="string" key="oldName">fk_taxon_observation_taxon_observation1_idx</value> |
3395 | 3412 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
3396 | 3413 |
</value> |
3414 |
<value type="object" struct-name="db.mysql.Index" id="714100ce-2998-11e3-a80d-080027bcf912" struct-checksum="0x309b847a"> |
|
3415 |
<value _ptr_="0xd74abe0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns"> |
|
3416 |
<value type="object" struct-name="db.mysql.IndexColumn" id="71413ae4-2998-11e3-a80d-080027bcf912" struct-checksum="0x62630b3c"> |
|
3417 |
<value type="int" key="columnLength">0</value> |
|
3418 |
<value type="string" key="comment"></value> |
|
3419 |
<value type="int" key="descend">0</value> |
|
3420 |
<link type="object" struct-name="db.Column" key="referencedColumn">713ff8dc-2998-11e3-a80d-080027bcf912</link> |
|
3421 |
<value type="string" key="name"></value> |
|
3422 |
<link type="object" struct-name="GrtObject" key="owner">714100ce-2998-11e3-a80d-080027bcf912</link> |
|
3423 |
</value> |
|
3424 |
</value> |
|
3425 |
<value type="string" key="indexKind"></value> |
|
3426 |
<value type="int" key="keyBlockSize">0</value> |
|
3427 |
<value type="string" key="withParser"></value> |
|
3428 |
<value type="string" key="comment"></value> |
|
3429 |
<value type="int" key="deferability">0</value> |
|
3430 |
<value type="string" key="indexType">INDEX</value> |
|
3431 |
<value type="int" key="isPrimary">0</value> |
|
3432 |
<value type="string" key="name">taxon_observation_id_fkey1_idx</value> |
|
3433 |
<value type="int" key="unique">0</value> |
|
3434 |
<value type="string" key="oldName">taxon_observation_id_fkey1_idx</value> |
|
3435 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
|
3436 |
</value> |
|
3437 |
<value type="object" struct-name="db.mysql.Index" id="21b41366-f680-11e2-aebb-080027bcf912" struct-checksum="0x309b847a"> |
|
3438 |
<value _ptr_="0xbaf8810" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns"> |
|
3439 |
<value type="object" struct-name="db.mysql.IndexColumn" id="21b447e6-f680-11e2-aebb-080027bcf912" struct-checksum="0x62630b3c"> |
|
3440 |
<value type="int" key="columnLength">0</value> |
|
3441 |
<value type="string" key="comment"></value> |
|
3442 |
<value type="int" key="descend">0</value> |
|
3443 |
<link type="object" struct-name="db.Column" key="referencedColumn">b9be8c42-acff-11e2-b309-080027bcf912</link> |
|
3444 |
<value type="string" key="name"></value> |
|
3445 |
<link type="object" struct-name="GrtObject" key="owner">21b41366-f680-11e2-aebb-080027bcf912</link> |
|
3446 |
</value> |
|
3447 |
</value> |
|
3448 |
<value type="string" key="indexKind"></value> |
|
3449 |
<value type="int" key="keyBlockSize">0</value> |
|
3450 |
<value type="string" key="withParser"></value> |
|
3451 |
<value type="string" key="comment"></value> |
|
3452 |
<value type="int" key="deferability">0</value> |
|
3453 |
<value type="string" key="indexType">INDEX</value> |
|
3454 |
<value type="int" key="isPrimary">0</value> |
|
3455 |
<value type="string" key="name">fk_taxon_observation_party_list1_idx</value> |
|
3456 |
<value type="int" key="unique">0</value> |
|
3457 |
<value type="string" key="oldName">fk_taxon_observation_party_list1_idx</value> |
|
3458 |
<link type="object" struct-name="GrtObject" key="owner">16537a20-a7a7-11e2-8ba6-080027bcf912</link> |
|
3459 |
</value> |
|
3397 | 3460 |
</value> |
3398 | 3461 |
<value type="string" key="maxRows"></value> |
3399 | 3462 |
<value type="string" key="mergeInsert"></value> |
... | ... | |
3425 | 3488 |
<value type="int" key="commentedOut">0</value> |
3426 | 3489 |
<value type="string" key="createDate">2013-04-17 13:52</value> |
3427 | 3490 |
<value _ptr_="0xbaf4058" type="dict" key="customData"/> |
3428 |
<value type="string" key="lastChangeDate">2013-09-27 23:59</value>
|
|
3491 |
<value type="string" key="lastChangeDate">2013-09-29 23:27</value>
|
|
3429 | 3492 |
<value type="int" key="modelOnly">0</value> |
3430 | 3493 |
<value type="string" key="name">taxon_observation</value> |
3431 | 3494 |
<link type="object" struct-name="GrtNamedObject" key="owner">be8cb246-a6e0-11e2-95e9-080027bcf912</link> |
... | ... | |
13852 | 13915 |
<value type="real" key="extraCaptionXOffs">0.e+00</value> |
13853 | 13916 |
<value type="real" key="extraCaptionYOffs">0.e+00</value> |
13854 | 13917 |
<link type="object" struct-name="db.ForeignKey" key="foreignKey">be8e8fe4-a6e0-11e2-95e9-080027bcf912</link> |
13855 |
<value type="real" key="middleSegmentOffset">4.800034148877801953858579508960247039794921875e+01</value>
|
|
13918 |
<value type="real" key="middleSegmentOffset">4.0539068645297447801567614078521728515625e+01</value>
|
|
13856 | 13919 |
<value type="real" key="startCaptionXOffs">0.e+00</value> |
13857 | 13920 |
<value type="real" key="startCaptionYOffs">0.e+00</value> |
13858 | 13921 |
<value type="int" key="drawSplit">0</value> |
... | ... | |
15574 | 15637 |
<value type="real" key="extraCaptionXOffs">0.e+00</value> |
15575 | 15638 |
<value type="real" key="extraCaptionYOffs">0.e+00</value> |
15576 | 15639 |
<link type="object" struct-name="db.ForeignKey" key="foreignKey">7e2aa84c-1dfb-11e3-bbb6-080027bcf912</link> |
15577 |
<value type="real" key="middleSegmentOffset">0.e+00</value>
|
|
15640 |
<value type="real" key="middleSegmentOffset">3.5385914413227510522119700908660888671875e+00</value>
|
|
15578 | 15641 |
<value type="real" key="startCaptionXOffs">0.e+00</value> |
15579 | 15642 |
<value type="real" key="startCaptionYOffs">0.e+00</value> |
15580 | 15643 |
<value type="int" key="drawSplit">0</value> |
... | ... | |
15857 | 15920 |
<value type="int" key="visible">1</value> |
15858 | 15921 |
<value type="string" key="name"></value> |
15859 | 15922 |
</value> |
15923 |
<value type="object" struct-name="workbench.physical.Connection" id="71416082-2998-11e3-a80d-080027bcf912" struct-checksum="0x9baebc92"> |
|
15924 |
<value type="string" key="caption">taxon_observation_id_fkey1</value> |
|
15925 |
<value type="real" key="captionXOffs">0.e+00</value> |
|
15926 |
<value type="real" key="captionYOffs">0.e+00</value> |
|
15927 |
<value type="string" key="comment"></value> |
|
15928 |
<value type="real" key="endCaptionXOffs">0.e+00</value> |
|
15929 |
<value type="real" key="endCaptionYOffs">0.e+00</value> |
|
15930 |
<value type="string" key="extraCaption"></value> |
|
15931 |
<value type="real" key="extraCaptionXOffs">0.e+00</value> |
|
15932 |
<value type="real" key="extraCaptionYOffs">0.e+00</value> |
|
15933 |
<link type="object" struct-name="db.ForeignKey" key="foreignKey">713ff706-2998-11e3-a80d-080027bcf912</link> |
|
15934 |
<value type="real" key="middleSegmentOffset">0.e+00</value> |
|
15935 |
<value type="real" key="startCaptionXOffs">0.e+00</value> |
|
15936 |
<value type="real" key="startCaptionYOffs">0.e+00</value> |
|
15937 |
<value type="int" key="drawSplit">1</value> |
|
15938 |
<link type="object" struct-name="model.Figure" key="endFigure">EE4765B7-0391-4132-8813-84A6E788C01D</link> |
|
15939 |
<link type="object" struct-name="model.Figure" key="startFigure">1653ab3a-a7a7-11e2-8ba6-080027bcf912</link> |
|
15940 |
<link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link> |
|
15941 |
<value type="int" key="visible">1</value> |
|
15942 |
<value type="string" key="name"></value> |
|
15943 |
</value> |
|
15860 | 15944 |
</value> |
15861 | 15945 |
<value type="string" key="description"></value> |
15862 | 15946 |
<value _ptr_="0xbb8bc40" type="list" content-type="object" content-struct-name="model.Figure" key="figures"> |
... | ... | |
16850 | 16934 |
<value type="int" key="triggersExpanded">0</value> |
16851 | 16935 |
<value type="string" key="color">#FFFF00</value> |
16852 | 16936 |
<value type="int" key="expanded">1</value> |
16853 |
<value type="real" key="height">2.38e+02</value>
|
|
16937 |
<value type="real" key="height">2.61e+02</value>
|
|
16854 | 16938 |
<link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link> |
16855 | 16939 |
<value type="real" key="left">8.42e+02</value> |
16856 | 16940 |
<value type="int" key="locked">0</value> |
16857 | 16941 |
<value type="int" key="manualSizing">0</value> |
16858 |
<value type="real" key="top">1.99e+02</value>
|
|
16942 |
<value type="real" key="top">1.76e+02</value>
|
|
16859 | 16943 |
<value type="real" key="width">1.63e+02</value> |
16860 | 16944 |
<link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link> |
16861 | 16945 |
<value type="int" key="visible">1</value> |
... | ... | |
17447 | 17531 |
<value type="int" key="expanded">1</value> |
17448 | 17532 |
<value type="real" key="height">1.e+02</value> |
17449 | 17533 |
<link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link> |
17450 |
<value type="real" key="left">1.8e+01</value>
|
|
17534 |
<value type="real" key="left">1.4e+01</value>
|
|
17451 | 17535 |
<value type="int" key="locked">0</value> |
17452 | 17536 |
<value type="int" key="manualSizing">0</value> |
17453 | 17537 |
<value type="real" key="top">5.36e+02</value> |
... | ... | |
17467 | 17551 |
<value type="int" key="expanded">1</value> |
17468 | 17552 |
<value type="real" key="height">1.e+02</value> |
17469 | 17553 |
<link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link> |
17470 |
<value type="real" key="left">5.9e+01</value>
|
|
17554 |
<value type="real" key="left">5.6e+01</value>
|
|
17471 | 17555 |
<value type="int" key="locked">0</value> |
17472 | 17556 |
<value type="int" key="manualSizing">0</value> |
17473 | 17557 |
<value type="real" key="top">1.042e+03</value> |
... | ... | |
17620 | 17704 |
<value type="int" key="visible">1</value> |
17621 | 17705 |
<value type="string" key="name"></value> |
17622 | 17706 |
</value> |
17623 |
<value _ptr_="0xbb8bd18" type="list" content-type="object" content-struct-name="model.Object" key="selection"/> |
|
17707 |
<value _ptr_="0xbb8bd18" type="list" content-type="object" content-struct-name="model.Object" key="selection"> |
|
17708 |
<link type="object">f1574d28-011f-11e3-9f3a-080027bcf912</link> |
|
17709 |
</value> |
|
17624 | 17710 |
<value type="int" key="updateBlocked">0</value> |
17625 | 17711 |
<value type="real" key="width">1.6215e+03</value> |
17626 | 17712 |
<value type="real" key="x">0.e+00</value> |
... | ... | |
17633 | 17719 |
<link type="object" struct-name="db.mgmt.Rdbms" key="rdbms">com.mysql.rdbms.mysql</link> |
17634 | 17720 |
<value _ptr_="0xbadb488" type="list" content-type="object" content-struct-name="db.Script" key="scripts"/> |
17635 | 17721 |
<value _ptr_="0xb078db0" type="dict" key="syncProfiles"> |
17636 |
<value type="object" struct-name="db.mgmt.SyncProfile" id="597111d8-2997-11e3-a80d-080027bcf912" struct-checksum="0xc64972c2" key="">
|
|
17637 |
<value _ptr_="0xdb13d68" type="dict" key="lastKnownDBNames">
|
|
17722 |
<value type="object" struct-name="db.mgmt.SyncProfile" id="47518bba-299a-11e3-a80d-080027bcf912" struct-checksum="0xc64972c2" key="">
|
|
17723 |
<value _ptr_="0xe032dc8" type="dict" key="lastKnownDBNames">
|
|
17638 | 17724 |
<value type="string" key="016697c0-23ec-11e3-ab7c-080027bcf912">name</value> |
17639 | 17725 |
<value type="string" key="01b2e3fe-f6ed-11e2-9cf1-080027bcf912">fk_georeferencing_party_list1</value> |
17640 | 17726 |
<value type="string" key="01b2e606-f6ed-11e2-9cf1-080027bcf912">georeferenced_by</value> |
... | ... | |
17874 | 17960 |
<value type="string" key="6c2bb9d2-0083-11e3-ac06-080027bcf912">fk_aggregate_observation_size_class1</value> |
17875 | 17961 |
<value type="string" key="6c2bbbb2-0083-11e3-ac06-080027bcf912">size_class</value> |
17876 | 17962 |
<value type="string" key="6c2bd08e-0083-11e3-ac06-080027bcf912">fk_aggregate_observation_size_class1_idx</value> |
17963 |
<value type="string" key="713ff706-2998-11e3-a80d-080027bcf912">taxon_observation_id_fkey1</value> |
|
17964 |
<value type="string" key="713ff8dc-2998-11e3-a80d-080027bcf912">primary_collector</value> |
|
17965 |
<value type="string" key="714100ce-2998-11e3-a80d-080027bcf912">taxon_observation_id_fkey1_idx</value> |
|
17877 | 17966 |
<value type="string" key="7255cc48-1beb-11e3-8de9-080027bcf912">specimen_unique_in_individual_observation</value> |
17878 | 17967 |
<value type="string" key="74709b22-a795-11e2-84c3-080027bcf912">slope_incline_deg</value> |
17879 | 17968 |
<value type="string" key="760751d2-2324-11e3-a5a2-080027bcf912">fk_dataset_traceable1</value> |
... | ... | |
17985 | 18074 |
<value type="string" key="b922fa5a-006c-11e3-895c-080027bcf912">fk_stratum_event_stratum1_idx</value> |
17986 | 18075 |
<value type="string" key="b95efb72-f982-11e2-8a2e-080027bcf912">width_m</value> |
17987 | 18076 |
<value type="string" key="b9695d2e-a793-11e2-84c3-080027bcf912">info</value> |
17988 |
<value type="string" key="b9be8c42-acff-11e2-b309-080027bcf912">collectors</value> |
|
18077 |
<value type="string" key="b9be8c42-acff-11e2-b309-080027bcf912">all_collectors</value>
|
|
17989 | 18078 |
<value type="string" key="bae73e3e-2996-11e3-a80d-080027bcf912">specimen_observation_id_fkey1</value> |
17990 | 18079 |
<value type="string" key="bae73ff6-2996-11e3-a80d-080027bcf912">current_collection</value> |
17991 | 18080 |
<value type="string" key="bae812be-2996-11e3-a80d-080027bcf912">specimen_observation_id_fkey1_idx</value> |
... | ... | |
18262 | 18351 |
<value type="object" struct-name="app.DocumentInfo" id="BEE3982F-55A1-4B2C-914A-CD6953803AB9" struct-checksum="0xbba780b8" key="info"> |
18263 | 18352 |
<value type="string" key="author">Aaron Marcuse-Kubitza</value> |
18264 | 18353 |
<value type="string" key="caption">New Model</value> |
18265 |
<value type="string" key="dateChanged">2013-09-29 23:13</value>
|
|
18354 |
<value type="string" key="dateChanged">2013-09-29 23:34</value>
|
|
18266 | 18355 |
<value type="string" key="dateCreated">2012-01-19 14:06</value> |
18267 | 18356 |
<value type="string" key="description"></value> |
18268 | 18357 |
<value type="string" key="project">Name of the project</value> |
schemas/VegCore/VegCore.my.sql | ||
---|---|---|
35 | 35 |
`occurrence_status` varbinary(767) DEFAULT NULL, |
36 | 36 |
PRIMARY KEY (`id`), |
37 | 37 |
KEY `fk_aggregate_observation_taxa_sampling_event1_idx` (`sampling_event`), |
38 |
CONSTRAINT `fk_aggregate_observation_taxa_sampling_event1` FOREIGN KEY (`sampling_event`) REFERENCES `taxa_sampling_event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
39 |
CONSTRAINT `fk_taxon_presence_taxon_determination10` FOREIGN KEY (`id`) REFERENCES `taxon_determination` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
38 |
CONSTRAINT `fk_taxon_presence_taxon_determination10` FOREIGN KEY (`id`) REFERENCES `taxon_determination` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
39 |
CONSTRAINT `fk_aggregate_observation_taxa_sampling_event1` FOREIGN KEY (`sampling_event`) REFERENCES `taxa_sampling_event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
40 | 40 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; |
41 | 41 |
/*!40101 SET character_set_client = @saved_cs_client */; |
42 | 42 |
|
... | ... | |
139 | 139 |
KEY `fk_dataset_source2_idx` (`data_source`), |
140 | 140 |
KEY `fk_dataset_dataset1_idx` (`parent`), |
141 | 141 |
CONSTRAINT `fk_source_party1` FOREIGN KEY (`contacts`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
142 |
CONSTRAINT `fk_dataset_source2` FOREIGN KEY (`data_source`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
142 | 143 |
CONSTRAINT `fk_dataset_dataset1` FOREIGN KEY (`parent`) REFERENCES `dataset` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
143 | 144 |
CONSTRAINT `fk_dataset_source1` FOREIGN KEY (`id`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
144 |
CONSTRAINT `fk_dataset_source2` FOREIGN KEY (`data_source`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
145 | 145 |
CONSTRAINT `fk_dataset_traceable1` FOREIGN KEY (`id`) REFERENCES `traceable` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
146 | 146 |
CONSTRAINT `fk_source_party2` FOREIGN KEY (`first_publisher`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
147 | 147 |
CONSTRAINT `fk_source_party_list1` FOREIGN KEY (`data_owners`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
... | ... | |
399 | 399 |
`aggregating_traits` set('hstore') COLLATE utf8_bin DEFAULT NULL, |
400 | 400 |
`count` int(11) DEFAULT NULL, |
401 | 401 |
PRIMARY KEY (`id`), |
402 |
KEY `fk_aggregate_observation_taxon_presence1_idx` (`taxon_presence`), |
|
402 | 403 |
KEY `fk_aggregate_observation_size_class1_idx` (`size_class`), |
403 |
KEY `fk_aggregate_observation_taxon_presence1_idx` (`taxon_presence`), |
|
404 | 404 |
CONSTRAINT `fk_aggregate_observation_size_class1` FOREIGN KEY (`size_class`) REFERENCES `size_class` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
405 | 405 |
CONSTRAINT `fk_aggregate_observation_taxon_presence1` FOREIGN KEY (`taxon_presence`) REFERENCES `taxon_presence` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
406 | 406 |
CONSTRAINT `fk_individual_count_taxon_presence1` FOREIGN KEY (`id`) REFERENCES `taxon_presence` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
... | ... | |
429 | 429 |
KEY `fk_individual_observation_individual1_idx` (`individual`), |
430 | 430 |
KEY `fk_individual_observation_place1_idx` (`place_observed_at`), |
431 | 431 |
KEY `individual_observation_id_fkey1_idx` (`specimenholder_institutions`), |
432 |
CONSTRAINT `individual_observation_id_fkey1` FOREIGN KEY (`specimenholder_institutions`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
432 | 433 |
CONSTRAINT `fk_individual_observation_individual1` FOREIGN KEY (`individual`) REFERENCES `individual` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
433 | 434 |
CONSTRAINT `fk_individual_observation_place1` FOREIGN KEY (`place_observed_at`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
434 |
CONSTRAINT `fk_individual_observation_taxon_occurrence1` FOREIGN KEY (`id`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
435 |
CONSTRAINT `individual_observation_id_fkey1` FOREIGN KEY (`specimenholder_institutions`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
|
435 |
CONSTRAINT `fk_individual_observation_taxon_occurrence1` FOREIGN KEY (`id`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
|
436 | 436 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of an [[VegCore#Individual|Individual]]'; |
437 | 437 |
/*!40101 SET character_set_client = @saved_cs_client */; |
438 | 438 |
|
... | ... | |
904 | 904 |
`accession_number` varbinary(767) DEFAULT NULL, |
905 | 905 |
`defining_data` set('hstore') COLLATE utf8_bin DEFAULT NULL COMMENT 'of the observations made about the specimen in individual_observation.traits, this stores the subset that can be used to make a taxonomic redetermination. for a digital-only specimen, this would be the information that comprises the specimen (e.g. a photo, a sketch, or a description that is detailed enough to be able to make a redetermination). note that a taxon_presence without a physical voucher can still qualify as reobservable if a detailed description of it is provided here.', |
906 | 906 |
PRIMARY KEY (`id`), |
907 |
UNIQUE KEY `specimen_unique_in_individual` (`individual_observation`,`id_within_individual`), |
|
907 | 908 |
UNIQUE KEY `specimen_unique_in_collection_by_barcode` (`orig_collection`,`barcode`), |
908 | 909 |
UNIQUE KEY `specimen_unique_in_collection_by_accession_number` (`orig_collection`,`accession_number`), |
909 | 910 |
UNIQUE KEY `specimen_unique_in_individual_observation` (`individual_observation`,`id_within_individual`), |
910 |
UNIQUE KEY `specimen_unique_in_individual` (`individual_observation`,`id_within_individual`), |
|
911 | 911 |
KEY `fk_specimen_collection1_idx` (`orig_collection`), |
912 | 912 |
KEY `fk_specimen_individual_observation1_idx` (`individual_observation`), |
913 | 913 |
CONSTRAINT `fk_specimen_collection1` FOREIGN KEY (`orig_collection`) REFERENCES `collection` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
... | ... | |
990 | 990 |
UNIQUE KEY `stem_observation_unique` (`individual_observation`,`stem`), |
991 | 991 |
KEY `fk_stem_observation_individual_observation1_idx` (`individual_observation`), |
992 | 992 |
KEY `fk_stem_observation_stem1_idx` (`stem`), |
993 |
CONSTRAINT `fk_stem_observation_stem1` FOREIGN KEY (`stem`) REFERENCES `stem` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
993 | 994 |
CONSTRAINT `fk_stem_observation_individual_observation1` FOREIGN KEY (`individual_observation`) REFERENCES `individual_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
994 |
CONSTRAINT `fk_stem_observation_individual_observation2` FOREIGN KEY (`id`) REFERENCES `individual_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
995 |
CONSTRAINT `fk_stem_observation_stem1` FOREIGN KEY (`stem`) REFERENCES `stem` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
|
995 |
CONSTRAINT `fk_stem_observation_individual_observation2` FOREIGN KEY (`id`) REFERENCES `individual_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
|
996 | 996 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of a [[VegCore#Stem|Stem]]'; |
997 | 997 |
/*!40101 SET character_set_client = @saved_cs_client */; |
998 | 998 |
|
... | ... | |
1113 | 1113 |
KEY `fk_sampling_event_method1_idx` (`method`), |
1114 | 1114 |
KEY `taxa_sampling_event_id_fkey1_idx` (`place_observation`), |
1115 | 1115 |
CONSTRAINT `fk_project_event10` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
1116 |
CONSTRAINT `fk_sampling_event_method1` FOREIGN KEY (`method`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
1117 |
CONSTRAINT `taxa_sampling_event_id_fkey1` FOREIGN KEY (`place_observation`) REFERENCES `place_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
1116 |
CONSTRAINT `taxa_sampling_event_id_fkey1` FOREIGN KEY (`place_observation`) REFERENCES `place_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
1117 |
CONSTRAINT `fk_sampling_event_method1` FOREIGN KEY (`method`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
1118 | 1118 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='for plots and aggregate_observations within them'; |
1119 | 1119 |
/*!40101 SET character_set_client = @saved_cs_client */; |
1120 | 1120 |
|
... | ... | |
1273 | 1273 |
`taxon_occurrence` varbinary(767) NOT NULL, |
1274 | 1274 |
`sampling_event` varbinary(767) DEFAULT NULL, |
1275 | 1275 |
`observation_in_parent_event` varbinary(767) DEFAULT NULL COMMENT 'points to the observation of the same taxon/individual in the parent event; = VegBank.vegpath.org?taxonImportance.taxonObservation_ID', |
1276 |
`collectors` varbinary(767) DEFAULT NULL,
|
|
1276 |
`primary_collector` varbinary(767) DEFAULT NULL,
|
|
1277 | 1277 |
`collector_number` varbinary(767) DEFAULT NULL, |
1278 |
`all_collectors` varbinary(767) DEFAULT NULL, |
|
1278 | 1279 |
`growth_form` varbinary(767) DEFAULT NULL, |
1279 | 1280 |
`cultivated` tinyint(1) DEFAULT NULL, |
1280 | 1281 |
`traits` set('hstore') COLLATE utf8_bin DEFAULT NULL, |
1281 | 1282 |
PRIMARY KEY (`id`), |
1282 |
KEY `fk_taxon_observation_party_list1_idx` (`collectors`), |
|
1283 | 1283 |
KEY `fk_taxon_observation_taxon_occurrence1_idx` (`taxon_occurrence`), |
1284 | 1284 |
KEY `fk_taxon_observation_taxa_sampling_event1_idx` (`sampling_event`), |
1285 | 1285 |
KEY `fk_taxon_observation_taxon_observation1_idx` (`observation_in_parent_event`), |
1286 |
KEY `taxon_observation_id_fkey1_idx` (`primary_collector`), |
|
1287 |
KEY `fk_taxon_observation_party_list1_idx` (`all_collectors`), |
|
1286 | 1288 |
CONSTRAINT `fk_taxon_observation_taxon_observation1` FOREIGN KEY (`observation_in_parent_event`) REFERENCES `taxon_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
1287 |
CONSTRAINT `fk_taxon_observation_party_list1` FOREIGN KEY (`collectors`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
1289 |
CONSTRAINT `taxon_observation_id_fkey1` FOREIGN KEY (`primary_collector`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
1290 |
CONSTRAINT `fk_taxon_observation_party_list1` FOREIGN KEY (`all_collectors`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
|
1288 | 1291 |
CONSTRAINT `fk_taxon_observation_sampling_event1` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
1289 | 1292 |
CONSTRAINT `fk_taxon_observation_taxa_sampling_event1` FOREIGN KEY (`sampling_event`) REFERENCES `taxa_sampling_event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, |
1290 | 1293 |
CONSTRAINT `fk_taxon_observation_taxon_occurrence1` FOREIGN KEY (`taxon_occurrence`) REFERENCES `taxon_occurrence` (`id`) ON DELETE CASCADE ON UPDATE CASCADE |
schemas/VegCore/VegCore.pg.sql | ||
---|---|---|
37 | 37 |
"occurrence_status" text DEFAULT NULL, |
38 | 38 |
PRIMARY KEY ("id"), |
39 | 39 |
/*KEY "fk_aggregate_observation_taxa_sampling_event1_idx" ("sampling_event")*/CHECK (true), |
40 |
/*CONSTRAINT "fk_aggregate_observation_taxa_sampling_event1" FOREIGN KEY ("sampling_event") REFERENCES "taxa_sampling_event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
|
|
41 |
/*CONSTRAINT "fk_taxon_presence_taxon_determination10" FOREIGN KEY ("id") REFERENCES "taxon_determination" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
|
|
40 |
/*CONSTRAINT "fk_taxon_presence_taxon_determination10" FOREIGN KEY ("id") REFERENCES "taxon_determination" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
|
|
41 |
/*CONSTRAINT "fk_aggregate_observation_taxa_sampling_event1" FOREIGN KEY ("sampling_event") REFERENCES "taxa_sampling_event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
|
|
42 | 42 |
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/; |
43 | 43 |
/*!40101 SET character_set_client = @saved_cs_client */; |
44 | 44 |
|
... | ... | |
141 | 141 |
/*KEY "fk_dataset_source2_idx" ("data_source")*/CHECK (true), |
142 | 142 |
/*KEY "fk_dataset_dataset1_idx" ("parent")*/CHECK (true), |
143 | 143 |
/*CONSTRAINT "fk_source_party1" FOREIGN KEY ("contacts") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
144 |
/*CONSTRAINT "fk_dataset_source2" FOREIGN KEY ("data_source") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
144 | 145 |
/*CONSTRAINT "fk_dataset_dataset1" FOREIGN KEY ("parent") REFERENCES "dataset" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
145 | 146 |
/*CONSTRAINT "fk_dataset_source1" FOREIGN KEY ("id") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
146 |
/*CONSTRAINT "fk_dataset_source2" FOREIGN KEY ("data_source") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
147 | 147 |
/*CONSTRAINT "fk_dataset_traceable1" FOREIGN KEY ("id") REFERENCES "traceable" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
148 | 148 |
/*CONSTRAINT "fk_source_party2" FOREIGN KEY ("first_publisher") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
149 | 149 |
/*CONSTRAINT "fk_source_party_list1" FOREIGN KEY ("data_owners") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true) |
... | ... | |
401 | 401 |
"aggregating_traits" hstore DEFAULT NULL, |
402 | 402 |
"count" integer DEFAULT NULL, |
403 | 403 |
PRIMARY KEY ("id"), |
404 |
/*KEY "fk_aggregate_observation_taxon_presence1_idx" ("taxon_presence")*/CHECK (true), |
|
404 | 405 |
/*KEY "fk_aggregate_observation_size_class1_idx" ("size_class")*/CHECK (true), |
405 |
/*KEY "fk_aggregate_observation_taxon_presence1_idx" ("taxon_presence")*/CHECK (true), |
|
406 | 406 |
/*CONSTRAINT "fk_aggregate_observation_size_class1" FOREIGN KEY ("size_class") REFERENCES "size_class" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
407 | 407 |
/*CONSTRAINT "fk_aggregate_observation_taxon_presence1" FOREIGN KEY ("taxon_presence") REFERENCES "taxon_presence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
408 | 408 |
/*CONSTRAINT "fk_individual_count_taxon_presence1" FOREIGN KEY ("id") REFERENCES "taxon_presence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true) |
... | ... | |
431 | 431 |
/*KEY "fk_individual_observation_individual1_idx" ("individual")*/CHECK (true), |
432 | 432 |
/*KEY "fk_individual_observation_place1_idx" ("place_observed_at")*/CHECK (true), |
433 | 433 |
/*KEY "individual_observation_id_fkey1_idx" ("specimenholder_institutions")*/CHECK (true), |
434 |
/*CONSTRAINT "individual_observation_id_fkey1" FOREIGN KEY ("specimenholder_institutions") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
434 | 435 |
/*CONSTRAINT "fk_individual_observation_individual1" FOREIGN KEY ("individual") REFERENCES "individual" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
435 | 436 |
/*CONSTRAINT "fk_individual_observation_place1" FOREIGN KEY ("place_observed_at") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
436 |
/*CONSTRAINT "fk_individual_observation_taxon_occurrence1" FOREIGN KEY ("id") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
437 |
/*CONSTRAINT "individual_observation_id_fkey1" FOREIGN KEY ("specimenholder_institutions") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true) |
|
437 |
/*CONSTRAINT "fk_individual_observation_taxon_occurrence1" FOREIGN KEY ("id") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true) |
|
438 | 438 |
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of an [[VegCore#Individual|Individual]]'*/; |
439 | 439 |
/*!40101 SET character_set_client = @saved_cs_client */; |
440 | 440 |
|
... | ... | |
906 | 906 |
"accession_number" text DEFAULT NULL, |
907 | 907 |
"defining_data" hstore DEFAULT NULL /*COMMENT 'of the observations made about the specimen in individual_observation.traits, this stores the subset that can be used to make a taxonomic redetermination. for a digital-only specimen, this would be the information that comprises the specimen (e.g. a photo, a sketch, or a description that is detailed enough to be able to make a redetermination). note that a taxon_presence without a physical voucher can still qualify as reobservable if a detailed description of it is provided here.'*/, |
908 | 908 |
PRIMARY KEY ("id"), |
909 |
/*CONSTRAINT "specimen_unique_in_individual" */UNIQUE ("individual_observation","id_within_individual"), |
|
909 | 910 |
/*CONSTRAINT "specimen_unique_in_collection_by_barcode" */UNIQUE ("orig_collection","barcode"), |
910 | 911 |
/*CONSTRAINT "specimen_unique_in_collection_by_accession_number" */UNIQUE ("orig_collection","accession_number"), |
911 | 912 |
/*CONSTRAINT "specimen_unique_in_individual_observation" */UNIQUE ("individual_observation","id_within_individual"), |
912 |
/*CONSTRAINT "specimen_unique_in_individual" */UNIQUE ("individual_observation","id_within_individual"), |
|
913 | 913 |
/*KEY "fk_specimen_collection1_idx" ("orig_collection")*/CHECK (true), |
914 | 914 |
/*KEY "fk_specimen_individual_observation1_idx" ("individual_observation")*/CHECK (true), |
915 | 915 |
/*CONSTRAINT "fk_specimen_collection1" FOREIGN KEY ("orig_collection") REFERENCES "collection" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
... | ... | |
992 | 992 |
/*CONSTRAINT "stem_observation_unique" */UNIQUE ("individual_observation","stem"), |
993 | 993 |
/*KEY "fk_stem_observation_individual_observation1_idx" ("individual_observation")*/CHECK (true), |
994 | 994 |
/*KEY "fk_stem_observation_stem1_idx" ("stem")*/CHECK (true), |
995 |
/*CONSTRAINT "fk_stem_observation_stem1" FOREIGN KEY ("stem") REFERENCES "stem" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
995 | 996 |
/*CONSTRAINT "fk_stem_observation_individual_observation1" FOREIGN KEY ("individual_observation") REFERENCES "individual_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
996 |
/*CONSTRAINT "fk_stem_observation_individual_observation2" FOREIGN KEY ("id") REFERENCES "individual_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
997 |
/*CONSTRAINT "fk_stem_observation_stem1" FOREIGN KEY ("stem") REFERENCES "stem" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true) |
|
997 |
/*CONSTRAINT "fk_stem_observation_individual_observation2" FOREIGN KEY ("id") REFERENCES "individual_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true) |
|
998 | 998 |
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='An observation of a [[VegCore#Stem|Stem]]'*/; |
999 | 999 |
/*!40101 SET character_set_client = @saved_cs_client */; |
1000 | 1000 |
|
... | ... | |
1115 | 1115 |
/*KEY "fk_sampling_event_method1_idx" ("method")*/CHECK (true), |
1116 | 1116 |
/*KEY "taxa_sampling_event_id_fkey1_idx" ("place_observation")*/CHECK (true), |
1117 | 1117 |
/*CONSTRAINT "fk_project_event10" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
1118 |
/*CONSTRAINT "fk_sampling_event_method1" FOREIGN KEY ("method") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
|
|
1119 |
/*CONSTRAINT "taxa_sampling_event_id_fkey1" FOREIGN KEY ("place_observation") REFERENCES "place_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
|
|
1118 |
/*CONSTRAINT "taxa_sampling_event_id_fkey1" FOREIGN KEY ("place_observation") REFERENCES "place_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
|
|
1119 |
/*CONSTRAINT "fk_sampling_event_method1" FOREIGN KEY ("method") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
|
|
1120 | 1120 |
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='for plots and aggregate_observations within them'*/; |
1121 | 1121 |
/*!40101 SET character_set_client = @saved_cs_client */; |
1122 | 1122 |
|
... | ... | |
1275 | 1275 |
"taxon_occurrence" text NOT NULL, |
1276 | 1276 |
"sampling_event" text DEFAULT NULL, |
1277 | 1277 |
"observation_in_parent_event" text DEFAULT NULL /*COMMENT 'points to the observation of the same taxon/individual in the parent event; = VegBank.vegpath.org?taxonImportance.taxonObservation_ID'*/, |
1278 |
"collectors" text DEFAULT NULL,
|
|
1278 |
"primary_collector" text DEFAULT NULL,
|
|
1279 | 1279 |
"collector_number" text DEFAULT NULL, |
1280 |
"all_collectors" text DEFAULT NULL, |
|
1280 | 1281 |
"growth_form" text DEFAULT NULL, |
1281 | 1282 |
"cultivated" integer DEFAULT NULL, |
1282 | 1283 |
"traits" hstore DEFAULT NULL, |
1283 | 1284 |
PRIMARY KEY ("id"), |
1284 |
/*KEY "fk_taxon_observation_party_list1_idx" ("collectors")*/CHECK (true), |
|
1285 | 1285 |
/*KEY "fk_taxon_observation_taxon_occurrence1_idx" ("taxon_occurrence")*/CHECK (true), |
1286 | 1286 |
/*KEY "fk_taxon_observation_taxa_sampling_event1_idx" ("sampling_event")*/CHECK (true), |
1287 | 1287 |
/*KEY "fk_taxon_observation_taxon_observation1_idx" ("observation_in_parent_event")*/CHECK (true), |
1288 |
/*KEY "taxon_observation_id_fkey1_idx" ("primary_collector")*/CHECK (true), |
|
1289 |
/*KEY "fk_taxon_observation_party_list1_idx" ("all_collectors")*/CHECK (true), |
|
1288 | 1290 |
/*CONSTRAINT "fk_taxon_observation_taxon_observation1" FOREIGN KEY ("observation_in_parent_event") REFERENCES "taxon_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
1289 |
/*CONSTRAINT "fk_taxon_observation_party_list1" FOREIGN KEY ("collectors") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
1291 |
/*CONSTRAINT "taxon_observation_id_fkey1" FOREIGN KEY ("primary_collector") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
1292 |
/*CONSTRAINT "fk_taxon_observation_party_list1" FOREIGN KEY ("all_collectors") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
|
1290 | 1293 |
/*CONSTRAINT "fk_taxon_observation_sampling_event1" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
1291 | 1294 |
/*CONSTRAINT "fk_taxon_observation_taxa_sampling_event1" FOREIGN KEY ("sampling_event") REFERENCES "taxa_sampling_event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true), |
1292 | 1295 |
/*CONSTRAINT "fk_taxon_observation_taxon_occurrence1" FOREIGN KEY ("taxon_occurrence") REFERENCES "taxon_occurrence" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true) |
Also available in: Unified diff
schemas/VegCore/ERD/VegCore.ERD.mwb: taxon_observation: added primary_collector, to scope the collector_number. collectors: renamed to all_collectors for clarity, now that there is a primary_collector field.