Bug 22887: (RM follow-up) Restore warnings in updatedatabase
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
0e9d45e7b4
commit
2b7ac72d70
1 changed files with 3 additions and 0 deletions
|
@ -21588,6 +21588,9 @@ if( CheckVersion( $DBversion ) ) {
|
|||
$_->{authorised_value}, $_->{c}
|
||||
} @$duplicates
|
||||
);
|
||||
for my $warning (@description) {
|
||||
warn $warning;
|
||||
}
|
||||
} else {
|
||||
$dbh->do( q{ALTER TABLE `authorised_values` ADD CONSTRAINT `av_uniq` UNIQUE (category, authorised_value)} );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue