|
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 |
} |