[Koha-bugs] [Bug 12769] Notice fee management

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 7 21:36:35 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12769

--- Comment #11 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 36351
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36351
Bug 12769 - Notice fee management

Review of attachment 36351:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=12769&attachment=36351)
-----------------------------------------------------------------

::: installer/data/mysql/updatedatabase.pl
@@ +9793,4 @@
>      SetVersion($DBversion);
>  }
>  
> +$DBversion = "XXX";

Please convert this to an atomic update.
See http://wiki.koha-community.org/wiki/Database_updates#updatedatabase.pl

@@ +9794,5 @@
>  }
>  
> +$DBversion = "XXX";
> +if ( CheckVersion($DBversion) ) {
> +    $dbh->do("ALTER TABLE  `letter` add  `fee` decimal(10,2) DEFAULT NULL");

https://dev.mysql.com/doc/refman/5.1/en/alter-table.html
Please include AFTER so that this alter will generate same column order as
kohastructure.sql

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list