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

(-)a/installer/data/mysql/atomicupdate/bug_34324.pl (-1 / +15 lines)
Line 0 Link Here
0
- 
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "34324",
5
    description => "Add opac_problem to source enum of tickets table",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        $dbh->do(
11
            "ALTER TABLE `tickets` MODIFY COLUMN `source` enum('catalog','opac_problem') NOT NULL DEFAULT 'catalog' COMMENT 'source of ticket'"
12
        );
13
        say $out "Added opac_problem to source enum of 'tickets.source'";
14
    },
15
};

Return to bug 34324