Project

General

Profile

« Previous | Next » 

Revision 11110

schemas/VegCore/ERD/VegCore.ERD.mwb: place_observation: link to project. taxa_sampling_event: removed link to project since this now happens via place_observation.

View differences:

schemas/VegCore/ERD/document.mwb.xml
8198 8198
                      <value type="string" key="oldName">place</value>
8199 8199
                      <link type="object" struct-name="GrtObject" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8200 8200
                    </value>
8201
                    <value type="object" struct-name="db.mysql.Column" id="d717759e-298a-11e3-a80d-080027bcf912" struct-checksum="0x783b5183">
8202
                      <value type="int" key="autoIncrement">0</value>
8203
                      <value type="string" key="characterSetName"></value>
8204
                      <value _ptr_="0xce029c0" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
8205
                      <value type="string" key="collationName"></value>
8206
                      <value type="string" key="datatypeExplicitParams"></value>
8207
                      <value type="string" key="defaultValue"></value>
8208
                      <value type="int" key="defaultValueIsNull">1</value>
8209
                      <value _ptr_="0xc9727e8" type="list" content-type="string" key="flags"/>
8210
                      <value type="int" key="isNotNull">0</value>
8211
                      <value type="int" key="length">767</value>
8212
                      <value type="int" key="precision">-1</value>
8213
                      <value type="int" key="scale">-1</value>
8214
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
8215
                      <value type="string" key="comment"></value>
8216
                      <value type="string" key="name">project</value>
8217
                      <value type="string" key="oldName">project</value>
8218
                      <link type="object" struct-name="GrtObject" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8219
                    </value>
8201 8220
                    <value type="object" struct-name="db.mysql.Column" id="d2b2ccf6-a794-11e2-84c3-080027bcf912" struct-checksum="0x783b5183">
8202 8221
                      <value type="int" key="autoIncrement">0</value>
8203 8222
                      <value type="string" key="characterSetName"></value>
......
8318 8337
                  <value type="string" key="defaultCollationName">utf8_bin</value>
8319 8338
                  <value type="int" key="delayKeyWrite">0</value>
8320 8339
                  <value _ptr_="0xbb41028" type="list" content-type="object" content-struct-name="db.mysql.ForeignKey" key="foreignKeys">
8321
                    <value type="object" struct-name="db.mysql.ForeignKey" id="be8f4b64-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x70a8fc40">
8322
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">c6723d8a-a7a0-11e2-b667-080027bcf912</link>
8323
                      <value _ptr_="0xbb43930" type="list" content-type="object" content-struct-name="db.Column" key="columns">
8324
                        <link type="object">be8f3ca0-a6e0-11e2-95e9-080027bcf912</link>
8340
                    <value type="object" struct-name="db.mysql.ForeignKey" id="d7177350-298a-11e3-a80d-080027bcf912" struct-checksum="0x70a8fc40">
8341
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8fa0fa-a6e0-11e2-95e9-080027bcf912</link>
8342
                      <value _ptr_="0xcae2c18" type="list" content-type="object" content-struct-name="db.Column" key="columns">
8343
                        <link type="object">d717759e-298a-11e3-a80d-080027bcf912</link>
8325 8344
                      </value>
8326 8345
                      <value type="int" key="deferability">0</value>
8327 8346
                      <value type="string" key="deleteRule">CASCADE</value>
8328
                      <link type="object" struct-name="db.Index" key="index">be8f416e-a6e0-11e2-95e9-080027bcf912</link>
8347
                      <link type="object" struct-name="db.Index" key="index">d7179362-298a-11e3-a80d-080027bcf912</link>
8329 8348
                      <value type="int" key="mandatory">1</value>
8330 8349
                      <value type="int" key="many">1</value>
8331 8350
                      <value type="int" key="modelOnly">0</value>
8332 8351
                      <link type="object" struct-name="db.Table" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8333
                      <value _ptr_="0xbb43c98" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
8334
                        <link type="object">c6724000-a7a0-11e2-b667-080027bcf912</link>
8352
                      <value _ptr_="0xcf25408" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
8353
                        <link type="object">be8fa398-a6e0-11e2-95e9-080027bcf912</link>
8335 8354
                      </value>
8336
                      <value type="int" key="referencedMandatory">1</value>
8337
                      <value type="string" key="updateRule">CASCADE</value>
8338
                      <value type="string" key="comment"></value>
8339
                      <value type="string" key="name">fk_place_observation_place1</value>
8340
                      <value type="string" key="oldName">fk_place_observation_place1</value>
8341
                    </value>
8342
                    <value type="object" struct-name="db.mysql.ForeignKey" id="be8f4d08-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x70a8fc40">
8343
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8f272e-a6e0-11e2-95e9-080027bcf912</link>
8344
                      <value _ptr_="0xbb43d08" type="list" content-type="object" content-struct-name="db.Column" key="columns">
8345
                        <link type="object">be8f3e30-a6e0-11e2-95e9-080027bcf912</link>
8346
                      </value>
8347
                      <value type="int" key="deferability">0</value>
8348
                      <value type="string" key="deleteRule">CASCADE</value>
8349
                      <link type="object" struct-name="db.Index" key="index">be8f4524-a6e0-11e2-95e9-080027bcf912</link>
8350
                      <value type="int" key="mandatory">1</value>
8351
                      <value type="int" key="many">1</value>
8352
                      <value type="int" key="modelOnly">0</value>
8353
                      <link type="object" struct-name="db.Table" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8354
                      <value _ptr_="0xbb44090" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
8355
                        <link type="object">be8f29d6-a6e0-11e2-95e9-080027bcf912</link>
8356
                      </value>
8357 8355
                      <value type="int" key="referencedMandatory">0</value>
8358 8356
                      <value type="string" key="updateRule">CASCADE</value>
8359 8357
                      <value type="string" key="comment"></value>
8360
                      <value type="string" key="name">fk_place_observation_geological_context1</value>
8361
                      <value type="string" key="oldName">fk_place_observation_geological_context1</value>
8358
                      <value type="string" key="name">place_observation_id_fkey1</value>
8359
                      <value type="string" key="oldName">place_observation_id_fkey1</value>
8362 8360
                    </value>
8363 8361
                    <value type="object" struct-name="db.mysql.ForeignKey" id="be8f4e98-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x70a8fc40">
8364 8362
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8f1784-a6e0-11e2-95e9-080027bcf912</link>
......
8401 8399
                      <value type="string" key="name">fk_place_observation_event1</value>
8402 8400
                      <value type="string" key="oldName">fk_place_observation_event1</value>
8403 8401
                    </value>
8402
                    <value type="object" struct-name="db.mysql.ForeignKey" id="be8f4d08-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x70a8fc40">
8403
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8f272e-a6e0-11e2-95e9-080027bcf912</link>
8404
                      <value _ptr_="0xbb43d08" type="list" content-type="object" content-struct-name="db.Column" key="columns">
8405
                        <link type="object">be8f3e30-a6e0-11e2-95e9-080027bcf912</link>
8406
                      </value>
8407
                      <value type="int" key="deferability">0</value>
8408
                      <value type="string" key="deleteRule">CASCADE</value>
8409
                      <link type="object" struct-name="db.Index" key="index">be8f4524-a6e0-11e2-95e9-080027bcf912</link>
8410
                      <value type="int" key="mandatory">1</value>
8411
                      <value type="int" key="many">1</value>
8412
                      <value type="int" key="modelOnly">0</value>
8413
                      <link type="object" struct-name="db.Table" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8414
                      <value _ptr_="0xbb44090" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
8415
                        <link type="object">be8f29d6-a6e0-11e2-95e9-080027bcf912</link>
8416
                      </value>
8417
                      <value type="int" key="referencedMandatory">0</value>
8418
                      <value type="string" key="updateRule">CASCADE</value>
8419
                      <value type="string" key="comment"></value>
8420
                      <value type="string" key="name">fk_place_observation_geological_context1</value>
8421
                      <value type="string" key="oldName">fk_place_observation_geological_context1</value>
8422
                    </value>
8423
                    <value type="object" struct-name="db.mysql.ForeignKey" id="be8f4b64-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x70a8fc40">
8424
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">c6723d8a-a7a0-11e2-b667-080027bcf912</link>
8425
                      <value _ptr_="0xbb43930" type="list" content-type="object" content-struct-name="db.Column" key="columns">
8426
                        <link type="object">be8f3ca0-a6e0-11e2-95e9-080027bcf912</link>
8427
                      </value>
8428
                      <value type="int" key="deferability">0</value>
8429
                      <value type="string" key="deleteRule">CASCADE</value>
8430
                      <link type="object" struct-name="db.Index" key="index">be8f416e-a6e0-11e2-95e9-080027bcf912</link>
8431
                      <value type="int" key="mandatory">1</value>
8432
                      <value type="int" key="many">1</value>
8433
                      <value type="int" key="modelOnly">0</value>
8434
                      <link type="object" struct-name="db.Table" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8435
                      <value _ptr_="0xbb43c98" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
8436
                        <link type="object">c6724000-a7a0-11e2-b667-080027bcf912</link>
8437
                      </value>
8438
                      <value type="int" key="referencedMandatory">1</value>
8439
                      <value type="string" key="updateRule">CASCADE</value>
8440
                      <value type="string" key="comment"></value>
8441
                      <value type="string" key="name">fk_place_observation_place1</value>
8442
                      <value type="string" key="oldName">fk_place_observation_place1</value>
8443
                    </value>
8404 8444
                  </value>
8405 8445
                  <value _ptr_="0xbb41078" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
8446
                    <value type="object" struct-name="db.mysql.Index" id="b19ab98a-a6e9-11e2-98a6-080027bcf912" struct-checksum="0x309b847a">
8447
                      <value _ptr_="0xbb45ab0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
8448
                        <value type="object" struct-name="db.mysql.IndexColumn" id="b19b714a-a6e9-11e2-98a6-080027bcf912" struct-checksum="0x62630b3c">
8449
                          <value type="int" key="columnLength">0</value>
8450
                          <value type="string" key="comment"></value>
8451
                          <value type="int" key="descend">0</value>
8452
                          <link type="object" struct-name="db.Column" key="referencedColumn">be8f3ade-a6e0-11e2-95e9-080027bcf912</link>
8453
                          <value type="string" key="name"></value>
8454
                          <link type="object" struct-name="GrtObject" key="owner">b19ab98a-a6e9-11e2-98a6-080027bcf912</link>
8455
                        </value>
8456
                      </value>
8457
                      <value type="string" key="indexKind"></value>
8458
                      <value type="int" key="keyBlockSize">0</value>
8459
                      <value type="string" key="withParser"></value>
8460
                      <value type="string" key="comment"></value>
8461
                      <value type="int" key="deferability">0</value>
8462
                      <value type="string" key="indexType">PRIMARY</value>
8463
                      <value type="int" key="isPrimary">1</value>
8464
                      <value type="string" key="name">PRIMARY</value>
8465
                      <value type="int" key="unique">0</value>
8466
                      <value type="string" key="oldName">PRIMARY</value>
8467
                      <link type="object" struct-name="GrtObject" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8468
                    </value>
8406 8469
                    <value type="object" struct-name="db.mysql.Index" id="be8f416e-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x309b847a">
8407 8470
                      <value _ptr_="0xbb44910" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
8408 8471
                        <value type="object" struct-name="db.mysql.IndexColumn" id="be8f43a8-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x62630b3c">
......
8472 8535
                      <value type="string" key="oldName">fk_place_observation_community1_idx</value>
8473 8536
                      <link type="object" struct-name="GrtObject" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8474 8537
                    </value>
8475
                    <value type="object" struct-name="db.mysql.Index" id="b19ab98a-a6e9-11e2-98a6-080027bcf912" struct-checksum="0x309b847a">
8476
                      <value _ptr_="0xbb45ab0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
8477
                        <value type="object" struct-name="db.mysql.IndexColumn" id="b19b714a-a6e9-11e2-98a6-080027bcf912" struct-checksum="0x62630b3c">
8538
                    <value type="object" struct-name="db.mysql.Index" id="d7179362-298a-11e3-a80d-080027bcf912" struct-checksum="0x309b847a">
8539
                      <value _ptr_="0xc8fd5b0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
8540
                        <value type="object" struct-name="db.mysql.IndexColumn" id="d7179542-298a-11e3-a80d-080027bcf912" struct-checksum="0x62630b3c">
8478 8541
                          <value type="int" key="columnLength">0</value>
8479 8542
                          <value type="string" key="comment"></value>
8480 8543
                          <value type="int" key="descend">0</value>
8481
                          <link type="object" struct-name="db.Column" key="referencedColumn">be8f3ade-a6e0-11e2-95e9-080027bcf912</link>
8544
                          <link type="object" struct-name="db.Column" key="referencedColumn">d717759e-298a-11e3-a80d-080027bcf912</link>
8482 8545
                          <value type="string" key="name"></value>
8483
                          <link type="object" struct-name="GrtObject" key="owner">b19ab98a-a6e9-11e2-98a6-080027bcf912</link>
8546
                          <link type="object" struct-name="GrtObject" key="owner">d7179362-298a-11e3-a80d-080027bcf912</link>
8484 8547
                        </value>
8485 8548
                      </value>
8486 8549
                      <value type="string" key="indexKind"></value>
......
8488 8551
                      <value type="string" key="withParser"></value>
8489 8552
                      <value type="string" key="comment"></value>
8490 8553
                      <value type="int" key="deferability">0</value>
8491
                      <value type="string" key="indexType">PRIMARY</value>
8492
                      <value type="int" key="isPrimary">1</value>
8493
                      <value type="string" key="name">PRIMARY</value>
8554
                      <value type="string" key="indexType">INDEX</value>
8555
                      <value type="int" key="isPrimary">0</value>
8556
                      <value type="string" key="name">place_observation_id_fkey1_idx</value>
8494 8557
                      <value type="int" key="unique">0</value>
8495
                      <value type="string" key="oldName">PRIMARY</value>
8558
                      <value type="string" key="oldName">place_observation_id_fkey1_idx</value>
8496 8559
                      <link type="object" struct-name="GrtObject" key="owner">be8f387c-a6e0-11e2-95e9-080027bcf912</link>
8497 8560
                    </value>
8498 8561
                  </value>
......
8526 8589
                  <value type="int" key="commentedOut">0</value>
8527 8590
                  <value type="string" key="createDate">2013-04-16 14:58</value>
8528 8591
                  <value _ptr_="0xbb40e00" type="dict" key="customData"/>
8529
                  <value type="string" key="lastChangeDate">2013-04-24 14:30</value>
8592
                  <value type="string" key="lastChangeDate">2013-09-29 21:43</value>
8530 8593
                  <value type="int" key="modelOnly">0</value>
8531 8594
                  <value type="string" key="name">place_observation</value>
8532 8595
                  <link type="object" struct-name="GrtNamedObject" key="owner">be8cb246-a6e0-11e2-95e9-080027bcf912</link>
......
10522 10585
                      <value type="string" key="oldName">place_observation</value>
10523 10586
                      <link type="object" struct-name="GrtObject" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
10524 10587
                    </value>
10525
                    <value type="object" struct-name="db.mysql.Column" id="eca92bf8-1de3-11e3-b950-080027bcf912" struct-checksum="0x783b5183">
10526
                      <value type="int" key="autoIncrement">0</value>
10527
                      <value type="string" key="characterSetName"></value>
10528
                      <value _ptr_="0xbb62e50" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
10529
                      <value type="string" key="collationName"></value>
10530
                      <value type="string" key="datatypeExplicitParams"></value>
10531
                      <value type="string" key="defaultValue"></value>
10532
                      <value type="int" key="defaultValueIsNull">1</value>
10533
                      <value _ptr_="0xbb631d0" type="list" content-type="string" key="flags"/>
10534
                      <value type="int" key="isNotNull">0</value>
10535
                      <value type="int" key="length">767</value>
10536
                      <value type="int" key="precision">-1</value>
10537
                      <value type="int" key="scale">-1</value>
10538
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
10539
                      <value type="string" key="comment"></value>
10540
                      <value type="string" key="name">project</value>
10541
                      <value type="string" key="oldName">project</value>
10542
                      <link type="object" struct-name="GrtObject" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
10543
                    </value>
10544 10588
                    <value type="object" struct-name="db.mysql.Column" id="a841ba7e-f6c0-11e2-af44-080027bcf912" struct-checksum="0x783b5183">
10545 10589
                      <value type="int" key="autoIncrement">0</value>
10546 10590
                      <value type="string" key="characterSetName"></value>
......
10566 10610
                  <value type="string" key="defaultCollationName">utf8_bin</value>
10567 10611
                  <value type="int" key="delayKeyWrite">0</value>
10568 10612
                  <value _ptr_="0xbb62250" type="list" content-type="object" content-struct-name="db.mysql.ForeignKey" key="foreignKeys">
10569
                    <value type="object" struct-name="db.mysql.ForeignKey" id="eca92a0e-1de3-11e3-b950-080027bcf912" struct-checksum="0x70a8fc40">
10570
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8fa0fa-a6e0-11e2-95e9-080027bcf912</link>
10571
                      <value _ptr_="0xbb63818" type="list" content-type="object" content-struct-name="db.Column" key="columns">
10572
                        <link type="object">eca92bf8-1de3-11e3-b950-080027bcf912</link>
10573
                      </value>
10574
                      <value type="int" key="deferability">0</value>
10575
                      <value type="string" key="deleteRule">CASCADE</value>
10576
                      <link type="object" struct-name="db.Index" key="index">eca94142-1de3-11e3-b950-080027bcf912</link>
10577
                      <value type="int" key="mandatory">1</value>
10578
                      <value type="int" key="many">1</value>
10579
                      <value type="int" key="modelOnly">0</value>
10580
                      <link type="object" struct-name="db.Table" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
10581
                      <value _ptr_="0xbb63b80" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
10582
                        <link type="object">be8fa398-a6e0-11e2-95e9-080027bcf912</link>
10583
                      </value>
10584
                      <value type="int" key="referencedMandatory">0</value>
10585
                      <value type="string" key="updateRule">CASCADE</value>
10586
                      <value type="string" key="comment"></value>
10587
                      <value type="string" key="name">fk_taxa_sampling_event_project1</value>
10588
                      <value type="string" key="oldName">fk_taxa_sampling_event_project1</value>
10589
                    </value>
10590 10613
                    <value type="object" struct-name="db.mysql.ForeignKey" id="7f177512-f6c0-11e2-af44-080027bcf912" struct-checksum="0x70a8fc40">
10591 10614
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">c672743a-a7a0-11e2-b667-080027bcf912</link>
10592 10615
                      <value _ptr_="0xbb63bf0" type="list" content-type="object" content-struct-name="db.Column" key="columns">
......
10698 10721
                      <value type="string" key="oldName">fk_sampling_event_method1_idx</value>
10699 10722
                      <link type="object" struct-name="GrtObject" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
10700 10723
                    </value>
10701
                    <value type="object" struct-name="db.mysql.Index" id="eca94142-1de3-11e3-b950-080027bcf912" struct-checksum="0x309b847a">
10702
                      <value _ptr_="0xbb65998" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
10703
                        <value type="object" struct-name="db.mysql.IndexColumn" id="eca942e6-1de3-11e3-b950-080027bcf912" struct-checksum="0x62630b3c">
10704
                          <value type="int" key="columnLength">0</value>
10705
                          <value type="string" key="comment"></value>
10706
                          <value type="int" key="descend">0</value>
10707
                          <link type="object" struct-name="db.Column" key="referencedColumn">eca92bf8-1de3-11e3-b950-080027bcf912</link>
10708
                          <value type="string" key="name"></value>
10709
                          <link type="object" struct-name="GrtObject" key="owner">eca94142-1de3-11e3-b950-080027bcf912</link>
10710
                        </value>
10711
                      </value>
10712
                      <value type="string" key="indexKind"></value>
10713
                      <value type="int" key="keyBlockSize">0</value>
10714
                      <value type="string" key="withParser"></value>
10715
                      <value type="string" key="comment"></value>
10716
                      <value type="int" key="deferability">0</value>
10717
                      <value type="string" key="indexType">INDEX</value>
10718
                      <value type="int" key="isPrimary">0</value>
10719
                      <value type="string" key="name">fk_taxa_sampling_event_project1_idx</value>
10720
                      <value type="int" key="unique">0</value>
10721
                      <value type="string" key="oldName">fk_taxa_sampling_event_project1_idx</value>
10722
                      <link type="object" struct-name="GrtObject" key="owner">7f176964-f6c0-11e2-af44-080027bcf912</link>
10723
                    </value>
10724 10724
                    <value type="object" struct-name="db.mysql.Index" id="b774c534-2985-11e3-a80d-080027bcf912" struct-checksum="0x309b847a">
10725 10725
                      <value _ptr_="0xc3a3ca0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
10726 10726
                        <value type="object" struct-name="db.mysql.IndexColumn" id="b774c728-2985-11e3-a80d-080027bcf912" struct-checksum="0x62630b3c">
......
15091 15091
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
15092 15092
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
15093 15093
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">c4391d16-006c-11e3-895c-080027bcf912</link>
15094
                <value type="real" key="middleSegmentOffset">-1.15005483627525109113776125013828277587890625e+01</value>
15094
                <value type="real" key="middleSegmentOffset">-4.06164547339393493530224077403545379638671875e+01</value>
15095 15095
                <value type="real" key="startCaptionXOffs">0.e+00</value>
15096 15096
                <value type="real" key="startCaptionYOffs">0.e+00</value>
15097 15097
                <value type="int" key="drawSplit">0</value>
......
15112 15112
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
15113 15113
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
15114 15114
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">dda7bbf8-0072-11e3-906b-080027bcf912</link>
15115
                <value type="real" key="middleSegmentOffset">-2.538375764200054618413560092449188232421875e+00</value>
15115
                <value type="real" key="middleSegmentOffset">-3.3192544925855827386840246617794036865234375e+01</value>
15116 15116
                <value type="real" key="startCaptionXOffs">0.e+00</value>
15117 15117
                <value type="real" key="startCaptionYOffs">0.e+00</value>
15118 15118
                <value type="int" key="drawSplit">0</value>
......
15154 15154
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
15155 15155
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
15156 15156
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">7afec93a-0075-11e3-906b-080027bcf912</link>
15157
                <value type="real" key="middleSegmentOffset">-7.50735724916221442981623113155364990234375e+01</value>
15157
                <value type="real" key="middleSegmentOffset">-7.691981047555464101606048643589019775390625e+01</value>
15158 15158
                <value type="real" key="startCaptionXOffs">0.e+00</value>
15159 15159
                <value type="real" key="startCaptionYOffs">0.e+00</value>
15160 15160
                <value type="int" key="drawSplit">0</value>
......
15175 15175
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
15176 15176
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
15177 15177
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">2d3c42f6-0078-11e3-906b-080027bcf912</link>
15178
                <value type="real" key="middleSegmentOffset">2.28467313270112981626880355179309844970703125e+01</value>
15178
                <value type="real" key="middleSegmentOffset">1.205012540817743911247816868126392364501953125e+02</value>
15179 15179
                <value type="real" key="startCaptionXOffs">0.e+00</value>
15180 15180
                <value type="real" key="startCaptionYOffs">0.e+00</value>
15181 15181
                <value type="int" key="drawSplit">0</value>
......
15710 15710
                <value type="int" key="visible">1</value>
15711 15711
                <value type="string" key="name"></value>
15712 15712
              </value>
15713
              <value type="object" struct-name="workbench.physical.Connection" id="eca94980-1de3-11e3-b950-080027bcf912" struct-checksum="0x9baebc92">
15714
                <value type="string" key="caption">fk_taxa_sampling_event_project1</value>
15715
                <value type="real" key="captionXOffs">0.e+00</value>
15716
                <value type="real" key="captionYOffs">0.e+00</value>
15717
                <value type="string" key="comment"></value>
15718
                <value type="real" key="endCaptionXOffs">0.e+00</value>
15719
                <value type="real" key="endCaptionYOffs">0.e+00</value>
15720
                <value type="string" key="extraCaption"></value>
15721
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
15722
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
15723
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">eca92a0e-1de3-11e3-b950-080027bcf912</link>
15724
                <value type="real" key="middleSegmentOffset">0.e+00</value>
15725
                <value type="real" key="startCaptionXOffs">0.e+00</value>
15726
                <value type="real" key="startCaptionYOffs">0.e+00</value>
15727
                <value type="int" key="drawSplit">0</value>
15728
                <link type="object" struct-name="model.Figure" key="endFigure">6B49544F-8630-4930-B54B-2CD6F6C0C631</link>
15729
                <link type="object" struct-name="model.Figure" key="startFigure">7f17a4b0-f6c0-11e2-af44-080027bcf912</link>
15730
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
15731
                <value type="int" key="visible">1</value>
15732
                <value type="string" key="name"></value>
15733
              </value>
15734 15713
              <value type="object" struct-name="workbench.physical.Connection" id="813e8be6-1de9-11e3-b571-080027bcf912" struct-checksum="0x9baebc92">
15735 15714
                <value type="string" key="caption">fk_party_list_entry_party_list1</value>
15736 15715
                <value type="real" key="captionXOffs">0.e+00</value>
......
16067 16046
                <value type="int" key="visible">1</value>
16068 16047
                <value type="string" key="name"></value>
16069 16048
              </value>
16049
              <value type="object" struct-name="workbench.physical.Connection" id="d7179d6c-298a-11e3-a80d-080027bcf912" struct-checksum="0x9baebc92">
16050
                <value type="string" key="caption">place_observation_id_fkey1</value>
16051
                <value type="real" key="captionXOffs">0.e+00</value>
16052
                <value type="real" key="captionYOffs">0.e+00</value>
16053
                <value type="string" key="comment"></value>
16054
                <value type="real" key="endCaptionXOffs">0.e+00</value>
16055
                <value type="real" key="endCaptionYOffs">0.e+00</value>
16056
                <value type="string" key="extraCaption"></value>
16057
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
16058
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
16059
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">d7177350-298a-11e3-a80d-080027bcf912</link>
16060
                <value type="real" key="middleSegmentOffset">4.6730585070045208340161480009555816650390625e+01</value>
16061
                <value type="real" key="startCaptionXOffs">0.e+00</value>
16062
                <value type="real" key="startCaptionYOffs">0.e+00</value>
16063
                <value type="int" key="drawSplit">0</value>
16064
                <link type="object" struct-name="model.Figure" key="endFigure">6B49544F-8630-4930-B54B-2CD6F6C0C631</link>
16065
                <link type="object" struct-name="model.Figure" key="startFigure">FF3A48D7-490E-4E77-B97B-1F51BF51FA8A</link>
16066
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
16067
                <value type="int" key="visible">1</value>
16068
                <value type="string" key="name"></value>
16069
              </value>
16070 16070
            </value>
16071 16071
            <value type="string" key="description"></value>
16072 16072
            <value _ptr_="0xbb8bc40" type="list" content-type="object" content-struct-name="model.Figure" key="figures">
......
16156 16156
                <value type="int" key="expanded">1</value>
16157 16157
                <value type="real" key="height">1.69e+02</value>
16158 16158
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
16159
                <value type="real" key="left">5.75e+02</value>
16159
                <value type="real" key="left">5.57e+02</value>
16160 16160
                <value type="int" key="locked">0</value>
16161 16161
                <value type="int" key="manualSizing">0</value>
16162
                <value type="real" key="top">4.24e+02</value>
16162
                <value type="real" key="top">4.34e+02</value>
16163 16163
                <value type="real" key="width">8.1e+01</value>
16164 16164
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
16165 16165
                <value type="int" key="visible">1</value>
......
16196 16196
                <value type="int" key="expanded">1</value>
16197 16197
                <value type="real" key="height">1.e+02</value>
16198 16198
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
16199
                <value type="real" key="left">5.03e+02</value>
16199
                <value type="real" key="left">4.89e+02</value>
16200 16200
                <value type="int" key="locked">0</value>
16201 16201
                <value type="int" key="manualSizing">0</value>
16202
                <value type="real" key="top">6.34e+02</value>
16202
                <value type="real" key="top">6.35e+02</value>
16203 16203
                <value type="real" key="width">9.e+01</value>
16204 16204
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
16205 16205
                <value type="int" key="visible">1</value>
......
16239 16239
                <value type="real" key="left">7.19e+02</value>
16240 16240
                <value type="int" key="locked">0</value>
16241 16241
                <value type="int" key="manualSizing">0</value>
16242
                <value type="real" key="top">8.05e+02</value>
16242
                <value type="real" key="top">7.75e+02</value>
16243 16243
                <value type="real" key="width">9.3e+01</value>
16244 16244
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
16245 16245
                <value type="int" key="visible">1</value>
......
16274 16274
                <value type="int" key="triggersExpanded">0</value>
16275 16275
                <value type="string" key="color">#66ffff</value>
16276 16276
                <value type="int" key="expanded">1</value>
16277
                <value type="real" key="height">2.15e+02</value>
16277
                <value type="real" key="height">2.38e+02</value>
16278 16278
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
16279
                <value type="real" key="left">3.82e+02</value>
16279
                <value type="real" key="left">3.74e+02</value>
16280 16280
                <value type="int" key="locked">0</value>
16281 16281
                <value type="int" key="manualSizing">0</value>
16282 16282
                <value type="real" key="top">8.72e+02</value>
......
16316 16316
                <value type="int" key="expanded">1</value>
16317 16317
                <value type="real" key="height">1.23e+02</value>
16318 16318
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
16319
                <value type="real" key="left">5.47e+02</value>
16319
                <value type="real" key="left">5.55e+02</value>
16320 16320
                <value type="int" key="locked">0</value>
16321 16321
                <value type="int" key="manualSizing">0</value>
16322
                <value type="real" key="top">1.036e+03</value>
16322
                <value type="real" key="top">1.003e+03</value>
16323 16323
                <value type="real" key="width">1.45e+02</value>
16324 16324
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
16325 16325
                <value type="int" key="visible">1</value>
......
16356 16356
                <value type="int" key="expanded">1</value>
16357 16357
                <value type="real" key="height">1.e+02</value>
16358 16358
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
16359
                <value type="real" key="left">3.84e+02</value>
16359
                <value type="real" key="left">3.76e+02</value>
16360 16360
                <value type="int" key="locked">0</value>
16361 16361
                <value type="int" key="manualSizing">0</value>
16362 16362
                <value type="real" key="top">1.144e+03</value>
......
16962 16962
                <value type="int" key="expanded">1</value>
16963 16963
                <value type="real" key="height">5.4e+01</value>
16964 16964
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
16965
                <value type="real" key="left">6.69e+02</value>
16965
                <value type="real" key="left">7.03e+02</value>
16966 16966
                <value type="int" key="locked">0</value>
16967 16967
                <value type="int" key="manualSizing">0</value>
16968
                <value type="real" key="top">9.51e+02</value>
16968
                <value type="real" key="top">9.27e+02</value>
16969 16969
                <value type="real" key="width">9.4e+01</value>
16970 16970
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
16971 16971
                <value type="int" key="visible">1</value>
......
17300 17300
                <value type="int" key="triggersExpanded">0</value>
17301 17301
                <value type="string" key="color">#66ffff</value>
17302 17302
                <value type="int" key="expanded">1</value>
17303
                <value type="real" key="height">1.23e+02</value>
17303
                <value type="real" key="height">1.e+02</value>
17304 17304
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
17305 17305
                <value type="real" key="left">6.29e+02</value>
17306 17306
                <value type="int" key="locked">0</value>
17307 17307
                <value type="int" key="manualSizing">0</value>
17308
                <value type="real" key="top">6.22e+02</value>
17308
                <value type="real" key="top">6.34e+02</value>
17309 17309
                <value type="real" key="width">1.71e+02</value>
17310 17310
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17311 17311
                <value type="int" key="visible">1</value>
......
17501 17501
                <value type="int" key="expanded">1</value>
17502 17502
                <value type="real" key="height">1.e+02</value>
17503 17503
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
17504
                <value type="real" key="left">5.58e+02</value>
17504
                <value type="real" key="left">5.63e+02</value>
17505 17505
                <value type="int" key="locked">0</value>
17506 17506
                <value type="int" key="manualSizing">0</value>
17507
                <value type="real" key="top">8.35e+02</value>
17507
                <value type="real" key="top">8.66e+02</value>
17508 17508
                <value type="real" key="width">1.32e+02</value>
17509 17509
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17510 17510
                <value type="int" key="visible">1</value>
......
17521 17521
                <value type="int" key="expanded">1</value>
17522 17522
                <value type="real" key="height">1.23e+02</value>
17523 17523
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
17524
                <value type="real" key="left">7.07e+02</value>
17524
                <value type="real" key="left">7.19e+02</value>
17525 17525
                <value type="int" key="locked">0</value>
17526 17526
                <value type="int" key="manualSizing">0</value>
17527
                <value type="real" key="top">1.028e+03</value>
17527
                <value type="real" key="top">1.017e+03</value>
17528 17528
                <value type="real" key="width">9.4e+01</value>
17529 17529
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17530 17530
                <value type="int" key="visible">1</value>
......
17541 17541
                <value type="int" key="expanded">1</value>
17542 17542
                <value type="real" key="height">1.e+02</value>
17543 17543
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
17544
                <value type="real" key="left">6.64e+02</value>
17544
                <value type="real" key="left">6.73e+02</value>
17545 17545
                <value type="int" key="locked">0</value>
17546 17546
                <value type="int" key="manualSizing">0</value>
17547
                <value type="real" key="top">1.176e+03</value>
17547
                <value type="real" key="top">1.174e+03</value>
17548 17548
                <value type="real" key="width">1.09e+02</value>
17549 17549
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
17550 17550
                <value type="int" key="visible">1</value>
......
17830 17830
              <value type="int" key="visible">1</value>
17831 17831
              <value type="string" key="name"></value>
17832 17832
            </value>
17833
            <value _ptr_="0xbb8bd18" type="list" content-type="object" content-struct-name="model.Object" key="selection">
17834
              <link type="object">07e46488-1dde-11e3-bd5f-080027bcf912</link>
17835
            </value>
17833
            <value _ptr_="0xbb8bd18" type="list" content-type="object" content-struct-name="model.Object" key="selection"/>
17836 17834
            <value type="int" key="updateBlocked">0</value>
17837 17835
            <value type="real" key="width">1.6215e+03</value>
17838 17836
            <value type="real" key="x">0.e+00</value>
......
17845 17843
        <link type="object" struct-name="db.mgmt.Rdbms" key="rdbms">com.mysql.rdbms.mysql</link>
17846 17844
        <value _ptr_="0xbadb488" type="list" content-type="object" content-struct-name="db.Script" key="scripts"/>
17847 17845
        <value _ptr_="0xb078db0" type="dict" key="syncProfiles">
17848
          <value type="object" struct-name="db.mgmt.SyncProfile" id="87c79f98-2988-11e3-a80d-080027bcf912" struct-checksum="0xc64972c2" key="">
17849
            <value _ptr_="0xc75e190" type="dict" key="lastKnownDBNames">
17846
          <value type="object" struct-name="db.mgmt.SyncProfile" id="6fccdee0-298c-11e3-a80d-080027bcf912" struct-checksum="0xc64972c2" key="">
17847
            <value _ptr_="0xc9500e0" type="dict" key="lastKnownDBNames">
17850 17848
              <value type="string" key="016697c0-23ec-11e3-ab7c-080027bcf912">name</value>
17851 17849
              <value type="string" key="01b2e3fe-f6ed-11e2-9cf1-080027bcf912">fk_georeferencing_party_list1</value>
17852 17850
              <value type="string" key="01b2e606-f6ed-11e2-9cf1-080027bcf912">georeferenced_by</value>
......
18357 18355
              <value type="string" key="d2855d46-1df2-11e3-bbb6-080027bcf912">fk_source_party1_idx</value>
18358 18356
              <value type="string" key="d2b2ccf6-a794-11e2-84c3-080027bcf912">elevation_m</value>
18359 18357
              <value type="string" key="d6b1b62e-a7a7-11e2-8ba6-080027bcf912">PRIMARY</value>
18358
              <value type="string" key="d7177350-298a-11e3-a80d-080027bcf912">place_observation_id_fkey1</value>
18359
              <value type="string" key="d717759e-298a-11e3-a80d-080027bcf912">project</value>
18360
              <value type="string" key="d7179362-298a-11e3-a80d-080027bcf912">place_observation_id_fkey1_idx</value>
18360 18361
              <value type="string" key="db4e8988-1dc6-11e3-838b-410b6ef2c3ca">fk_taxon_observation_taxon_occurrence1</value>
18361 18362
              <value type="string" key="db4e8bea-1dc6-11e3-838b-410b6ef2c3ca">taxon_occurrence</value>
18362 18363
              <value type="string" key="db4ea800-1dc6-11e3-838b-410b6ef2c3ca">fk_taxon_observation_taxon_occurrence1_idx</value>
......
18373 18374
              <value type="string" key="eb77b1da-ad01-11e2-b309-080027bcf912">fk_specimen_taxon_observation1_idx</value>
18374 18375
              <value type="string" key="ec1f6aa2-f6c5-11e2-a35e-080027bcf912">shape</value>
18375 18376
              <value type="string" key="ec6965f0-a925-11e2-acee-080027bcf912">fk_specimen_organization3</value>
18376
              <value type="string" key="eca92a0e-1de3-11e3-b950-080027bcf912">fk_taxa_sampling_event_project1</value>
18377
              <value type="string" key="eca92bf8-1de3-11e3-b950-080027bcf912">project</value>
18378
              <value type="string" key="eca94142-1de3-11e3-b950-080027bcf912">fk_taxa_sampling_event_project1_idx</value>
18379 18377
              <value type="string" key="ed1eb2a6-ad0e-11e2-b309-080027bcf912">fk_collection_organization1</value>
18380 18378
              <value type="string" key="ed1eb468-ad0e-11e2-b309-080027bcf912">institution</value>
18381 18379
              <value type="string" key="ed1ec98a-ad0e-11e2-b309-080027bcf912">fk_collection_organization1_idx</value>
18382
              <value type="string" key="ed551182-011b-11e3-b872-080027bcf912">fk_taxa_sampling_event_place1</value>
18383
              <value type="string" key="ed551376-011b-11e3-b872-080027bcf912">within_place</value>
18384
              <value type="string" key="ed55f9e4-011b-11e3-b872-080027bcf912">fk_taxa_sampling_event_place1_idx</value>
18385 18380
              <value type="string" key="f15726c2-011f-11e3-9f3a-080027bcf912">aggregate_observation</value>
18386 18381
              <value type="string" key="f1572a5a-011f-11e3-9f3a-080027bcf912">id</value>
18387 18382
              <value type="string" key="f1572d5c-011f-11e3-9f3a-080027bcf912">occurrence_status</value>
......
18485 18480
    <value type="object" struct-name="app.DocumentInfo" id="BEE3982F-55A1-4B2C-914A-CD6953803AB9" struct-checksum="0xbba780b8" key="info">
18486 18481
      <value type="string" key="author">Aaron Marcuse-Kubitza</value>
18487 18482
      <value type="string" key="caption">New Model</value>
18488
      <value type="string" key="dateChanged">2013-09-29 21:30</value>
18483
      <value type="string" key="dateChanged">2013-09-29 21:54</value>
18489 18484
      <value type="string" key="dateCreated">2012-01-19 14:06</value>
18490 18485
      <value type="string" key="description"></value>
18491 18486
      <value type="string" key="project">Name of the project</value>
schemas/VegCore/VegCore.my.sql
648 648
CREATE TABLE `place_observation` (
649 649
  `id` varbinary(767) NOT NULL,
650 650
  `place` varbinary(767) NOT NULL,
651
  `project` varbinary(767) DEFAULT NULL,
651 652
  `elevation_m` double DEFAULT NULL,
652 653
  `slope_incline_deg` double DEFAULT NULL,
653 654
  `slope_direction_deg_N` double DEFAULT NULL,
......
658 659
  KEY `fk_place_observation_place1_idx` (`place`),
659 660
  KEY `fk_place_observation_geological_context1_idx` (`geological_context`),
660 661
  KEY `fk_place_observation_community1_idx` (`community`),
661
  CONSTRAINT `fk_place_observation_place1` FOREIGN KEY (`place`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
662
  KEY `place_observation_id_fkey1_idx` (`project`),
663
  CONSTRAINT `place_observation_id_fkey1` FOREIGN KEY (`project`) REFERENCES `project` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
664
  CONSTRAINT `fk_place_observation_community1` FOREIGN KEY (`community`) REFERENCES `community` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
665
  CONSTRAINT `fk_place_observation_event1` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
662 666
  CONSTRAINT `fk_place_observation_geological_context1` FOREIGN KEY (`geological_context`) REFERENCES `geological_context` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
663
  CONSTRAINT `fk_place_observation_community1` FOREIGN KEY (`community`) REFERENCES `community` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
664
  CONSTRAINT `fk_place_observation_event1` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
667
  CONSTRAINT `fk_place_observation_place1` FOREIGN KEY (`place`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
665 668
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A sampling of a [[VegCore#Location|Location]]';
666 669
/*!40101 SET character_set_client = @saved_cs_client */;
667 670

  
......
1113 1116
CREATE TABLE `taxa_sampling_event` (
1114 1117
  `id` varbinary(767) NOT NULL,
1115 1118
  `place_observation` varbinary(767) NOT NULL,
1116
  `project` varbinary(767) DEFAULT NULL,
1117 1119
  `method` varbinary(767) DEFAULT NULL,
1118 1120
  PRIMARY KEY (`id`),
1119 1121
  KEY `fk_sampling_event_method1_idx` (`method`),
1120
  KEY `fk_taxa_sampling_event_project1_idx` (`project`),
1121 1122
  KEY `taxa_sampling_event_id_fkey1_idx` (`place_observation`),
1122
  CONSTRAINT `fk_taxa_sampling_event_project1` FOREIGN KEY (`project`) REFERENCES `project` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1123 1123
  CONSTRAINT `fk_project_event10` FOREIGN KEY (`id`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1124
  CONSTRAINT `taxa_sampling_event_id_fkey1` FOREIGN KEY (`place_observation`) REFERENCES `place_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1125
  CONSTRAINT `fk_sampling_event_method1` FOREIGN KEY (`method`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1124
  CONSTRAINT `fk_sampling_event_method1` FOREIGN KEY (`method`) REFERENCES `method` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
1125
  CONSTRAINT `taxa_sampling_event_id_fkey1` FOREIGN KEY (`place_observation`) REFERENCES `place_observation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
1126 1126
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='for plots and aggregate_observations within them';
1127 1127
/*!40101 SET character_set_client = @saved_cs_client */;
1128 1128

  
schemas/VegCore/VegCore.pg.sql
650 650
CREATE TABLE "place_observation" (
651 651
  "id" text NOT NULL,
652 652
  "place" text NOT NULL,
653
  "project" text DEFAULT NULL,
653 654
  "elevation_m" double precision DEFAULT NULL,
654 655
  "slope_incline_deg" double precision DEFAULT NULL,
655 656
  "slope_direction_deg_N" double precision DEFAULT NULL,
......
660 661
  /*KEY "fk_place_observation_place1_idx" ("place")*/CHECK (true),
661 662
  /*KEY "fk_place_observation_geological_context1_idx" ("geological_context")*/CHECK (true),
662 663
  /*KEY "fk_place_observation_community1_idx" ("community")*/CHECK (true),
663
  /*CONSTRAINT "fk_place_observation_place1" FOREIGN KEY ("place") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
664
  /*KEY "place_observation_id_fkey1_idx" ("project")*/CHECK (true),
665
  /*CONSTRAINT "place_observation_id_fkey1" FOREIGN KEY ("project") REFERENCES "project" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
666
  /*CONSTRAINT "fk_place_observation_community1" FOREIGN KEY ("community") REFERENCES "community" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
667
  /*CONSTRAINT "fk_place_observation_event1" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
664 668
  /*CONSTRAINT "fk_place_observation_geological_context1" FOREIGN KEY ("geological_context") REFERENCES "geological_context" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
665
  /*CONSTRAINT "fk_place_observation_community1" FOREIGN KEY ("community") REFERENCES "community" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
666
  /*CONSTRAINT "fk_place_observation_event1" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
669
  /*CONSTRAINT "fk_place_observation_place1" FOREIGN KEY ("place") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
667 670
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='A sampling of a [[VegCore#Location|Location]]'*/;
668 671
/*!40101 SET character_set_client = @saved_cs_client */;
669 672

  
......
1115 1118
CREATE TABLE "taxa_sampling_event" (
1116 1119
  "id" text NOT NULL,
1117 1120
  "place_observation" text NOT NULL,
1118
  "project" text DEFAULT NULL,
1119 1121
  "method" text DEFAULT NULL,
1120 1122
  PRIMARY KEY ("id"),
1121 1123
  /*KEY "fk_sampling_event_method1_idx" ("method")*/CHECK (true),
1122
  /*KEY "fk_taxa_sampling_event_project1_idx" ("project")*/CHECK (true),
1123 1124
  /*KEY "taxa_sampling_event_id_fkey1_idx" ("place_observation")*/CHECK (true),
1124
  /*CONSTRAINT "fk_taxa_sampling_event_project1" FOREIGN KEY ("project") REFERENCES "project" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1125 1125
  /*CONSTRAINT "fk_project_event10" FOREIGN KEY ("id") REFERENCES "event" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1126
  /*CONSTRAINT "taxa_sampling_event_id_fkey1" FOREIGN KEY ("place_observation") REFERENCES "place_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1127
  /*CONSTRAINT "fk_sampling_event_method1" FOREIGN KEY ("method") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1126
  /*CONSTRAINT "fk_sampling_event_method1" FOREIGN KEY ("method") REFERENCES "method" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
1127
  /*CONSTRAINT "taxa_sampling_event_id_fkey1" FOREIGN KEY ("place_observation") REFERENCES "place_observation" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
1128 1128
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='for plots and aggregate_observations within them'*/;
1129 1129
/*!40101 SET character_set_client = @saved_cs_client */;
1130 1130

  

Also available in: Unified diff