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

(-)a/installer/data/mysql/atomicupdate/bug_22428-change_field_value_column.pl (+16 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "22428",
5
    description => "Changes the datatype of the field value column to text to stop input being cut short",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
10
        $dbh->do(q{
11
            ALTER TABLE marc_modification_template_actions MODIFY COLUMN field_value text;
12
        });
13
14
        say $out "Amended dataype of column field_value in table marc_modification_template_actions.";
15
    },
16
};
(-)a/installer/data/mysql/kohastructure.sql (-2 / +1 lines)
Lines 3983-3989 CREATE TABLE `marc_modification_template_actions` ( Link Here
3983
  `field_number` smallint(6) NOT NULL DEFAULT 0,
3983
  `field_number` smallint(6) NOT NULL DEFAULT 0,
3984
  `from_field` varchar(3) NOT NULL,
3984
  `from_field` varchar(3) NOT NULL,
3985
  `from_subfield` varchar(1) DEFAULT NULL,
3985
  `from_subfield` varchar(1) DEFAULT NULL,
3986
  `field_value` varchar(100) DEFAULT NULL,
3986
  `field_value`  text DEFAULT NULL,
3987
  `to_field` varchar(3) DEFAULT NULL,
3987
  `to_field` varchar(3) DEFAULT NULL,
3988
  `to_subfield` varchar(1) DEFAULT NULL,
3988
  `to_subfield` varchar(1) DEFAULT NULL,
3989
  `to_regex_search` mediumtext DEFAULT NULL,
3989
  `to_regex_search` mediumtext DEFAULT NULL,
3990
- 

Return to bug 22428