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

(-)a/installer/data/mysql/atomicupdate/bug_13757-add_opac_editable_to_borrower_attribute_types.perl (+13 lines)
Line 0 Link Here
1
$DBversion = "16.12.00.XXX";
2
if ( CheckVersion($DBversion) ) {
3
    unless ( column_exists( 'borrower_attribute_types', 'opac_editable' ) )
4
    {
5
        $dbh->do(q{
6
            ALTER TABLE borrower_attribute_types
7
                ADD COLUMN `opac_editable` tinyint(1) NOT NULL default 0 AFTER `opac_display`
8
        });
9
    }
10
11
    print "Upgrade to $DBversion done (Bug 13757: Make patron attributes editable in the opac if set to 'editable in OPAC'\n";
12
    SetVersion($DBversion);
13
}
(-)a/installer/data/mysql/atomicupdate/bug_13757-add_opac_editable_to_borrower_attribute_types.sql (-2 lines)
Line 1 Link Here
1
ALTER TABLE borrower_attribute_types ADD COLUMN `opac_editable` tinyint(1) NOT NULL default 0 AFTER `opac_display`;
2
- 

Return to bug 13757