If you come via upgrade and not a fresh 2.5 DB, you are probably
missing the action.aged_hold_request.behind_desk column. Add it in a
harmless way.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
-- add missing behind_desk column
+\qecho *** This ALTER TABLE might fail depending on your DB vintage. ***
+\qecho *** It should be harmless. ***
+ALTER TABLE action.aged_hold_request ADD COLUMN behind_desk BOOLEAN;
+
BEGIN;
SELECT evergreen.upgrade_deps_block_check('0868', :eg_version);
--Upgrade Script for 2.5.2 to 2.5.3
\set eg_version '''2.5.3'''
+
+\qecho *** This ALTER TABLE might fail depending on your DB vintage. ***
+\qecho *** It should be harmless. ***
+ALTER TABLE action.aged_hold_request ADD COLUMN behind_desk BOOLEAN;
+
BEGIN;
INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.5.3', :eg_version);