aboutsummaryrefslogtreecommitdiffstats
path: root/sql/dawn.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/dawn.sql')
-rw-r--r--sql/dawn.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/dawn.sql b/sql/dawn.sql
index aa9b95a1..bee8805c 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -434,6 +434,11 @@ END IF;
END
$$ LANGUAGE plpgsql;
+
+CREATE FUNCTION update_attach() RETURNS trigger
+ AS '$libdir/serenitas', 'update_attach'
+ LANGUAGE C;
+
CREATE TRIGGER cds_attach BEFORE
INSERT OR UPDATE OF orig_attach, orig_detach, security_id
ON cds