https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22435

--- Comment #192 from Jonathan Druart <jonathan.druart+k...@gmail.com> ---
Martin, shouldn't we apply the following change to make the db rev idempotent?

-    $dbh->do( "UPDATE account_offsets SET type = 'CREATE' WHERE type !=
'OVERDUE_INCREASE' AND type != 'OVERDUE_DECREASE' AND ( debit_id IS NULL OR
credit_id IS NULL)" );
+    $dbh->do( "UPDATE account_offsets SET type = 'CREATE' WHERE type !=
'OVERDUE_INCREASE' AND type != 'OVERDUE_DECREASE' AND type != 'APPLY' AND (
debit_id IS NULL OR credit_id IS NULL)" );

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to