cut-n-paste-o
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 19 Jan 2009 16:37:58 +0000 (16:37 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 19 Jan 2009 16:37:58 +0000 (16:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11877 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/400.schema.action_trigger.sql

index b019c79..8aaf06c 100644 (file)
@@ -81,8 +81,8 @@ CREATE TABLE action_trigger.event_definition (
     hook            INT         NOT NULL REFERENCES action_trigger.hook (key),
     validator       INT         NOT NULL REFERENCES action_trigger.validator (module),
     reactor         INT         NOT NULL REFERENCES action_trigger.reactor (module),
-    cleanup_success INT         REFERENCES action_trigger.reactor (module),
-    cleanup_failure INT         REFERENCES action_trigger.reactor (module),
+    cleanup_success INT         REFERENCES action_trigger.cleanup (module),
+    cleanup_failure INT         REFERENCES action_trigger.cleanup (module),
     delay           INTERVAL    NOT NULL DEFAULT '5 minutes',
     delay_field     TEXT,                 -- for instance, xact_start on a circ hook ... look for fields on hook.core_type where datatype=timestamp? If not set, delay from now()
     group_field     TEXT,                 -- field from this.hook.core_type to batch event targets together on, fed into reactor a group at a time.