@@ -, +, @@ - Adds allow_change_from_staff to virtualshelves table --- installer/data/mysql/atomicupdate/bug_26346.perl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_26346.perl --- a/installer/data/mysql/atomicupdate/bug_26346.perl +++ a/installer/data/mysql/atomicupdate/bug_26346.perl @@ -0,0 +1,7 @@ +$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" ); +} --