cdf93bffee
The current serialitems table structure does not provide for a *:1 relationship with the serial table. This causes a problem when attempting to add multiple items to a given serial. The db throws an error when attempting to INSERT in serialitems due to serialid.serialitems being a unique key. A further side effect is that the marc record is updated with the item inspite of the error. The mods to the serialitems table structure in this patch drop serialid.serialitems as a key and make itemnumber.serialitems the primary key creating a *:1 relationship with the serial table. This patch also makes serialid.serialitems a foreign key referencing serialid.serial to maintain referential integrity. Fix for duplicate barcode check Signed-off-by: Galen Charlton <galen.charlton@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
20 lines
659 B
Perl
20 lines
659 B
Perl
# the next koha public release version number;
|
|
# the kohaversion is divided in 4 parts :
|
|
# - #1 : the major number. 3 atm
|
|
# - #2 : the functionnal release. 00 atm
|
|
# - #3 : the subnumber, moves only on a public release
|
|
# - #4 : the developer version. The 4th number is the database subversion.
|
|
# used by developers when the database changes. updatedatabase take care of the changes itself
|
|
# and is automatically called by Auth.pm when needed.
|
|
|
|
use strict;
|
|
|
|
sub kohaversion {
|
|
our $VERSION = '3.00.00.102';
|
|
# version needs to be set this way
|
|
# so that it can be picked up by Makefile.PL
|
|
# during install
|
|
return $VERSION;
|
|
}
|
|
|
|
1;
|