Project

General

Profile

« Previous | Next » 

Revision 10974

schemas/VegCore/VegCore.ERD.mwb: source.owners: renamed to data_owners for clarity. documented that this is the parties who must be given attribution, such as copyrightholders.

View differences:

schemas/VegCore/VegCore.pg.sql
813 813
  "parent" text DEFAULT NULL,
814 814
  "name" text NOT NULL,
815 815
  "first_publisher" text DEFAULT NULL,
816
  "owners" text DEFAULT NULL,
816
  "data_owners" text DEFAULT NULL /*COMMENT 'parties who must be given attribution, such as copyrightholders'*/,
817 817
  "contacts" text DEFAULT NULL,
818 818
  "info" hstore DEFAULT NULL,
819 819
  PRIMARY KEY ("id"),
820 820
  /*CONSTRAINT "source_unique" */UNIQUE ("parent","name"),
821 821
  /*KEY "fk_source1_idx" ("parent")*/CHECK (true),
822 822
  /*KEY "fk_source_party2_idx" ("first_publisher")*/CHECK (true),
823
  /*KEY "fk_source_party_list1_idx" ("owners")*/CHECK (true),
823
  /*KEY "fk_source_party_list1_idx" ("data_owners")*/CHECK (true),
824 824
  /*KEY "fk_source_party1_idx" ("contacts")*/CHECK (true),
825
  /*CONSTRAINT "fk_source_party_list1" FOREIGN KEY ("data_owners") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
825 826
  /*CONSTRAINT "fk_source_party1" FOREIGN KEY ("contacts") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
826 827
  /*CONSTRAINT "fk_source1" FOREIGN KEY ("parent") REFERENCES "source" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
827
  /*CONSTRAINT "fk_source_party2" FOREIGN KEY ("first_publisher") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true),
828
  /*CONSTRAINT "fk_source_party_list1" FOREIGN KEY ("owners") REFERENCES "party_list" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
828
  /*CONSTRAINT "fk_source_party2" FOREIGN KEY ("first_publisher") REFERENCES "party" ("id") ON DELETE CASCADE ON UPDATE CASCADE*/CHECK (true)
829 829
) /*ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='a "reference [...] cited within the database" ("VegBank":http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=reference&entity=dba_tabledescription&where=where_tablename)'*/;
830 830
/*!40101 SET character_set_client = @saved_cs_client */;
831 831

  
schemas/VegCore/document.mwb.xml
312 312
                      <value type="int" key="precision">-1</value>
313 313
                      <value type="int" key="scale">-1</value>
314 314
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
315
                      <value type="string" key="comment"></value>
316
                      <value type="string" key="name">owners</value>
315
                      <value type="string" key="comment">parties who must be given attribution, such as copyrightholders</value>
316
                      <value type="string" key="name">data_owners</value>
317 317
                      <value type="string" key="oldName">owners</value>
318 318
                      <link type="object" struct-name="GrtObject" key="owner">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
319 319
                    </value>
......
333 333
                      <link type="object" struct-name="db.SimpleDatatype" key="simpleType">com.mysql.rdbms.mysql.datatype.varbinary</link>
334 334
                      <value type="string" key="comment"></value>
335 335
                      <value type="string" key="name">contacts</value>
336
                      <value type="string" key="oldName">contact</value>
336
                      <value type="string" key="oldName">contacts</value>
337 337
                      <link type="object" struct-name="GrtObject" key="owner">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
338 338
                    </value>
339 339
                    <value type="object" struct-name="db.mysql.Column" id="e5155806-a793-11e2-84c3-080027bcf912" struct-checksum="0x783b5183">
......
590 590
                      <value type="int" key="isPrimary">0</value>
591 591
                      <value type="string" key="name">fk_source_party1_idx</value>
592 592
                      <value type="int" key="unique">0</value>
593
                      <value type="string" key="oldName">fk_source_party1</value>
593
                      <value type="string" key="oldName">fk_source_party1_idx</value>
594 594
                      <link type="object" struct-name="GrtObject" key="owner">be8cc04c-a6e0-11e2-95e9-080027bcf912</link>
595 595
                    </value>
596 596
                  </value>
......
624 624
                  <value type="int" key="commentedOut">0</value>
625 625
                  <value type="string" key="createDate">2013-04-16 14:58</value>
626 626
                  <value _ptr_="0xb1fbb70" type="dict" key="customData"/>
627
                  <value type="string" key="lastChangeDate">2013-09-15 03:37</value>
627
                  <value type="string" key="lastChangeDate">2013-09-15 03:47</value>
628 628
                  <value type="int" key="modelOnly">0</value>
629 629
                  <value type="string" key="name">source</value>
630 630
                  <link type="object" struct-name="GrtNamedObject" key="owner">be8cb246-a6e0-11e2-95e9-080027bcf912</link>
......
17250 17250
              <value type="int" key="visible">1</value>
17251 17251
              <value type="string" key="name"></value>
17252 17252
            </value>
17253
            <value _ptr_="0xb2a88d8" type="list" content-type="object" content-struct-name="model.Object" key="selection"/>
17253
            <value _ptr_="0xb2a88d8" type="list" content-type="object" content-struct-name="model.Object" key="selection">
17254
              <link type="object">39C6F66E-A650-49AE-8EDD-9D8A567EFBEA</link>
17255
            </value>
17254 17256
            <value type="int" key="updateBlocked">0</value>
17255 17257
            <value type="real" key="width">1.6215e+03</value>
17256 17258
            <value type="real" key="x">0.e+00</value>
......
17263 17265
        <link type="object" struct-name="db.mgmt.Rdbms" key="rdbms">com.mysql.rdbms.mysql</link>
17264 17266
        <value _ptr_="0xb1fe950" type="list" content-type="object" content-struct-name="db.Script" key="scripts"/>
17265 17267
        <value _ptr_="0xa6bbd20" type="dict" key="syncProfiles">
17266
          <value type="object" struct-name="db.mgmt.SyncProfile" id="46e15704-1df2-11e3-bbb6-080027bcf912" struct-checksum="0xc64972c2" key="">
17267
            <value _ptr_="0xc6ec8d0" type="dict" key="lastKnownDBNames">
17268
          <value type="object" struct-name="db.mgmt.SyncProfile" id="13d2439a-1df3-11e3-bbb6-080027bcf912" struct-checksum="0xc64972c2" key="">
17269
            <value _ptr_="0xbba56d0" type="dict" key="lastKnownDBNames">
17268 17270
              <value type="string" key="01b2e3fe-f6ed-11e2-9cf1-080027bcf912">fk_georeferencing_party_list1</value>
17269 17271
              <value type="string" key="01b2e606-f6ed-11e2-9cf1-080027bcf912">georeferenced_by</value>
17270 17272
              <value type="string" key="01b2fe70-f6ed-11e2-9cf1-080027bcf912">fk_georeferencing_party_list1_idx</value>
......
17536 17538
              <value type="string" key="8535e982-006c-11e3-895c-080027bcf912">PRIMARY</value>
17537 17539
              <value type="string" key="8542fbb8-a793-11e2-84c3-080027bcf912">info</value>
17538 17540
              <value type="string" key="873d44bc-1df1-11e3-bbb6-080027bcf912">fk_source_party1</value>
17539
              <value type="string" key="873d473c-1df1-11e3-bbb6-080027bcf912">contact</value>
17540
              <value type="string" key="873e2db4-1df1-11e3-bbb6-080027bcf912">fk_source_party1_idx</value>
17541
              <value type="string" key="873d473c-1df1-11e3-bbb6-080027bcf912">contacts</value>
17541 17542
              <value type="string" key="8b8a694e-a792-11e2-84c3-080027bcf912">name</value>
17542 17543
              <value type="string" key="8e2b8e78-1dec-11e3-b571-080027bcf912">fk_record_source2</value>
17543 17544
              <value type="string" key="8ed70288-ad14-11e2-9617-080027bcf912">PRIMARY</value>
......
17750 17751
              <value type="string" key="d009232a-f671-11e2-9716-080027bcf912">tag_history</value>
17751 17752
              <value type="string" key="d0d97d8a-f6c7-11e2-a35e-080027bcf912">coords</value>
17752 17753
              <value type="string" key="d2081100-f959-11e2-8597-080027bcf912">fk_taxon_presence_taxon_determination1</value>
17754
              <value type="string" key="d2855d46-1df2-11e3-bbb6-080027bcf912">fk_source_party1_idx</value>
17753 17755
              <value type="string" key="d2b2ccf6-a794-11e2-84c3-080027bcf912">elevation_m</value>
17754 17756
              <value type="string" key="d6b1b62e-a7a7-11e2-8ba6-080027bcf912">PRIMARY</value>
17755 17757
              <value type="string" key="d72de448-ad19-11e2-9d85-080027bcf912">traits</value>
......
17886 17888
    <value type="object" struct-name="app.DocumentInfo" id="BEE3982F-55A1-4B2C-914A-CD6953803AB9" struct-checksum="0xbba780b8" key="info">
17887 17889
      <value type="string" key="author">Aaron Marcuse-Kubitza</value>
17888 17890
      <value type="string" key="caption">New Model</value>
17889
      <value type="string" key="dateChanged">2013-09-15 03:38</value>
17891
      <value type="string" key="dateChanged">2013-09-15 03:47</value>
17890 17892
      <value type="string" key="dateCreated">2012-01-19 14:06</value>
17891 17893
      <value type="string" key="description"></value>
17892 17894
      <value type="string" key="project">Name of the project</value>
schemas/VegCore/VegCore.my.sql
811 811
  `parent` varbinary(767) DEFAULT NULL,
812 812
  `name` varbinary(767) NOT NULL,
813 813
  `first_publisher` varbinary(767) DEFAULT NULL,
814
  `owners` varbinary(767) DEFAULT NULL,
814
  `data_owners` varbinary(767) DEFAULT NULL COMMENT 'parties who must be given attribution, such as copyrightholders',
815 815
  `contacts` varbinary(767) DEFAULT NULL,
816 816
  `info` set('hstore') COLLATE utf8_bin DEFAULT NULL,
817 817
  PRIMARY KEY (`id`),
818 818
  UNIQUE KEY `source_unique` (`parent`,`name`),
819 819
  KEY `fk_source1_idx` (`parent`),
820 820
  KEY `fk_source_party2_idx` (`first_publisher`),
821
  KEY `fk_source_party_list1_idx` (`owners`),
821
  KEY `fk_source_party_list1_idx` (`data_owners`),
822 822
  KEY `fk_source_party1_idx` (`contacts`),
823
  CONSTRAINT `fk_source_party_list1` FOREIGN KEY (`data_owners`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
823 824
  CONSTRAINT `fk_source_party1` FOREIGN KEY (`contacts`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
824 825
  CONSTRAINT `fk_source1` FOREIGN KEY (`parent`) REFERENCES `source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
825
  CONSTRAINT `fk_source_party2` FOREIGN KEY (`first_publisher`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
826
  CONSTRAINT `fk_source_party_list1` FOREIGN KEY (`owners`) REFERENCES `party_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
826
  CONSTRAINT `fk_source_party2` FOREIGN KEY (`first_publisher`) REFERENCES `party` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
827 827
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='a "reference [...] cited within the database" ("VegBank":http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=reference&entity=dba_tabledescription&where=where_tablename)';
828 828
/*!40101 SET character_set_client = @saved_cs_client */;
829 829

  

Also available in: Unified diff