Bug 20144: [sql_modes] Shorten items.barcode
It's a varchar(20) Fix for: Data too long for column 'barcode' t/db_dependent/Koha/Items.t Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
16cb9e92e5
commit
a11d648980
|
|
@ -49,7 +49,7 @@ my $new_item_2 = Koha::Item->new(
|
|||
biblioitemnumber => $biblioitem->{biblioitemnumber},
|
||||
homebranch => $library->{branchcode},
|
||||
holdingbranch => $library->{branchcode},
|
||||
barcode => "another_barcode_for_t",
|
||||
barcode => "another_bc_for_t",
|
||||
itype => 'BK',
|
||||
}
|
||||
)->store;
|
||||
|
|
|
|||
Loading…
Reference in New Issue