removed NULL constraint from template for events that generate no template output
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 5 Mar 2009 13:50:00 +0000 (13:50 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 5 Mar 2009 13:50:00 +0000 (13:50 +0000)
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

index 54d5069..6abbc75 100644 (file)
@@ -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)
 );