The
isbasedonsoilbodytable defines a many-to-many relationship between soil-derived objects and soil bodies, linking thesoilderivedobjectandsoilbodytables. This relationship allows soil-derived objects to be based on one or more soil bodies and, conversely, enables a single soil body to contribute to multiple derived objects.
isbasedonsoilbody| Name | Type | Constraints | Description |
|---|---|---|---|
id |
INTEGER |
PRIMARY KEY | Primary Key of the Table. |
guid_soilderivedobject |
TEXT |
NOT NULL | Foreign key to the SoilDerivedObject table, guid field. |
guid_soilbody |
TEXT |
NOT NULL | Foreign key to the SoilBody table, guid field. |
isbasedonsoilbody.guid_soilbody → soilbody.guid (ON UPDATE CASCADE, ON DELETE CASCADE)
soilbody cascades to isbasedonsoilbody.isbasedonsoilbody.guid_soilderivedobject → soilderivedobject.guid (ON UPDATE CASCADE, ON DELETE CASCADE)
soilderivedobject cascades to isbasedonsoilbody.