@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_30650.pl | 7 +++++++ installer/data/mysql/kohastructure.sql | 1 + 2 files changed, 8 insertions(+) --- a/installer/data/mysql/atomicupdate/bug_30650.pl +++ a/installer/data/mysql/atomicupdate/bug_30650.pl @@ -173,5 +173,12 @@ return { VALUES (3, 'manage_curbside_pickups', 'Manage curbside pickups') }); + + unless ( column_exists('curbside_pickup_policy', 'enable_waiting_holds_only') ) { + $dbh->do(q{ + ALTER table curbside_pickup_policy + ADD COLUMN enable_waiting_holds_only INT(1) NOT NULL DEFAULT 0 AFTER enabled + }); + } } } --- a/installer/data/mysql/kohastructure.sql +++ a/installer/data/mysql/kohastructure.sql @@ -2333,6 +2333,7 @@ CREATE TABLE `curbside_pickup_policy` ( `id` int(11) NOT NULL auto_increment, `branchcode` varchar(10) NOT NULL, `enabled` TINYINT(1) NOT NULL DEFAULT 0, + `enable_waiting_holds_only` TINYINT(1) NOT NULL DEFAULT 0, `pickup_interval` INT(2) NOT NULL DEFAULT 0, `patrons_per_interval` INT(2) NOT NULL DEFAULT 0, `patron_scheduled_pickup` TINYINT(1) NOT NULL DEFAULT 0, --