Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
429 B

  1. $DBversion = 'XXX'; # will be replaced by the RM
  2. if( CheckVersion( $DBversion ) ) {
  3. # you can use $dbh here like:
  4. # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" );
  5. # or perform some test and warn
  6. # if( !column_exists( 'biblio', 'biblionumber' ) ) {
  7. # warn "There is something wrong";
  8. # }
  9. # Always end with this (adjust the bug info)
  10. NewVersion( $DBversion, XXXXX, "Description");
  11. }