@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_25078.perl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_25078.perl --- a/installer/data/mysql/atomicupdate/bug_25078.perl +++ a/installer/data/mysql/atomicupdate/bug_25078.perl @@ -0,0 +1,13 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + # you can use $dbh here like: + # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" ); + + # or perform some test and warn + # if( !column_exists( 'biblio', 'biblionumber' ) ) { + # warn "There is something wrong"; + # } + + # Always end with this (adjust the bug info) + NewVersion( $DBversion, 25078, ["Description", "Boom, boom", "Chick-a-boom"]); +} --