[open-ils-commits] r12418 - trunk/Open-ILS/src/sql/Pg (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 5 08:50:01 EST 2009
Author: erickson
Date: 2009-03-05 08:50:00 -0500 (Thu, 05 Mar 2009)
New Revision: 12418
Modified:
trunk/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
Log:
removed NULL constraint from template for events that generate no template output
Modified: trunk/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql 2009-03-05 13:41:59 UTC (rev 12417)
+++ trunk/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql 2009-03-05 13:50:00 UTC (rev 12418)
@@ -98,7 +98,7 @@
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)
);
More information about the open-ils-commits
mailing list