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

(-)a/installer/data/mysql/atomicupdate/bug_30572.pl (-1 / +14 lines)
Line 0 Link Here
0
- 
1
use Modern::Perl;
2
3
return {
4
    bug_number => 30572,
5
    description => "Adjust search_marc_to_field.sort",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        # Do you stuffs here
10
        $dbh->do(q|
11
ALTER TABLE search_marc_to_field MODIFY COLUMN sort tinyint(1) DEFAULT 1 NOT NULL COMMENT 'Sort defaults to 1 (Yes) and creates sort fields in the index, 0 (no) will prevent this';
12
        |);
13
    },
14
};

Return to bug 30572