15 lines
410 B
Perl
Executable file
15 lines
410 B
Perl
Executable file
use Modern::Perl;
|
|
|
|
return {
|
|
bug_number => "29495",
|
|
description => "Drop issue_id constraint from return_claims table",
|
|
up => sub {
|
|
my ($args) = @_;
|
|
my ($dbh, $out) = @$args{qw(dbh out)};
|
|
if ( foreign_key_exists( 'return_claims', 'issue_id' ) ) {
|
|
$dbh->do(q{
|
|
ALTER TABLE return_claims DROP FOREIGN KEY issue_id
|
|
});
|
|
}
|
|
},
|
|
};
|