The
obsprocedure_sensortable defines a many-to-many relationship between observing procedures and sensors, linking theobservingprocedureandsensortables. This relationship allows a single observing procedure to be associated with one or more sensors and, conversely, enables the same sensor to participate in multiple observing procedures.
obsprocedure_sensor| Name | Type | Constraints | Description |
|---|---|---|---|
id |
INTEGER |
PRIMARY KEY | A unique, read-only attribute that serves as an identifier for the entity. |
guid_observingprocedure |
TEXT |
NOT NULL | Foreign key to the Procedure table, guid field. |
guid_sensor |
TEXT |
NOT NULL | Foreign key to the Sensor table, guid field. |
obsprocedure_sensor.guid_sensor → sensor.guid (ON UPDATE CASCADE, ON DELETE RESTRICT)obsprocedure_sensor.guid_observingprocedure → observingprocedure.guid (ON UPDATE CASCADE, ON DELETE CASCADE)
observingprocedure cascades to obsprocedure_sensor.