From a5d64e73a23236057ea746b90b20fc5e29001d2a Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Wed, 4 Nov 2015 09:52:22 -0500 Subject: [PATCH] Baseline IDL stuff for alerts Signed-off-by: Mike Rylander --- Open-ILS/examples/fm_IDL.xml | 103 +++++++++++++++++++++ .../src/sql/Pg/upgrade/XXXX.schema.copy_alerts.sql | 4 +- 2 files changed, 105 insertions(+), 2 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index fca38b56b2..f42ce3d6f5 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -6896,6 +6896,109 @@ SELECT usr, + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_alerts.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_alerts.sql index bf2cce6da5..bb67c0c54d 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_alerts.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_alerts.sql @@ -37,7 +37,7 @@ END; $$ LANGUAGE PLPGSQL; CREATE TYPE config.copy_alert_type_state AS ENUM ( - 'NORMAL', + 'NORMAL', 'LOST', 'MISSING', 'DAMAGED', @@ -61,7 +61,7 @@ CREATE TABLE config.copy_alert_type ( in_renew bool, invert_location bool not null default false, at_circ bool, - at_owing bool, + at_owning bool, next_status int[] ); SELECT SETVAL('config.copy_alert_type_id_seq'::TEXT, 100); -- 2.11.0