Bug 30650: DB - Add policy.enable_waiting_holds_only
Sponsored-by: Association KohaLa - https://koha-fr.org/ Signed-off-by: Koha Team University Lyon 3 <koha@univ-lyon3.fr> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
00da3ec0a3
commit
d01c0c7fa3
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue