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

--- Comment #39 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 201610
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201610&action=edit
Bug 42386: DB update - Migrate error_code ENUM to snake_case

Migrates the club_holds_to_patron_holds.error_code ENUM column from
camelCase values to snake_case, matching the new availability class
status codes.

The atomicupdate uses a 3-step approach:
1. Expand ENUM to accept both old and new values
2. UPDATE existing rows from old to new
3. Shrink ENUM to only snake_case values

Test plan:
1. Apply patch
2. Run:
   $ ktd --shell
   k$ updatedatabase
=> SUCCESS: ENUM migrated
3. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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