[Koha-bugs] [Bug 10477] Increased flexibility for upload of Staged MARC records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 19 19:18:17 CET 2014


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

--- Comment #17 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 24160
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24160
Bug-10477-Alter table import_batches

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

::: installer/data/mysql/updatedatabase.pl
@@ +7914,5 @@
>  
> +$DBversion = "3.15.00.XXX";
> +if ( CheckVersion($DBversion) ) {
> +    $dbh->do("ALTER TABLE import_batches MODIFY overlay_action  enum('replace', 'create_new', 'use_template', 'ignore', 'appendmarctag') NOT NULL default 'create_new'");
> +    $dbh->do("ALTER TABLE import_batches ADD COLUMN marctag mediumtext");

You should probably add an 'AFTER' statement, so that the kohastructure.sql and
updatedatabase.pl will generate the same field order.

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


More information about the Koha-bugs mailing list