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 3568-3574 CREATE TABLE IF NOT EXISTS marc_modification_template_actions ( Link Here
3568
  mmta_id int(11) NOT NULL AUTO_INCREMENT,
3568
  mmta_id int(11) NOT NULL AUTO_INCREMENT,
3569
  template_id int(11) NOT NULL,
3569
  template_id int(11) NOT NULL,
3570
  ordering int(3) NOT NULL,
3570
  ordering int(3) NOT NULL,
3571
  action ENUM('delete_field','update_field','move_field','copy_field','copy_and_replace_field') NOT NULL,
3571
  action ENUM('delete_field','add_field','update_field','move_field','copy_field','copy_and_replace_field') NOT NULL,
3572
  field_number smallint(6) NOT NULL DEFAULT '0',
3572
  field_number smallint(6) NOT NULL DEFAULT '0',
3573
  from_field varchar(3) NOT NULL,
3573
  from_field varchar(3) NOT NULL,
3574
  from_subfield varchar(1) DEFAULT NULL,
3574
  from_subfield varchar(1) DEFAULT NULL,
3575
- 

Return to bug 13560