]> git.koha-community.org Git - koha.git/commit
Bug 21747: Insert fine_increase and fine_decrease for new installs
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 27 Feb 2019 19:05:20 +0000 (16:05 -0300)
committerroot <root@f1ebe1bec408>
Wed, 27 Feb 2019 20:50:46 +0000 (20:50 +0000)
commitf355788b340b19912891fd41c3168bac9c951aff
tree407a614cc02ad0589f24bb1782987db391964a93
parent91435189fee9d095677e6a0a0b9d8934823cba47
Bug 21747: Insert fine_increase and fine_decrease for new installs

This fixes Circulation.t
koha_1       | DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_kohadev`.`account_offsets`, CONSTRAINT `account_offsets_ibfk_t` FOREIGN KEY (`type`) REFERENCES `account_offset_types` (`type`) ON DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT INTO `account_offsets` ( `amount`, `debit_id`, `type`) VALUES ( ?, ?, ? )" with ParamValues: 0=1, 1='22', 2='fine_increase'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/account_offset_types.sql