[Koha-bugs] [Bug 23805] Add a dedicated credit_types table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 31 09:39:05 CET 2019


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

--- Comment #49 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Julian Maurice from comment #45)
> 
> Instead we can do:
> 1. credit_type_code = NEW_CODE(accounttype)
> 2. Drop accounttype
> 
> This way, no need to drop the check constraint first (because accounttype is
> not changed), and it is dropped automatically when the column is removed.

I'm not sure that's true actually.. this is a table-level check constraint... I
think auto drop is only supported at column level checks, though I may be
wrong.  I've uploaded an alternative patch that attempts to do as you suggest
but don't have a simple way to test it's effectiveness myself :(.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list