terraware
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
reject_delete_value_child
Parameters
Name
Type
Mode
Definition
BEGIN IF EXISTS (SELECT 1 FROM variable_values WHERE id = OLD.variable_value_id) THEN RAISE 'This table does not allow deletes.'; ELSE RETURN OLD; END IF; END;