Bug 19344: Reorder lang and login_attempts in the [deleted]borrowers tables
commit8c5fbecd0a50b6a5f0ce1e877544d253474f3708
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Sep 2017 16:32:31 +0000 (19 13:32 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 27 Oct 2017 12:04:36 +0000 (27 14:04 +0200)
tree0af63e1fdae8c97fbbbfa6b655d803b1d1d539a9
parented77ef6a3dba5e71290434b678322154cb1c8d42
Bug 19344: Reorder lang and login_attempts in the [deleted]borrowers tables

Due to a bad rebase, the borrowers and deletedborrowers table structure
may different from a new install and upgraded install
For new installs, the order was: lang, login_attempts
For upgraded installs, it was lang, last_seen, login_attempts

After this patch, the order must be:
- last_seen
- lang
- login_attempts

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit e65ee89aae7802a31e47b5343c77f8a8a62d3a38)
installer/data/mysql/atomicupdate/bug_19344.sql [new file with mode: 0644]