[Koha-bugs] [Bug 24379] Borrowers Login Attempts is NULL

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 3 14:18:43 CEST 2020


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

--- Comment #10 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 105522
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105522&action=edit
Bug 24379: Don't drop default of 0 for login attempts

When moving the column we drop the default, this means that DBs upgraded form
earlier versions
get the wrong values set

To test:
1 - Checkout 16.11.x
2 - Reset all
3 - Checkout master
4 - updatedatabase
5 - SHOW CREATE TABLE borrowers;
6 - Note the column login_attempts defaults to NULL
7 - Apply patch(es)
8 - Repeat
9 - Now it defaults ot 0 (and has NOT NULL if applied all)

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


More information about the Koha-bugs mailing list