Lines 433-439
sub _should_be_fk {
Link Here
|
433 |
# A column is not marked as FK, but a belongs_to relation is defined |
433 |
# A column is not marked as FK, but a belongs_to relation is defined |
434 |
my ( $source, $column ) = @_; |
434 |
my ( $source, $column ) = @_; |
435 |
my $inconsistencies = { |
435 |
my $inconsistencies = { |
436 |
'Item.biblionumber' => 1, #FIXME: Please remove me when I become FK |
436 |
'Item.biblionumber' => 1, #FIXME: Please remove me when I become FK |
|
|
437 |
'CheckoutRenewal.checkout_id' => 1, #FIXME: Please remove when issues and old_issues are merged |
437 |
}; |
438 |
}; |
438 |
return $inconsistencies->{ "$source.$column" }; |
439 |
return $inconsistencies->{ "$source.$column" }; |
439 |
} |
440 |
} |
440 |
- |
|
|