https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23805 --- Comment #49 from Martin Renvoize <martin.renvoize@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.