if ( !column_exists( 'itemtypes', 'bookable' ) ) {
$dbh->do(
q{
ALTER TABLE itemtypes ADD COLUMN bookable INT(1) DEFAULT 0 AFTER automatic_checkin
ALTER TABLE itemtypes ADD COLUMN bookable tinyint(1) NOT NULL DEFAULT 0 AFTER automatic_checkin
}
);
-