-
$DBversion = 'XXX';
if ( CheckVersion($DBversion) ) {
if ( !column_exists( 'virtualshelves', 'allow_change_from_staff' ) ) {
$dbh->do(q{ALTER TABLE virtualshelves ADD COLUMN `allow_change_from_staff` tinyint(1) DEFAULT '0'});
}
NewVersion( $DBversion, 26346, "Add allow_change_from_staff to virtualshelves table" );