projects
/
koha.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bug 29012: Fix existing update to prevent inserting incorrect data
[koha.git]
/
installer
/
data
/
mysql
/
db_revs
/
211200008.pl
1
use Modern::Perl;
2
3
return {
4
bug_number => "29495",
5
description => "Drop issue_id constraint from return_claims table",
6
up => sub {
7
my ($args) = @_;
8
my ($dbh, $out) = @$args{qw(dbh out)};
9
if ( foreign_key_exists( 'return_claims', 'issue_id' ) ) {
10
$dbh->do(q{
11
ALTER TABLE return_claims DROP FOREIGN KEY issue_id
12
});
13
}
14
},
15
};