[open-ils-commits] [GIT] Evergreen ILS branch master updated. fbda8c2064916da3fdd83ffdb2b5f99afa8642d0

Evergreen Git git at git.evergreen-ils.org
Tue Sep 5 15:50:35 EDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  fbda8c2064916da3fdd83ffdb2b5f99afa8642d0 (commit)
      from  154a152af9fa15bbd67c828419b1aaf3ad857757 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fbda8c2064916da3fdd83ffdb2b5f99afa8642d0
Author: Jason Boyer <JBoyer at library.in.gov>
Date:   Fri Sep 1 17:09:36 2017 -0400

    LP1714589: Use Explicit Definition for aacs
    
    Spell out the expected fields in the expected order
    for the aacs view because databases that have undergone
    upgrades may drift when using * in a UNION.
    
    Signed-off-by:  <JBoyer at library.in.gov>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/sql/Pg/upgrade/1051.schema.all-circs-slim.sql b/Open-ILS/src/sql/Pg/upgrade/1051.schema.all-circs-slim.sql
index 71c22f1..5a41275 100644
--- a/Open-ILS/src/sql/Pg/upgrade/1051.schema.all-circs-slim.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/1051.schema.all-circs-slim.sql
@@ -3,7 +3,40 @@ BEGIN;
 SELECT evergreen.upgrade_deps_block_check('1051', :eg_version);
 
 CREATE OR REPLACE VIEW action.all_circulation_slim AS
-    SELECT * FROM action.circulation
+    SELECT
+        id,
+        usr,
+        xact_start,
+        xact_finish,
+        unrecovered,
+        target_copy,
+        circ_lib,
+        circ_staff,
+        checkin_staff,
+        checkin_lib,
+        renewal_remaining,
+        grace_period,
+        due_date,
+        stop_fines_time,
+        checkin_time,
+        create_time,
+        duration,
+        fine_interval,
+        recurring_fine,
+        max_fine,
+        phone_renewal,
+        desk_renewal,
+        opac_renewal,
+        duration_rule,
+        recurring_fine_rule,
+        max_fine_rule,
+        stop_fines,
+        workstation,
+        checkin_workstation,
+        copy_location,
+        checkin_scan_time,
+        parent_circ
+    FROM action.circulation
 UNION ALL
     SELECT
         id,

-----------------------------------------------------------------------

Summary of changes:
 .../sql/Pg/upgrade/1051.schema.all-circs-slim.sql  |   35 +++++++++++++++++++-
 1 files changed, 34 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list