Project

General

Profile

« Previous | Next » 

Revision 10522

schemas/VegCore/VegCore.ERD.mwb: require rel_place to have a parent place. merge plot_element into subplot because subplot is the only place the parent_plot constraint is imposed (individuals can now be located in any place, not just a plot).

View differences:

schemas/VegCore/VegCore.pg.sql
545 545
/*!40000 ALTER TABLE "plot" ENABLE KEYS */;
546 546

  
547 547
--
548
-- Table structure for table "plot_element"
549
--
550

  
551
/*!40101 SET @saved_cs_client     = @@character_set_client */;
552
/*!40101 SET character_set_client = utf8 */;
553
CREATE TABLE "plot_element" (
554
  "id" text NOT NULL,
555
  "parent_plot" text NOT NULL,
556
  PRIMARY KEY ("id"),
557
  /*KEY "fk_subplot_plot2_idx" ("parent_plot")*/CHECK (true),
558
  /*CONSTRAINT "fk_subplot_rel_place10" FOREIGN KEY ("id") REFERENCES "rel_place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
559
  /*CONSTRAINT "fk_subplot_plot20" FOREIGN KEY ("parent_plot") REFERENCES "plot" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
560
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
561
/*!40101 SET character_set_client = @saved_cs_client */;
562

  
563
--
564
-- Dumping data for table "plot_element"
565
--
566

  
567
/*!40000 ALTER TABLE "plot_element" DISABLE KEYS */;
568
/*!40000 ALTER TABLE "plot_element" ENABLE KEYS */;
569

  
570
--
571 548
-- Table structure for table "project"
572 549
--
573 550

  
......
643 620
/*!40101 SET character_set_client = utf8 */;
644 621
CREATE TABLE "rel_place" (
645 622
  "id" text NOT NULL,
623
  "parent" text NOT NULL,
646 624
  "x_m" double precision DEFAULT NULL,
647 625
  "y_m" double precision DEFAULT NULL,
648 626
  "coords" hstore DEFAULT NULL,
649 627
  PRIMARY KEY ("id"),
628
  /*KEY "fk_rel_place_place1_idx" ("parent")*/CHECK (true),
629
  /*CONSTRAINT "fk_rel_place_place1" FOREIGN KEY ("parent") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
650 630
  /*CONSTRAINT "fk_subplot_place2" FOREIGN KEY ("id") REFERENCES "place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
651 631
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='stores plot elements such as subplots ("subplot, line, or any other subsample  or subdivision of plot" ("SALVIAS":http://salvias.net/Documents/salvias_data_dictionary.html#Plot_data/subplot))'*/;
652 632
/*!40101 SET character_set_client = @saved_cs_client */;
......
960 940
/*!40101 SET character_set_client = utf8 */;
961 941
CREATE TABLE "subplot" (
962 942
  "id" text NOT NULL,
943
  "parent_plot" text NOT NULL,
963 944
  PRIMARY KEY ("id"),
964
  /*CONSTRAINT "fk_subplot_plot1" FOREIGN KEY ("id") REFERENCES "plot" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
965
  /*CONSTRAINT "fk_subplot_plot_element1" FOREIGN KEY ("id") REFERENCES "plot_element" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
945
  /*KEY "fk_subplot_plot2_idx" ("parent_plot")*/CHECK (true),
946
  /*CONSTRAINT "fk_subplot_plot2" FOREIGN KEY ("parent_plot") REFERENCES "plot" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
947
  /*CONSTRAINT "fk_subplot_rel_place1" FOREIGN KEY ("id") REFERENCES "rel_place" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
948
  /*CONSTRAINT "fk_subplot_plot1" FOREIGN KEY ("id") REFERENCES "plot" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
966 949
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin*/;
967 950
/*!40101 SET character_set_client = @saved_cs_client */;
968 951

  
schemas/VegCore/document.mwb.xml
1704 1704
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
1705 1705
                      <value type="string" key="comment"></value>
1706 1706
                      <value type="string" key="name">place</value>
1707
                      <value type="string" key="oldName">rel_place_id</value>
1707
                      <value type="string" key="oldName">place</value>
1708 1708
                      <link type="object" struct-name="GrtObject" key="owner">be8e3ecc-a6e0-11e2-95e9-080027bcf912</link>
1709 1709
                    </value>
1710 1710
                    <value type="object" struct-name="db.mysql.Column" id="273737e8-a796-11e2-84c3-080027bcf912" struct-checksum="0x783b5183">
......
1838 1838
                      <value type="int" key="isPrimary">0</value>
1839 1839
                      <value type="string" key="name">fk_individual_rel_place1_idx</value>
1840 1840
                      <value type="int" key="unique">0</value>
1841
                      <value type="string" key="oldName">fk_individual_rel_place1</value>
1841
                      <value type="string" key="oldName">fk_individual_rel_place1_idx</value>
1842 1842
                      <link type="object" struct-name="GrtObject" key="owner">be8e3ecc-a6e0-11e2-95e9-080027bcf912</link>
1843 1843
                    </value>
1844 1844
                  </value>
......
5624 5624
                      <value type="string" key="oldName">id</value>
5625 5625
                      <link type="object" struct-name="GrtObject" key="owner">be8f67e8-a6e0-11e2-95e9-080027bcf912</link>
5626 5626
                    </value>
5627
                    <value type="object" struct-name="db.mysql.Column" id="13884530-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x783b5183">
5628
                      <value type="int" key="autoIncrement">0</value>
5629
                      <value type="string" key="characterSetName"></value>
5630
                      <value _ptr_="0xb927060" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
5631
                      <value type="string" key="collationName"></value>
5632
                      <value type="string" key="datatypeExplicitParams"></value>
5633
                      <value type="string" key="defaultValue"></value>
5634
                      <value type="int" key="defaultValueIsNull">0</value>
5635
                      <value _ptr_="0xc4a8658" type="list" content-type="string" key="flags"/>
5636
                      <value type="int" key="isNotNull">1</value>
5637
                      <value type="int" key="length">767</value>
5638
                      <value type="int" key="precision">-1</value>
5639
                      <value type="int" key="scale">-1</value>
5640
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
5641
                      <value type="string" key="comment"></value>
5642
                      <value type="string" key="name">parent</value>
5643
                      <value type="string" key="oldName">parent</value>
5644
                      <link type="object" struct-name="GrtObject" key="owner">be8f67e8-a6e0-11e2-95e9-080027bcf912</link>
5645
                    </value>
5627 5646
                    <value type="object" struct-name="db.mysql.Column" id="cfea1514-a790-11e2-84c3-080027bcf912" struct-checksum="0x783b5183">
5628 5647
                      <value type="int" key="autoIncrement">0</value>
5629 5648
                      <value type="string" key="characterSetName"></value>
......
5707 5726
                      <value type="string" key="name">fk_subplot_place2</value>
5708 5727
                      <value type="string" key="oldName">fk_subplot_place2</value>
5709 5728
                    </value>
5729
                    <value type="object" struct-name="db.mysql.ForeignKey" id="1388436e-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x70a8fc40">
5730
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">c6723d8a-a7a0-11e2-b667-080027bcf912</link>
5731
                      <value _ptr_="0xbcf6678" type="list" content-type="object" content-struct-name="db.Column" key="columns">
5732
                        <link type="object">13884530-f9c5-11e2-9af4-080027bcf912</link>
5733
                      </value>
5734
                      <value type="int" key="deferability">0</value>
5735
                      <value type="string" key="deleteRule">CASCADE</value>
5736
                      <link type="object" struct-name="db.Index" key="index">13885958-f9c5-11e2-9af4-080027bcf912</link>
5737
                      <value type="int" key="mandatory">1</value>
5738
                      <value type="int" key="many">1</value>
5739
                      <value type="int" key="modelOnly">0</value>
5740
                      <link type="object" struct-name="db.Table" key="owner">be8f67e8-a6e0-11e2-95e9-080027bcf912</link>
5741
                      <value _ptr_="0xb7d7f28" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
5742
                        <link type="object">c6724000-a7a0-11e2-b667-080027bcf912</link>
5743
                      </value>
5744
                      <value type="int" key="referencedMandatory">1</value>
5745
                      <value type="string" key="updateRule">CASCADE</value>
5746
                      <value type="string" key="comment"></value>
5747
                      <value type="string" key="name">fk_rel_place_place1</value>
5748
                      <value type="string" key="oldName">fk_rel_place_place1</value>
5749
                    </value>
5710 5750
                  </value>
5711 5751
                  <value _ptr_="0xb06cc70" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
5712 5752
                    <value type="object" struct-name="db.mysql.Index" id="be8f6c7a-a6e0-11e2-95e9-080027bcf912" struct-checksum="0x309b847a">
......
5732 5772
                      <value type="string" key="oldName">PRIMARY</value>
5733 5773
                      <link type="object" struct-name="GrtObject" key="owner">be8f67e8-a6e0-11e2-95e9-080027bcf912</link>
5734 5774
                    </value>
5775
                    <value type="object" struct-name="db.mysql.Index" id="13885958-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x309b847a">
5776
                      <value _ptr_="0xbb76db0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
5777
                        <value type="object" struct-name="db.mysql.IndexColumn" id="13885ade-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x62630b3c">
5778
                          <value type="int" key="columnLength">0</value>
5779
                          <value type="string" key="comment"></value>
5780
                          <value type="int" key="descend">0</value>
5781
                          <link type="object" struct-name="db.Column" key="referencedColumn">13884530-f9c5-11e2-9af4-080027bcf912</link>
5782
                          <value type="string" key="name"></value>
5783
                          <link type="object" struct-name="GrtObject" key="owner">13885958-f9c5-11e2-9af4-080027bcf912</link>
5784
                        </value>
5785
                      </value>
5786
                      <value type="string" key="indexKind"></value>
5787
                      <value type="int" key="keyBlockSize">0</value>
5788
                      <value type="string" key="withParser"></value>
5789
                      <value type="string" key="comment"></value>
5790
                      <value type="int" key="deferability">0</value>
5791
                      <value type="string" key="indexType">INDEX</value>
5792
                      <value type="int" key="isPrimary">0</value>
5793
                      <value type="string" key="name">fk_rel_place_place1_idx</value>
5794
                      <value type="int" key="unique">0</value>
5795
                      <value type="string" key="oldName">fk_rel_place_place1_idx</value>
5796
                      <link type="object" struct-name="GrtObject" key="owner">be8f67e8-a6e0-11e2-95e9-080027bcf912</link>
5797
                    </value>
5735 5798
                  </value>
5736 5799
                  <value type="string" key="maxRows"></value>
5737 5800
                  <value type="string" key="mergeInsert"></value>
......
5763 5826
                  <value type="int" key="commentedOut">0</value>
5764 5827
                  <value type="string" key="createDate">2013-04-16 14:58</value>
5765 5828
                  <value _ptr_="0xb06c9f8" type="dict" key="customData"/>
5766
                  <value type="string" key="lastChangeDate">2013-07-30 18:34</value>
5829
                  <value type="string" key="lastChangeDate">2013-07-31 02:39</value>
5767 5830
                  <value type="int" key="modelOnly">0</value>
5768 5831
                  <value type="string" key="name">rel_place</value>
5769 5832
                  <link type="object" struct-name="GrtNamedObject" key="owner">be8cb246-a6e0-11e2-95e9-080027bcf912</link>
......
10536 10599
                      <value type="string" key="oldName">id</value>
10537 10600
                      <link type="object" struct-name="GrtObject" key="owner">2673b9ee-f9bc-11e2-a599-080027bcf912</link>
10538 10601
                    </value>
10602
                    <value type="object" struct-name="db.mysql.Column" id="49a235d6-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x783b5183">
10603
                      <value type="int" key="autoIncrement">0</value>
10604
                      <value type="string" key="characterSetName"></value>
10605
                      <value _ptr_="0xbe18d40" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
10606
                      <value type="string" key="collationName"></value>
10607
                      <value type="string" key="datatypeExplicitParams"></value>
10608
                      <value type="string" key="defaultValue"></value>
10609
                      <value type="int" key="defaultValueIsNull">0</value>
10610
                      <value _ptr_="0xb934528" type="list" content-type="string" key="flags"/>
10611
                      <value type="int" key="isNotNull">1</value>
10612
                      <value type="int" key="length">767</value>
10613
                      <value type="int" key="precision">-1</value>
10614
                      <value type="int" key="scale">-1</value>
10615
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
10616
                      <value type="string" key="comment"></value>
10617
                      <value type="string" key="name">parent_plot</value>
10618
                      <value type="string" key="oldName">parent_plot</value>
10619
                      <link type="object" struct-name="GrtObject" key="owner">2673b9ee-f9bc-11e2-a599-080027bcf912</link>
10620
                    </value>
10539 10621
                  </value>
10540 10622
                  <value type="string" key="connectionString"></value>
10541 10623
                  <value type="string" key="defaultCharacterSetName">utf8</value>
......
10562 10644
                      <value type="string" key="name">fk_subplot_plot1</value>
10563 10645
                      <value type="string" key="oldName">fk_subplot_plot1</value>
10564 10646
                    </value>
10565
                    <value type="object" struct-name="db.mysql.ForeignKey" id="a13a5e16-f9bd-11e2-af16-080027bcf912" struct-checksum="0x70a8fc40">
10566
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">36134f4e-f9bd-11e2-af16-080027bcf912</link>
10567
                      <value _ptr_="0xb0b4f70" type="list" content-type="object" content-struct-name="db.Column" key="columns">
10568
                        <link type="object">2673bdc2-f9bc-11e2-a599-080027bcf912</link>
10647
                    <value type="object" struct-name="db.mysql.ForeignKey" id="49a23428-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x70a8fc40">
10648
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">9f4bd98c-a6fb-11e2-9461-080027bcf912</link>
10649
                      <value _ptr_="0xc452a58" type="list" content-type="object" content-struct-name="db.Column" key="columns">
10650
                        <link type="object">49a235d6-f9c5-11e2-9af4-080027bcf912</link>
10569 10651
                      </value>
10570 10652
                      <value type="int" key="deferability">0</value>
10571 10653
                      <value type="string" key="deleteRule">CASCADE</value>
10572
                      <value type="int" key="mandatory">0</value>
10573
                      <value type="int" key="many">0</value>
10654
                      <link type="object" struct-name="db.Index" key="index">49a26722-f9c5-11e2-9af4-080027bcf912</link>
10655
                      <value type="int" key="mandatory">1</value>
10656
                      <value type="int" key="many">1</value>
10574 10657
                      <value type="int" key="modelOnly">0</value>
10575 10658
                      <link type="object" struct-name="db.Table" key="owner">2673b9ee-f9bc-11e2-a599-080027bcf912</link>
10576
                      <value _ptr_="0xb0b52f8" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
10577
                        <link type="object">36135336-f9bd-11e2-af16-080027bcf912</link>
10659
                      <value _ptr_="0xb9b3d18" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
10660
                        <link type="object">9f4bdd10-a6fb-11e2-9461-080027bcf912</link>
10578 10661
                      </value>
10579 10662
                      <value type="int" key="referencedMandatory">1</value>
10580 10663
                      <value type="string" key="updateRule">CASCADE</value>
10581 10664
                      <value type="string" key="comment"></value>
10582
                      <value type="string" key="name">fk_subplot_plot_element1</value>
10583
                      <value type="string" key="oldName">fk_subplot_plot_element1</value>
10665
                      <value type="string" key="name">fk_subplot_plot2</value>
10666
                      <value type="string" key="oldName">fk_subplot_plot2</value>
10584 10667
                    </value>
10585
                  </value>
10586
                  <value _ptr_="0xb0b4490" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
10587
                    <value type="object" struct-name="db.mysql.Index" id="2673d532-f9bc-11e2-a599-080027bcf912" struct-checksum="0x309b847a">
10588
                      <value _ptr_="0xb0b5388" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
10589
                        <value type="object" struct-name="db.mysql.IndexColumn" id="2673d65e-f9bc-11e2-a599-080027bcf912" struct-checksum="0x62630b3c">
10590
                          <value type="int" key="columnLength">0</value>
10591
                          <value type="string" key="comment"></value>
10592
                          <value type="int" key="descend">0</value>
10593
                          <link type="object" struct-name="db.Column" key="referencedColumn">2673bdc2-f9bc-11e2-a599-080027bcf912</link>
10594
                          <value type="string" key="name"></value>
10595
                          <link type="object" struct-name="GrtObject" key="owner">2673d532-f9bc-11e2-a599-080027bcf912</link>
10596
                        </value>
10597
                      </value>
10598
                      <value type="string" key="indexKind"></value>
10599
                      <value type="int" key="keyBlockSize">0</value>
10600
                      <value type="string" key="withParser"></value>
10601
                      <value type="string" key="comment"></value>
10602
                      <value type="int" key="deferability">0</value>
10603
                      <value type="string" key="indexType">PRIMARY</value>
10604
                      <value type="int" key="isPrimary">1</value>
10605
                      <value type="string" key="name">PRIMARY</value>
10606
                      <value type="int" key="unique">0</value>
10607
                      <value type="string" key="oldName">PRIMARY</value>
10608
                      <link type="object" struct-name="GrtObject" key="owner">2673b9ee-f9bc-11e2-a599-080027bcf912</link>
10609
                    </value>
10610
                  </value>
10611
                  <value type="string" key="maxRows"></value>
10612
                  <value type="string" key="mergeInsert"></value>
10613
                  <value type="string" key="mergeUnion"></value>
10614
                  <value type="string" key="minRows"></value>
10615
                  <value type="string" key="nextAutoInc"></value>
10616
                  <value type="string" key="packKeys"></value>
10617
                  <value type="int" key="partitionCount">0</value>
10618
                  <value _ptr_="0xb0b4540" type="list" content-type="object" content-struct-name="db.mysql.PartitionDefinition" key="partitionDefinitions"/>
10619
                  <value type="string" key="partitionExpression"></value>
10620
                  <value type="string" key="partitionType"></value>
10621
                  <value type="string" key="password"></value>
10622
                  <link type="object" struct-name="db.mysql.Index" key="primaryKey">2673d532-f9bc-11e2-a599-080027bcf912</link>
10623
                  <value type="string" key="raidChunkSize"></value>
10624
                  <value type="string" key="raidChunks"></value>
10625
                  <value type="string" key="raidType"></value>
10626
                  <value type="string" key="rowFormat"></value>
10627
                  <value type="int" key="subpartitionCount">0</value>
10628
                  <value type="string" key="subpartitionExpression"></value>
10629
                  <value type="string" key="subpartitionType"></value>
10630
                  <value type="string" key="tableDataDir"></value>
10631
                  <value type="string" key="tableEngine">InnoDB</value>
10632
                  <value type="string" key="tableIndexDir"></value>
10633
                  <value _ptr_="0xb0b44e0" type="list" content-type="object" content-struct-name="db.mysql.Trigger" key="triggers"/>
10634
                  <value type="int" key="isStub">0</value>
10635
                  <value type="int" key="isSystem">0</value>
10636
                  <value type="int" key="isTemporary">0</value>
10637
                  <value type="string" key="temporaryScope"></value>
10638
                  <value type="int" key="commentedOut">0</value>
10639
                  <value type="string" key="createDate">2013-04-16 14:58</value>
10640
                  <value _ptr_="0xb0b4218" type="dict" key="customData"/>
10641
                  <value type="string" key="lastChangeDate">2013-07-31 01:39</value>
10642
                  <value type="int" key="modelOnly">0</value>
10643
                  <value type="string" key="name">subplot</value>
10644
                  <link type="object" struct-name="GrtNamedObject" key="owner">be8cb246-a6e0-11e2-95e9-080027bcf912</link>
10645
                  <value type="string" key="temp_sql"></value>
10646
                  <value type="string" key="comment"></value>
10647
                  <value type="string" key="oldName">subplot</value>
10648
                </value>
10649
                <value type="object" struct-name="db.mysql.Table" id="36134f4e-f9bd-11e2-af16-080027bcf912" struct-checksum="0x1a403946">
10650
                  <value type="string" key="avgRowLength"></value>
10651
                  <value type="int" key="checksum">0</value>
10652
                  <value _ptr_="0xb0b5768" type="list" content-type="object" content-struct-name="db.mysql.Column" key="columns">
10653
                    <value type="object" struct-name="db.mysql.Column" id="36135336-f9bd-11e2-af16-080027bcf912" struct-checksum="0x783b5183">
10654
                      <value type="int" key="autoIncrement">0</value>
10655
                      <value type="string" key="characterSetName"></value>
10656
                      <value _ptr_="0xb0b62b8" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
10657
                      <value type="string" key="collationName"></value>
10658
                      <value type="string" key="datatypeExplicitParams"></value>
10659
                      <value type="string" key="defaultValue"></value>
10660
                      <value type="int" key="defaultValueIsNull">0</value>
10661
                      <value _ptr_="0xb0b6618" type="list" content-type="string" key="flags"/>
10662
                      <value type="int" key="isNotNull">1</value>
10663
                      <value type="int" key="length">767</value>
10664
                      <value type="int" key="precision">-1</value>
10665
                      <value type="int" key="scale">-1</value>
10666
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
10667
                      <value type="string" key="comment"></value>
10668
                      <value type="string" key="name">id</value>
10669
                      <value type="string" key="oldName">id</value>
10670
                      <link type="object" struct-name="GrtObject" key="owner">36134f4e-f9bd-11e2-af16-080027bcf912</link>
10671
                    </value>
10672
                    <value type="object" struct-name="db.mysql.Column" id="36135688-f9bd-11e2-af16-080027bcf912" struct-checksum="0x783b5183">
10673
                      <value type="int" key="autoIncrement">0</value>
10674
                      <value type="string" key="characterSetName"></value>
10675
                      <value _ptr_="0xb0b6768" type="list" content-type="object" content-struct-name="db.CheckConstraint" key="checks"/>
10676
                      <value type="string" key="collationName"></value>
10677
                      <value type="string" key="datatypeExplicitParams"></value>
10678
                      <value type="string" key="defaultValue"></value>
10679
                      <value type="int" key="defaultValueIsNull">0</value>
10680
                      <value _ptr_="0xb0b6ac8" type="list" content-type="string" key="flags"/>
10681
                      <value type="int" key="isNotNull">1</value>
10682
                      <value type="int" key="length">767</value>
10683
                      <value type="int" key="precision">-1</value>
10684
                      <value type="int" key="scale">-1</value>
10685
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
10686
                      <value type="string" key="comment"></value>
10687
                      <value type="string" key="name">parent_plot</value>
10688
                      <value type="string" key="oldName">parent_plot</value>
10689
                      <link type="object" struct-name="GrtObject" key="owner">36134f4e-f9bd-11e2-af16-080027bcf912</link>
10690
                    </value>
10691
                  </value>
10692
                  <value type="string" key="connectionString"></value>
10693
                  <value type="string" key="defaultCharacterSetName">utf8</value>
10694
                  <value type="string" key="defaultCollationName">utf8_bin</value>
10695
                  <value type="int" key="delayKeyWrite">0</value>
10696
                  <value _ptr_="0xb0b6018" type="list" content-type="object" content-struct-name="db.mysql.ForeignKey" key="foreignKeys">
10697
                    <value type="object" struct-name="db.mysql.ForeignKey" id="36135b4c-f9bd-11e2-af16-080027bcf912" struct-checksum="0x70a8fc40">
10668
                    <value type="object" struct-name="db.mysql.ForeignKey" id="4e34b204-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x70a8fc40">
10698 10669
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">be8f67e8-a6e0-11e2-95e9-080027bcf912</link>
10699
                      <value _ptr_="0xb0b6c40" type="list" content-type="object" content-struct-name="db.Column" key="columns">
10700
                        <link type="object">36135336-f9bd-11e2-af16-080027bcf912</link>
10670
                      <value _ptr_="0xbddbd28" type="list" content-type="object" content-struct-name="db.Column" key="columns">
10671
                        <link type="object">2673bdc2-f9bc-11e2-a599-080027bcf912</link>
10701 10672
                      </value>
10702 10673
                      <value type="int" key="deferability">0</value>
10703 10674
                      <value type="string" key="deleteRule">CASCADE</value>
10704 10675
                      <value type="int" key="mandatory">0</value>
10705 10676
                      <value type="int" key="many">0</value>
10706 10677
                      <value type="int" key="modelOnly">0</value>
10707
                      <link type="object" struct-name="db.Table" key="owner">36134f4e-f9bd-11e2-af16-080027bcf912</link>
10708
                      <value _ptr_="0xb0b6fa8" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
10678
                      <link type="object" struct-name="db.Table" key="owner">2673b9ee-f9bc-11e2-a599-080027bcf912</link>
10679
                      <value _ptr_="0xc2156c0" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
10709 10680
                        <link type="object">be8f6a86-a6e0-11e2-95e9-080027bcf912</link>
10710 10681
                      </value>
10711 10682
                      <value type="int" key="referencedMandatory">1</value>
10712 10683
                      <value type="string" key="updateRule">CASCADE</value>
10713 10684
                      <value type="string" key="comment"></value>
10714
                      <value type="string" key="name">fk_subplot_rel_place10</value>
10715
                      <value type="string" key="oldName">fk_subplot_rel_place10</value>
10685
                      <value type="string" key="name">fk_subplot_rel_place1</value>
10686
                      <value type="string" key="oldName">fk_subplot_rel_place1</value>
10716 10687
                    </value>
10717
                    <value type="object" struct-name="db.mysql.ForeignKey" id="36135d36-f9bd-11e2-af16-080027bcf912" struct-checksum="0x70a8fc40">
10718
                      <link type="object" struct-name="db.mysql.Table" key="referencedTable">9f4bd98c-a6fb-11e2-9461-080027bcf912</link>
10719
                      <value _ptr_="0xb0b7018" type="list" content-type="object" content-struct-name="db.Column" key="columns">
10720
                        <link type="object">36135688-f9bd-11e2-af16-080027bcf912</link>
10721
                      </value>
10722
                      <value type="int" key="deferability">0</value>
10723
                      <value type="string" key="deleteRule">CASCADE</value>
10724
                      <link type="object" struct-name="db.Index" key="index">36136222-f9bd-11e2-af16-080027bcf912</link>
10725
                      <value type="int" key="mandatory">1</value>
10726
                      <value type="int" key="many">1</value>
10727
                      <value type="int" key="modelOnly">0</value>
10728
                      <link type="object" struct-name="db.Table" key="owner">36134f4e-f9bd-11e2-af16-080027bcf912</link>
10729
                      <value _ptr_="0xb0b73a0" type="list" content-type="object" content-struct-name="db.Column" key="referencedColumns">
10730
                        <link type="object">9f4bdd10-a6fb-11e2-9461-080027bcf912</link>
10731
                      </value>
10732
                      <value type="int" key="referencedMandatory">1</value>
10733
                      <value type="string" key="updateRule">CASCADE</value>
10734
                      <value type="string" key="comment"></value>
10735
                      <value type="string" key="name">fk_subplot_plot20</value>
10736
                      <value type="string" key="oldName">fk_subplot_plot20</value>
10737
                    </value>
10738 10688
                  </value>
10739
                  <value _ptr_="0xb0b6068" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
10740
                    <value type="object" struct-name="db.mysql.Index" id="36135f20-f9bd-11e2-af16-080027bcf912" struct-checksum="0x309b847a">
10741
                      <value _ptr_="0xb0b7430" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
10742
                        <value type="object" struct-name="db.mysql.IndexColumn" id="36136056-f9bd-11e2-af16-080027bcf912" struct-checksum="0x62630b3c">
10689
                  <value _ptr_="0xb0b4490" type="list" content-type="object" content-struct-name="db.mysql.Index" key="indices">
10690
                    <value type="object" struct-name="db.mysql.Index" id="2673d532-f9bc-11e2-a599-080027bcf912" struct-checksum="0x309b847a">
10691
                      <value _ptr_="0xb0b5388" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
10692
                        <value type="object" struct-name="db.mysql.IndexColumn" id="2673d65e-f9bc-11e2-a599-080027bcf912" struct-checksum="0x62630b3c">
10743 10693
                          <value type="int" key="columnLength">0</value>
10744 10694
                          <value type="string" key="comment"></value>
10745 10695
                          <value type="int" key="descend">0</value>
10746
                          <link type="object" struct-name="db.Column" key="referencedColumn">36135336-f9bd-11e2-af16-080027bcf912</link>
10696
                          <link type="object" struct-name="db.Column" key="referencedColumn">2673bdc2-f9bc-11e2-a599-080027bcf912</link>
10747 10697
                          <value type="string" key="name"></value>
10748
                          <link type="object" struct-name="GrtObject" key="owner">36135f20-f9bd-11e2-af16-080027bcf912</link>
10698
                          <link type="object" struct-name="GrtObject" key="owner">2673d532-f9bc-11e2-a599-080027bcf912</link>
10749 10699
                        </value>
10750 10700
                      </value>
10751 10701
                      <value type="string" key="indexKind"></value>
......
10758 10708
                      <value type="string" key="name">PRIMARY</value>
10759 10709
                      <value type="int" key="unique">0</value>
10760 10710
                      <value type="string" key="oldName">PRIMARY</value>
10761
                      <link type="object" struct-name="GrtObject" key="owner">36134f4e-f9bd-11e2-af16-080027bcf912</link>
10711
                      <link type="object" struct-name="GrtObject" key="owner">2673b9ee-f9bc-11e2-a599-080027bcf912</link>
10762 10712
                    </value>
10763
                    <value type="object" struct-name="db.mysql.Index" id="36136222-f9bd-11e2-af16-080027bcf912" struct-checksum="0x309b847a">
10764
                      <value _ptr_="0xb0b7810" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
10765
                        <value type="object" struct-name="db.mysql.IndexColumn" id="36136330-f9bd-11e2-af16-080027bcf912" struct-checksum="0x62630b3c">
10713
                    <value type="object" struct-name="db.mysql.Index" id="49a26722-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x309b847a">
10714
                      <value _ptr_="0xbe108f0" type="list" content-type="object" content-struct-name="db.mysql.IndexColumn" key="columns">
10715
                        <value type="object" struct-name="db.mysql.IndexColumn" id="49a268bc-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x62630b3c">
10766 10716
                          <value type="int" key="columnLength">0</value>
10767 10717
                          <value type="string" key="comment"></value>
10768 10718
                          <value type="int" key="descend">0</value>
10769
                          <link type="object" struct-name="db.Column" key="referencedColumn">36135688-f9bd-11e2-af16-080027bcf912</link>
10719
                          <link type="object" struct-name="db.Column" key="referencedColumn">49a235d6-f9c5-11e2-9af4-080027bcf912</link>
10770 10720
                          <value type="string" key="name"></value>
10771
                          <link type="object" struct-name="GrtObject" key="owner">36136222-f9bd-11e2-af16-080027bcf912</link>
10721
                          <link type="object" struct-name="GrtObject" key="owner">49a26722-f9c5-11e2-9af4-080027bcf912</link>
10772 10722
                        </value>
10773 10723
                      </value>
10774 10724
                      <value type="string" key="indexKind"></value>
......
10781 10731
                      <value type="string" key="name">fk_subplot_plot2_idx</value>
10782 10732
                      <value type="int" key="unique">0</value>
10783 10733
                      <value type="string" key="oldName">fk_subplot_plot2_idx</value>
10784
                      <link type="object" struct-name="GrtObject" key="owner">36134f4e-f9bd-11e2-af16-080027bcf912</link>
10734
                      <link type="object" struct-name="GrtObject" key="owner">2673b9ee-f9bc-11e2-a599-080027bcf912</link>
10785 10735
                    </value>
10786 10736
                  </value>
10787 10737
                  <value type="string" key="maxRows"></value>
......
10791 10741
                  <value type="string" key="nextAutoInc"></value>
10792 10742
                  <value type="string" key="packKeys"></value>
10793 10743
                  <value type="int" key="partitionCount">0</value>
10794
                  <value _ptr_="0xb0b6118" type="list" content-type="object" content-struct-name="db.mysql.PartitionDefinition" key="partitionDefinitions"/>
10744
                  <value _ptr_="0xb0b4540" type="list" content-type="object" content-struct-name="db.mysql.PartitionDefinition" key="partitionDefinitions"/>
10795 10745
                  <value type="string" key="partitionExpression"></value>
10796 10746
                  <value type="string" key="partitionType"></value>
10797 10747
                  <value type="string" key="password"></value>
10798
                  <link type="object" struct-name="db.mysql.Index" key="primaryKey">36135f20-f9bd-11e2-af16-080027bcf912</link>
10748
                  <link type="object" struct-name="db.mysql.Index" key="primaryKey">2673d532-f9bc-11e2-a599-080027bcf912</link>
10799 10749
                  <value type="string" key="raidChunkSize"></value>
10800 10750
                  <value type="string" key="raidChunks"></value>
10801 10751
                  <value type="string" key="raidType"></value>
......
10806 10756
                  <value type="string" key="tableDataDir"></value>
10807 10757
                  <value type="string" key="tableEngine">InnoDB</value>
10808 10758
                  <value type="string" key="tableIndexDir"></value>
10809
                  <value _ptr_="0xb0b60b8" type="list" content-type="object" content-struct-name="db.mysql.Trigger" key="triggers"/>
10759
                  <value _ptr_="0xb0b44e0" type="list" content-type="object" content-struct-name="db.mysql.Trigger" key="triggers"/>
10810 10760
                  <value type="int" key="isStub">0</value>
10811 10761
                  <value type="int" key="isSystem">0</value>
10812 10762
                  <value type="int" key="isTemporary">0</value>
10813 10763
                  <value type="string" key="temporaryScope"></value>
10814 10764
                  <value type="int" key="commentedOut">0</value>
10815 10765
                  <value type="string" key="createDate">2013-04-16 14:58</value>
10816
                  <value _ptr_="0xb0b5df0" type="dict" key="customData"/>
10817
                  <value type="string" key="lastChangeDate">2013-07-31 01:43</value>
10766
                  <value _ptr_="0xb0b4218" type="dict" key="customData"/>
10767
                  <value type="string" key="lastChangeDate">2013-07-31 02:41</value>
10818 10768
                  <value type="int" key="modelOnly">0</value>
10819
                  <value type="string" key="name">plot_element</value>
10769
                  <value type="string" key="name">subplot</value>
10820 10770
                  <link type="object" struct-name="GrtNamedObject" key="owner">be8cb246-a6e0-11e2-95e9-080027bcf912</link>
10821 10771
                  <value type="string" key="temp_sql"></value>
10822 10772
                  <value type="string" key="comment"></value>
10823
                  <value type="string" key="oldName">plot_element</value>
10773
                  <value type="string" key="oldName">subplot</value>
10824 10774
                </value>
10825 10775
              </value>
10826 10776
              <value _ptr_="0xb02b6d0" type="list" content-type="object" content-struct-name="db.mysql.View" key="views"/>
......
13114 13064
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
13115 13065
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
13116 13066
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">686ec05a-f9bc-11e2-a599-080027bcf912</link>
13117
                <value type="real" key="middleSegmentOffset">4.61543287187117812209180556237697601318359375e+01</value>
13067
                <value type="real" key="middleSegmentOffset">7.69338819406340235218522138893604278564453125e+00</value>
13118 13068
                <value type="real" key="startCaptionXOffs">0.e+00</value>
13119 13069
                <value type="real" key="startCaptionYOffs">0.e+00</value>
13120 13070
                <value type="int" key="drawSplit">0</value>
......
13124 13074
                <value type="int" key="visible">1</value>
13125 13075
                <value type="string" key="name"></value>
13126 13076
              </value>
13127
              <value type="object" struct-name="workbench.physical.Connection" id="36142860-f9bd-11e2-af16-080027bcf912" struct-checksum="0x9baebc92">
13128
                <value type="string" key="caption">fk_subplot_rel_place10</value>
13077
              <value type="object" struct-name="workbench.physical.Connection" id="978fde0c-f9c4-11e2-9af4-080027bcf912" struct-checksum="0x9baebc92">
13078
                <value type="string" key="caption">fk_individual_rel_place1</value>
13129 13079
                <value type="real" key="captionXOffs">0.e+00</value>
13130 13080
                <value type="real" key="captionYOffs">0.e+00</value>
13131 13081
                <value type="string" key="comment"></value>
......
13134 13084
                <value type="string" key="extraCaption"></value>
13135 13085
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
13136 13086
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
13137
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">36135b4c-f9bd-11e2-af16-080027bcf912</link>
13087
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">978ed0d4-f9c4-11e2-9af4-080027bcf912</link>
13138 13088
                <value type="real" key="middleSegmentOffset">0.e+00</value>
13139 13089
                <value type="real" key="startCaptionXOffs">0.e+00</value>
13140 13090
                <value type="real" key="startCaptionYOffs">0.e+00</value>
13141 13091
                <value type="int" key="drawSplit">0</value>
13142 13092
                <link type="object" struct-name="model.Figure" key="endFigure">B61D4BD4-43FB-4E3D-B257-6991B484B1FB</link>
13143
                <link type="object" struct-name="model.Figure" key="startFigure">361378e8-f9bd-11e2-af16-080027bcf912</link>
13093
                <link type="object" struct-name="model.Figure" key="startFigure">793D3016-8986-43EC-A4BD-1926D93F12C5</link>
13144 13094
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
13145 13095
                <value type="int" key="visible">1</value>
13146 13096
                <value type="string" key="name"></value>
13147 13097
              </value>
13148
              <value type="object" struct-name="workbench.physical.Connection" id="36142ff4-f9bd-11e2-af16-080027bcf912" struct-checksum="0x9baebc92">
13149
                <value type="string" key="caption">fk_subplot_plot20</value>
13098
              <value type="object" struct-name="workbench.physical.Connection" id="13886128-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x9baebc92">
13099
                <value type="string" key="caption">fk_rel_place_place1</value>
13150 13100
                <value type="real" key="captionXOffs">0.e+00</value>
13151 13101
                <value type="real" key="captionYOffs">0.e+00</value>
13152 13102
                <value type="string" key="comment"></value>
......
13155 13105
                <value type="string" key="extraCaption"></value>
13156 13106
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
13157 13107
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
13158
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">36135d36-f9bd-11e2-af16-080027bcf912</link>
13108
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">1388436e-f9c5-11e2-9af4-080027bcf912</link>
13159 13109
                <value type="real" key="middleSegmentOffset">0.e+00</value>
13160 13110
                <value type="real" key="startCaptionXOffs">0.e+00</value>
13161 13111
                <value type="real" key="startCaptionYOffs">0.e+00</value>
13162 13112
                <value type="int" key="drawSplit">0</value>
13163
                <link type="object" struct-name="model.Figure" key="endFigure">9f4be6e8-a6fb-11e2-9461-080027bcf912</link>
13164
                <link type="object" struct-name="model.Figure" key="startFigure">361378e8-f9bd-11e2-af16-080027bcf912</link>
13113
                <link type="object" struct-name="model.Figure" key="endFigure">286AE59E-913E-4F00-A662-693F828EFB6F</link>
13114
                <link type="object" struct-name="model.Figure" key="startFigure">B61D4BD4-43FB-4E3D-B257-6991B484B1FB</link>
13165 13115
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
13166 13116
                <value type="int" key="visible">1</value>
13167 13117
                <value type="string" key="name"></value>
13168 13118
              </value>
13169
              <value type="object" struct-name="workbench.physical.Connection" id="a13a746e-f9bd-11e2-af16-080027bcf912" struct-checksum="0x9baebc92">
13170
                <value type="string" key="caption">fk_subplot_plot_element1</value>
13119
              <value type="object" struct-name="workbench.physical.Connection" id="49a273de-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x9baebc92">
13120
                <value type="string" key="caption">fk_subplot_plot2</value>
13171 13121
                <value type="real" key="captionXOffs">0.e+00</value>
13172 13122
                <value type="real" key="captionYOffs">0.e+00</value>
13173 13123
                <value type="string" key="comment"></value>
......
13176 13126
                <value type="string" key="extraCaption"></value>
13177 13127
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
13178 13128
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
13179
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">a13a5e16-f9bd-11e2-af16-080027bcf912</link>
13180
                <value type="real" key="middleSegmentOffset">-2.845971321911520135472528636455535888671875e+00</value>
13129
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">49a23428-f9c5-11e2-9af4-080027bcf912</link>
13130
                <value type="real" key="middleSegmentOffset">0.e+00</value>
13181 13131
                <value type="real" key="startCaptionXOffs">0.e+00</value>
13182 13132
                <value type="real" key="startCaptionYOffs">0.e+00</value>
13183 13133
                <value type="int" key="drawSplit">0</value>
13184
                <link type="object" struct-name="model.Figure" key="endFigure">361378e8-f9bd-11e2-af16-080027bcf912</link>
13134
                <link type="object" struct-name="model.Figure" key="endFigure">9f4be6e8-a6fb-11e2-9461-080027bcf912</link>
13185 13135
                <link type="object" struct-name="model.Figure" key="startFigure">2673ee0a-f9bc-11e2-a599-080027bcf912</link>
13186 13136
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
13187 13137
                <value type="int" key="visible">1</value>
13188 13138
                <value type="string" key="name"></value>
13189 13139
              </value>
13190
              <value type="object" struct-name="workbench.physical.Connection" id="978fde0c-f9c4-11e2-9af4-080027bcf912" struct-checksum="0x9baebc92">
13191
                <value type="string" key="caption">fk_individual_rel_place1</value>
13140
              <value type="object" struct-name="workbench.physical.Connection" id="4e34d068-f9c5-11e2-9af4-080027bcf912" struct-checksum="0x9baebc92">
13141
                <value type="string" key="caption">fk_subplot_rel_place1</value>
13192 13142
                <value type="real" key="captionXOffs">0.e+00</value>
13193 13143
                <value type="real" key="captionYOffs">0.e+00</value>
13194 13144
                <value type="string" key="comment"></value>
......
13197 13147
                <value type="string" key="extraCaption"></value>
13198 13148
                <value type="real" key="extraCaptionXOffs">0.e+00</value>
13199 13149
                <value type="real" key="extraCaptionYOffs">0.e+00</value>
13200
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">978ed0d4-f9c4-11e2-9af4-080027bcf912</link>
13150
                <link type="object" struct-name="db.ForeignKey" key="foreignKey">4e34b204-f9c5-11e2-9af4-080027bcf912</link>
13201 13151
                <value type="real" key="middleSegmentOffset">0.e+00</value>
13202 13152
                <value type="real" key="startCaptionXOffs">0.e+00</value>
13203 13153
                <value type="real" key="startCaptionYOffs">0.e+00</value>
13204 13154
                <value type="int" key="drawSplit">0</value>
13205 13155
                <link type="object" struct-name="model.Figure" key="endFigure">B61D4BD4-43FB-4E3D-B257-6991B484B1FB</link>
13206
                <link type="object" struct-name="model.Figure" key="startFigure">793D3016-8986-43EC-A4BD-1926D93F12C5</link>
13156
                <link type="object" struct-name="model.Figure" key="startFigure">2673ee0a-f9bc-11e2-a599-080027bcf912</link>
13207 13157
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
13208 13158
                <value type="int" key="visible">1</value>
13209 13159
                <value type="string" key="name"></value>
......
13435 13385
                <value type="int" key="triggersExpanded">0</value>
13436 13386
                <value type="string" key="color">#ffcc33</value>
13437 13387
                <value type="int" key="expanded">1</value>
13438
                <value type="real" key="height">1.23e+02</value>
13388
                <value type="real" key="height">1.46e+02</value>
13439 13389
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
13440 13390
                <value type="real" key="left">6.94e+02</value>
13441 13391
                <value type="int" key="locked">0</value>
......
14106 14056
                <value type="real" key="left">6.01e+02</value>
14107 14057
                <value type="int" key="locked">0</value>
14108 14058
                <value type="int" key="manualSizing">0</value>
14109
                <value type="real" key="top">1.87e+02</value>
14059
                <value type="real" key="top">2.02e+02</value>
14110 14060
                <value type="real" key="width">1.25e+02</value>
14111 14061
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
14112 14062
                <value type="int" key="visible">1</value>
......
14654 14604
                <value type="int" key="triggersExpanded">0</value>
14655 14605
                <value type="string" key="color">#ffcc33</value>
14656 14606
                <value type="int" key="expanded">1</value>
14657
                <value type="real" key="height">5.4e+01</value>
14607
                <value type="real" key="height">7.7e+01</value>
14658 14608
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
14659
                <value type="real" key="left">6.62e+02</value>
14609
                <value type="real" key="left">6.75e+02</value>
14660 14610
                <value type="int" key="locked">0</value>
14661 14611
                <value type="int" key="manualSizing">0</value>
14662
                <value type="real" key="top">5.64e+02</value>
14612
                <value type="real" key="top">4.88e+02</value>
14663 14613
                <value type="real" key="width">9.3e+01</value>
14664 14614
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
14665 14615
                <value type="int" key="visible">1</value>
14666 14616
                <value type="string" key="name">subplot</value>
14667 14617
              </value>
14668
              <value type="object" struct-name="workbench.physical.TableFigure" id="361378e8-f9bd-11e2-af16-080027bcf912" struct-checksum="0x3b14eccb">
14669
                <value type="int" key="columnsExpanded">1</value>
14670
                <value type="int" key="foreignKeysExpanded">0</value>
14671
                <value type="int" key="indicesExpanded">0</value>
14672
                <value type="int" key="summarizeDisplay">-1</value>
14673
                <link type="object" struct-name="db.Table" key="table">36134f4e-f9bd-11e2-af16-080027bcf912</link>
14674
                <value type="int" key="triggersExpanded">0</value>
14675
                <value type="string" key="color">#ffcc33</value>
14676
                <value type="int" key="expanded">1</value>
14677
                <value type="real" key="height">7.7e+01</value>
14678
                <link type="object" struct-name="model.Layer" key="layer">88F9E582-B992-43CC-B7D6-A42E190DCB13</link>
14679
                <value type="real" key="left">6.62e+02</value>
14680
                <value type="int" key="locked">0</value>
14681
                <value type="int" key="manualSizing">0</value>
14682
                <value type="real" key="top">4.49e+02</value>
14683
                <value type="real" key="width">1.24e+02</value>
14684
                <link type="object" struct-name="model.Diagram" key="owner">3915EB3C-D507-4518-BE3A-63A8D8DD4471</link>
14685
                <value type="int" key="visible">1</value>
14686
                <value type="string" key="name">plot_element</value>
14687
              </value>
14688 14618
            </value>
14689 14619
            <value type="real" key="height">1.2865e+03</value>
14690 14620
            <value _ptr_="0xb0bcb58" type="list" content-type="object" content-struct-name="model.Layer" key="layers">
......
14807 14737
                <link type="object">c269d028-f998-11e2-a599-080027bcf912</link>
14808 14738
                <link type="object">62239986-f99a-11e2-a599-080027bcf912</link>
14809 14739
                <link type="object">2673ee0a-f9bc-11e2-a599-080027bcf912</link>
14810
                <link type="object">361378e8-f9bd-11e2-af16-080027bcf912</link>
14811 14740
              </value>
14812 14741
              <value _ptr_="0xb0ff950" type="list" content-type="object" content-struct-name="model.Group" key="groups"/>
14813 14742
              <value type="real" key="height">1.2865e+03</value>
......
14835 14764
        <link type="object" struct-name="db.mgmt.Rdbms" key="rdbms">com.mysql.rdbms.mysql</link>
14836 14765
        <value _ptr_="0xb02a548" type="list" content-type="object" content-struct-name="db.Script" key="scripts"/>
14837 14766
        <value _ptr_="0xa7bf3d8" type="dict" key="syncProfiles">
14838
          <value type="object" struct-name="db.mgmt.SyncProfile" id="049bb4aa-f9c3-11e2-9af4-080027bcf912" struct-checksum="0xc64972c2" key="">
14839
            <value _ptr_="0xbf09c98" type="dict" key="lastKnownDBNames">
14767
          <value type="object" struct-name="db.mgmt.SyncProfile" id="83b653c4-f9c5-11e2-9af4-080027bcf912" struct-checksum="0xc64972c2" key="">
14768
            <value _ptr_="0xc002748" type="dict" key="lastKnownDBNames">
14840 14769
              <value type="string" key="01b2e3fe-f6ed-11e2-9cf1-080027bcf912">fk_georeferencing_party_list1</value>
14841 14770
              <value type="string" key="01b2e606-f6ed-11e2-9cf1-080027bcf912">georeferenced_by</value>
14842 14771
              <value type="string" key="01b2fe70-f6ed-11e2-9cf1-080027bcf912">fk_georeferencing_party_list1_idx</value>
......
14860 14789
              <value type="string" key="11b489bc-f97f-11e2-8a2e-080027bcf912">taxon_path</value>
14861 14790
              <value type="string" key="11b49e5c-f97f-11e2-8a2e-080027bcf912">fk_taxon_name_taxon_path1_idx</value>
14862 14791
              <value type="string" key="11c10cc8-a90c-11e2-8576-080027bcf912">source_unique</value>
14792
              <value type="string" key="1388436e-f9c5-11e2-9af4-080027bcf912">fk_rel_place_place1</value>
14793
              <value type="string" key="13884530-f9c5-11e2-9af4-080027bcf912">parent</value>
14794
              <value type="string" key="13885958-f9c5-11e2-9af4-080027bcf912">fk_rel_place_place1_idx</value>
14863 14795
              <value type="string" key="16537a20-a7a7-11e2-8ba6-080027bcf912">taxon_observation</value>
14864 14796
              <value type="string" key="16537d54-a7a7-11e2-8ba6-080027bcf912">id</value>
14865 14797
              <value type="string" key="16538808-a7a7-11e2-8ba6-080027bcf912">growth_form</value>
......
14910 14842
              <value type="string" key="3292247a-f6df-11e2-b6d1-080027bcf912">input_geoplace</value>
14911 14843
              <value type="string" key="329238b6-f6df-11e2-b6d1-080027bcf912">fk_geovalidation_geoplace1_idx</value>
14912 14844
              <value type="string" key="35cce77e-f6df-11e2-b6d1-080027bcf912">corrected_geoplace</value>
14913
              <value type="string" key="36134f4e-f9bd-11e2-af16-080027bcf912">plot_element</value>
14914
              <value type="string" key="36135336-f9bd-11e2-af16-080027bcf912">id</value>
14915
              <value type="string" key="36135688-f9bd-11e2-af16-080027bcf912">parent_plot</value>
14916
              <value type="string" key="36135b4c-f9bd-11e2-af16-080027bcf912">fk_subplot_rel_place10</value>
14917
              <value type="string" key="36135d36-f9bd-11e2-af16-080027bcf912">fk_subplot_plot20</value>
14918
              <value type="string" key="36135f20-f9bd-11e2-af16-080027bcf912">PRIMARY</value>
14919
              <value type="string" key="36136222-f9bd-11e2-af16-080027bcf912">fk_subplot_plot2_idx</value>
14920 14845
              <value type="string" key="3730d234-a7ab-11e2-8ba6-080027bcf912">voucher</value>
14921 14846
              <value type="string" key="3bc7bb2e-f6d8-11e2-b6d1-080027bcf912">verbatim</value>
14922 14847
              <value type="string" key="3d9b10bc-a7a1-11e2-b667-080027bcf912">taxon_determination</value>
......
14942 14867
              <value type="string" key="415f1a26-ad15-11e2-9617-080027bcf912">specimen_unique_in_individual</value>
14943 14868
              <value type="string" key="42266085-54CC-4441-8553-68BBE0286A05">default</value>
14944 14869
              <value type="string" key="42405474-a783-11e2-afd5-080027bcf912">annotations</value>
14945
              <value type="string" key="424a66d6-f985-11e2-8a2e-080027bcf912">plot_position</value>
14946 14870
              <value type="string" key="43cfb7dc-a790-11e2-84c3-080027bcf912">lat_long_domain_valid</value>
14947 14871
              <value type="string" key="43f62c16-ad1a-11e2-9d85-080027bcf912">info</value>
14948 14872
              <value type="string" key="43f70d90-f679-11e2-9716-080027bcf912">sort_order</value>
......
14967 14891
              <value type="string" key="489c3d40-a6ea-11e2-98a6-080027bcf912">PRIMARY</value>
14968 14892
              <value type="string" key="489c402e-a6ea-11e2-98a6-080027bcf912">fk_derived_class_base_class1</value>
14969 14893
              <value type="string" key="48af0dca-a795-11e2-84c3-080027bcf912">slope_direction_deg_N</value>
14894
              <value type="string" key="49a23428-f9c5-11e2-9af4-080027bcf912">fk_subplot_plot2</value>
14895
              <value type="string" key="49a235d6-f9c5-11e2-9af4-080027bcf912">parent_plot</value>
14896
              <value type="string" key="49a26722-f9c5-11e2-9af4-080027bcf912">fk_subplot_plot2_idx</value>
14970 14897
              <value type="string" key="4c32a89c-a76a-11e2-92a3-080027bcf912">match_score</value>
14971 14898
              <value type="string" key="4c3ffc96-a741-11e2-9fbf-080027bcf912">taxon_string</value>
14972 14899
              <value type="string" key="4c40001a-a741-11e2-9fbf-080027bcf912">string</value>
14973 14900
              <value type="string" key="4c4005b0-a741-11e2-9fbf-080027bcf912">PRIMARY</value>
14974 14901
              <value type="string" key="4e241b94-ad15-11e2-9617-080027bcf912">specimen_unique_by_collection_event</value>
14902
              <value type="string" key="4e34b204-f9c5-11e2-9af4-080027bcf912">fk_subplot_rel_place1</value>
14975 14903
              <value type="string" key="4ee0a0e2-a794-11e2-84c3-080027bcf912">info</value>
14976 14904
              <value type="string" key="4f2d2f86-f986-11e2-8a2e-080027bcf912">info</value>
14977 14905
              <value type="string" key="5077e4de-a748-11e2-9fbf-080027bcf912">taxon</value>
......
15025 14953
              <value type="string" key="6ec4a89c-ad05-11e2-b309-080027bcf912">fk_specimen_individual1</value>
15026 14954
              <value type="string" key="6ec4aa86-ad05-11e2-b309-080027bcf912">individual</value>
15027 14955
              <value type="string" key="6ec4c2fa-ad05-11e2-b309-080027bcf912">fk_specimen_individual1_idx</value>
15028
              <value type="string" key="71774360-f9bd-11e2-af16-080027bcf912">fk_individual_plot_element1</value>
15029
              <value type="string" key="717754c2-f9bd-11e2-af16-080027bcf912">fk_individual_plot_element1_idx</value>
15030 14956
              <value type="string" key="74709b22-a795-11e2-84c3-080027bcf912">slope_incline_deg</value>
15031 14957
              <value type="string" key="782db00a-a782-11e2-afd5-080027bcf912">match_info</value>
15032 14958
              <value type="string" key="7c31a514-f96f-11e2-9f36-080027bcf912">footprint_geom_WKT</value>
......
15051 14977
              <value type="string" key="8f0c3678-f978-11e2-9f36-080027bcf912">rank</value>
15052 14978
              <value type="string" key="94ad6c18-f6c7-11e2-a35e-080027bcf912">dimensions</value>
15053 14979
              <value type="string" key="95e0feca-a793-11e2-84c3-080027bcf912">info</value>
14980
              <value type="string" key="978ed0d4-f9c4-11e2-9af4-080027bcf912">fk_individual_rel_place1</value>
14981
              <value type="string" key="978ed2dc-f9c4-11e2-9af4-080027bcf912">place</value>
14982
              <value type="string" key="978f9618-f9c4-11e2-9af4-080027bcf912">fk_individual_rel_place1_idx</value>
15054 14983
              <value type="string" key="9b006114-f6d2-11e2-a35e-080027bcf912">fk_taxon_scrub_record1</value>
15055 14984
              <value type="string" key="9b6b7d6a-ad0c-11e2-b309-080027bcf912">fk_parsed_taxon_assertion_taxon_name1_idx</value>
15056 14985
              <value type="string" key="9d6c9e9a-f678-11e2-9716-080027bcf912">party_list_entry</value>
......
15071 15000
              <value type="string" key="a01e47fa-a741-11e2-9fbf-080027bcf912">fk_taxon_assertion_taxon_string1_idx</value>
15072 15001
              <value type="string" key="a0266c92-a92a-11e2-93c8-080027bcf912">latitude_deg</value>
15073 15002
              <value type="string" key="a09e45d4-a79d-11e2-a346-080027bcf912">source_record_id</value>
15074
              <value type="string" key="a13a5e16-f9bd-11e2-af16-080027bcf912">fk_subplot_plot_element1</value>
15075 15003
              <value type="string" key="a2fe2068-a790-11e2-84c3-080027bcf912">name</value>
15076 15004
              <value type="string" key="a3e070f8-a77c-11e2-afd5-080027bcf912">fk_parsed_taxon_assertion_taxon_name1</value>
15077 15005
              <value type="string" key="a45bf56a-f980-11e2-8a2e-080027bcf912">fk_subplot_place2</value>
......
15376 15304
    <value type="object" struct-name="app.DocumentInfo" id="BEE3982F-55A1-4B2C-914A-CD6953803AB9" struct-checksum="0xbba780b8" key="info">
15377 15305
      <value type="string" key="author">Aaron Marcuse-Kubitza</value>
15378 15306
      <value type="string" key="caption">New Model</value>
15379
      <value type="string" key="dateChanged">2013-07-31 02:36</value>
15307
      <value type="string" key="dateChanged">2013-07-31 02:42</value>
15380 15308
      <value type="string" key="dateCreated">2012-01-19 14:06</value>
15381 15309
      <value type="string" key="description"></value>
15382 15310
      <value type="string" key="project">Name of the project</value>
schemas/VegCore/VegCore.my.sql
543 543
/*!40000 ALTER TABLE `plot` ENABLE KEYS */;
544 544

  
545 545
--
546
-- Table structure for table `plot_element`
547
--
548

  
549
/*!40101 SET @saved_cs_client     = @@character_set_client */;
550
/*!40101 SET character_set_client = utf8 */;
551
CREATE TABLE `plot_element` (
552
  `id` varbinary(767) NOT NULL,
553
  `parent_plot` varbinary(767) NOT NULL,
554
  PRIMARY KEY (`id`),
555
  KEY `fk_subplot_plot2_idx` (`parent_plot`),
556
  CONSTRAINT `fk_subplot_rel_place10` FOREIGN KEY (`id`) REFERENCES `rel_place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
557
  CONSTRAINT `fk_subplot_plot20` FOREIGN KEY (`parent_plot`) REFERENCES `plot` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
558
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
559
/*!40101 SET character_set_client = @saved_cs_client */;
560

  
561
--
562
-- Dumping data for table `plot_element`
563
--
564

  
565
/*!40000 ALTER TABLE `plot_element` DISABLE KEYS */;
566
/*!40000 ALTER TABLE `plot_element` ENABLE KEYS */;
567

  
568
--
569 546
-- Table structure for table `project`
570 547
--
571 548

  
......
641 618
/*!40101 SET character_set_client = utf8 */;
642 619
CREATE TABLE `rel_place` (
643 620
  `id` varbinary(767) NOT NULL,
621
  `parent` varbinary(767) NOT NULL,
644 622
  `x_m` double DEFAULT NULL,
645 623
  `y_m` double DEFAULT NULL,
646 624
  `coords` set('hstore') COLLATE utf8_bin DEFAULT NULL,
647 625
  PRIMARY KEY (`id`),
626
  KEY `fk_rel_place_place1_idx` (`parent`),
627
  CONSTRAINT `fk_rel_place_place1` FOREIGN KEY (`parent`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
648 628
  CONSTRAINT `fk_subplot_place2` FOREIGN KEY (`id`) REFERENCES `place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
649 629
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='stores plot elements such as subplots ("subplot, line, or any other subsample  or subdivision of plot" ("SALVIAS":http://salvias.net/Documents/salvias_data_dictionary.html#Plot_data/subplot))';
650 630
/*!40101 SET character_set_client = @saved_cs_client */;
......
958 938
/*!40101 SET character_set_client = utf8 */;
959 939
CREATE TABLE `subplot` (
960 940
  `id` varbinary(767) NOT NULL,
941
  `parent_plot` varbinary(767) NOT NULL,
961 942
  PRIMARY KEY (`id`),
962
  CONSTRAINT `fk_subplot_plot1` FOREIGN KEY (`id`) REFERENCES `plot` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
963
  CONSTRAINT `fk_subplot_plot_element1` FOREIGN KEY (`id`) REFERENCES `plot_element` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
943
  KEY `fk_subplot_plot2_idx` (`parent_plot`),
944
  CONSTRAINT `fk_subplot_plot2` FOREIGN KEY (`parent_plot`) REFERENCES `plot` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
945
  CONSTRAINT `fk_subplot_rel_place1` FOREIGN KEY (`id`) REFERENCES `rel_place` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
946
  CONSTRAINT `fk_subplot_plot1` FOREIGN KEY (`id`) REFERENCES `plot` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
964 947
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
965 948
/*!40101 SET character_set_client = @saved_cs_client */;
966 949

  

Also available in: Unified diff