[open-ils-commits] r18529 - trunk/Open-ILS/src/sql/Pg (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 28 13:28:53 EDT 2010


Author: phasefx
Date: 2010-10-28 13:28:50 -0400 (Thu, 28 Oct 2010)
New Revision: 18529

Modified:
   trunk/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
Log:
bring trunk's version of 1.6.1-2.0-upgrade-db.sql inline with rel_2_0

Modified: trunk/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql	2010-10-28 17:27:07 UTC (rev 18528)
+++ trunk/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql	2010-10-28 17:28:50 UTC (rev 18529)
@@ -18832,5 +18832,42 @@
 -- duplication:
 -- DROP INDEX authority.by_heading_and_thesaurus;
 
+-- 0448.data.trigger.circ.staff_age_to_lost.sql
+
+INSERT INTO action_trigger.hook (key,core_type,description,passive) VALUES 
+    (   'circ.staff_age_to_lost',
+        'circ', 
+        oils_i18n_gettext(
+            'circ.staff_age_to_lost',
+            'An overdue circulation should be aged to a Lost status.',
+            'ath',
+            'description'
+        ), 
+        TRUE
+    )
+;
+
+INSERT INTO action_trigger.event_definition (
+        id,
+        active,
+        owner,
+        name,
+        hook,
+        validator,
+        reactor,
+        delay_field
+    ) VALUES (
+        36,
+        FALSE,
+        1,
+        'circ.staff_age_to_lost',
+        'circ.staff_age_to_lost',
+        'CircIsOverdue',
+        'MarkItemLost',
+        'due_date'
+    )
+;
+
+
 \qecho Upgrade script completed.
 



More information about the open-ils-commits mailing list