From e45477c86d7fbe2eb90580e710b210bfb6bc7877 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 5 Mar 2009 13:50:00 +0000 Subject: [PATCH] removed NULL constraint from template for events that generate no template output git-svn-id: svn://svn.open-ils.org/ILS/trunk@12418 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/400.schema.action_trigger.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql b/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql index 54d5069a50..6abbc757c3 100644 --- a/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql +++ b/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql @@ -98,7 +98,7 @@ CREATE TABLE action_trigger.event_definition ( 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. - template TEXT NOT NULL, -- the TT block. will have an 'environment' hash (or array of hashes, grouped events) built up by validator and collector(s), which can be modified. + template TEXT, -- the TT block. will have an 'environment' hash (or array of hashes, grouped events) built up by validator and collector(s), which can be modified. CONSTRAINT ev_def_owner_hook_val_react_clean_delay_once UNIQUE (owner, hook, validator, reactor, delay, delay_field) ); -- 2.11.0