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:
Jonathan Druart 2018-02-05 16:21:43 -03:00
parent 16cb9e92e5
commit a11d648980
1 changed files with 1 additions and 1 deletions

View File

@ -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;