View | Details | Raw Unified | Return to bug 13560
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug13560.perl (+6 lines)
Line 0 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( "ALTER TABLE marc_modification_template_actions CHANGE action action ENUM('delete_field','add_field','update_field','move_field','copy_field','copy_and_replace_field')" );
4
    SetVersion( $DBversion );
5
    print "Upgrade to $DBversion done (Bug 13560 - need an add option in marc modification templates)\n";
6
}
(-)a/installer/data/mysql/kohastructure.sql (-2 / +1 lines)
Lines 3565-3571 CREATE TABLE IF NOT EXISTS marc_modification_template_actions ( Link Here
3565
  mmta_id int(11) NOT NULL AUTO_INCREMENT,
3565
  mmta_id int(11) NOT NULL AUTO_INCREMENT,
3566
  template_id int(11) NOT NULL,
3566
  template_id int(11) NOT NULL,
3567
  ordering int(3) NOT NULL,
3567
  ordering int(3) NOT NULL,
3568
  action ENUM('delete_field','update_field','move_field','copy_field','copy_and_replace_field') NOT NULL,
3568
  action ENUM('delete_field','add_field','update_field','move_field','copy_field','copy_and_replace_field') NOT NULL,
3569
  field_number smallint(6) NOT NULL DEFAULT '0',
3569
  field_number smallint(6) NOT NULL DEFAULT '0',
3570
  from_field varchar(3) NOT NULL,
3570
  from_field varchar(3) NOT NULL,
3571
  from_subfield varchar(1) DEFAULT NULL,
3571
  from_subfield varchar(1) DEFAULT NULL,
3572
- 

Return to bug 13560