Project

General

Profile

« Previous | Next » 

Revision 3666

Regenerated schemas/vegbien.my.sql

View differences:

schemas/vegbien.my.sql
160 160

  
161 161
CREATE TABLE aggregateoccurrence (
162 162
    aggregateoccurrence_id int(11) NOT NULL,
163
    datasource_id int(11),
163
    datasource_id int(11) NOT NULL,
164 164
    sourceaccessioncode text,
165 165
    taxonoccurrence_id int(11) NOT NULL,
166 166
    cover double precision,
......
772 772

  
773 773
CREATE TABLE locationevent (
774 774
    locationevent_id int(11) NOT NULL,
775
    datasource_id int(11),
775
    datasource_id int(11) NOT NULL,
776 776
    sourceaccessioncode text,
777 777
    parent_id int(11),
778 778
    location_id int(11) NOT NULL,
......
1559 1559

  
1560 1560
CREATE TABLE plantobservation (
1561 1561
    plantobservation_id int(11) NOT NULL,
1562
    datasource_id int(11),
1562
    datasource_id int(11) NOT NULL,
1563 1563
    sourceaccessioncode text,
1564 1564
    overallheight double precision,
1565 1565
    overallheightaccuracy double precision,
......
1661 1661

  
1662 1662
CREATE TABLE project (
1663 1663
    project_id int(11) NOT NULL,
1664
    datasource_id int(11),
1664
    datasource_id int(11) NOT NULL,
1665 1665
    sourceaccessioncode text,
1666 1666
    projectname text NOT NULL,
1667 1667
    projectdescription text,
......
2118 2118

  
2119 2119
CREATE TABLE taxonoccurrence (
2120 2120
    taxonoccurrence_id int(11) NOT NULL,
2121
    datasource_id int(11),
2121
    datasource_id int(11) NOT NULL,
2122 2122
    sourceaccessioncode text,
2123 2123
    locationevent_id int(11),
2124 2124
    verbatimcollectorname text,
......
2180 2180

  
2181 2181
CREATE TABLE specimenreplicate (
2182 2182
    taxonoccurrence_id int(11) NOT NULL AUTO_INCREMENT,
2183
    datasource_id int(11) NOT NULL,
2184 2183
    plantobservation_id int(11),
2185 2184
    institution_id int(11),
2186 2185
    collectioncode_dwc text,
......
2230 2229

  
2231 2230
CREATE TABLE stemobservation (
2232 2231
    stemobservation_id int(11) NOT NULL,
2233
    datasource_id int(11),
2232
    datasource_id int(11) NOT NULL,
2234 2233
    sourceaccessioncode text,
2235 2234
    plantobservation_id int(11) NOT NULL,
2236 2235
    authorstemcode text,

Also available in: Unified diff