From: Lebbeous Fogle-Weekley Date: Fri, 4 Nov 2011 20:44:57 +0000 (-0400) Subject: Correct oversight: replace old with new approach to upgrade script versioning X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=481133f0b0433ff373dcf2eb88c8bb1645bb5c2d;p=evergreen%2Fpines.git Correct oversight: replace old with new approach to upgrade script versioning Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/Open-ILS/src/sql/Pg/upgrade/0646.schema.lp854972_copy_counts_unshadow.sql b/Open-ILS/src/sql/Pg/upgrade/0646.schema.lp854972_copy_counts_unshadow.sql index 971d3c945c..934387d72d 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0646.schema.lp854972_copy_counts_unshadow.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0646.schema.lp854972_copy_counts_unshadow.sql @@ -1,6 +1,6 @@ BEGIN; -INSERT INTO config.upgrade_log (version) VALUES ('0646'); +SELECT evergreen.upgrade_deps_block_check('0646', :eg_version); CREATE OR REPLACE FUNCTION asset.staff_ou_record_copy_count (org INT, rid BIGINT) RETURNS TABLE (depth INT, org_unit INT, visible BIGINT, available BIGINT, unshadow BIGINT, transcendant INT) AS $f$ DECLARE