2.5.0 includes "Long Overdue", which adds its own copy status,
authorChris Sharp <csharp@georgialibraries.org>
Mon, 16 Dec 2013 11:03:33 +0000 (06:03 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 20 Oct 2014 12:42:58 +0000 (08:42 -0400)
so we change our existing config.copy_status from "Long Overdue"
to "Long Overdue (Legacy)"

Open-ILS/src/sql/Pg/version-upgrade/pines-pre-2.3-2.4.0-upgrade-db.sql

index 3394d3a..c5cbc82 100644 (file)
@@ -4,6 +4,9 @@ BEGIN;
 DROP SCHEMA troup CASCADE;
 DROP SCHEMA tcpls CASCADE;
 
+-- change the existing Long Overdue copy status to make room for the new one
+UPDATE config.copy_status SET name = 'Long Overdue (Legacy)' WHERE name = 'Long Overdue';
+
 -- drop a function with dependencies that get removed
 DROP FUNCTION search.staged_fts(integer,integer,text,integer[],text[],text[],text[],text[],text[],text[],text,real,text,boolean,boolean,boolean,integer,integer,integer);
 DROP AGGREGATE agg_tsvector(public.tsvector);