View | Details | Raw Unified | Return to bug 9525
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/Bug-9525-Add_ft_local_float_group_column.perl (+10 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    # you can use $dbh here like:
4
    # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" );
5
6
    $dbh->do("ALTER TABLE library_groups ADD COLUMN ft_local_float_group tinyint(1) NOT NULL DEFAULT 0 AFTER ft_local_hold_group");
7
8
    # Always end with this (adjust the bug info)
9
    NewVersion( $DBversion, 9525, "Add option to set group as local float group");
10
}
(-)a/installer/data/mysql/kohastructure.sql (-1 / +1 lines)
Lines 3291-3296 CREATE TABLE `library_groups` ( Link Here
3291
  `ft_search_groups_opac` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Use this group for staff side search groups',
3291
  `ft_search_groups_opac` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Use this group for staff side search groups',
3292
  `ft_search_groups_staff` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Use this group for opac side search groups',
3292
  `ft_search_groups_staff` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Use this group for opac side search groups',
3293
  `ft_local_hold_group` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Use this group to identify libraries as pick up location for holds',
3293
  `ft_local_hold_group` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Use this group to identify libraries as pick up location for holds',
3294
  `ft_local_float_group` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Use this group to identify libraries as part of float group',
3294
  `created_on` timestamp NULL DEFAULT NULL COMMENT 'Date and time of creation',
3295
  `created_on` timestamp NULL DEFAULT NULL COMMENT 'Date and time of creation',
3295
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'Date and time of last',
3296
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'Date and time of last',
3296
  PRIMARY KEY (`id`),
3297
  PRIMARY KEY (`id`),
3297
- 

Return to bug 9525