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>
This commit is contained in:
Jonathan Druart 2017-09-19 13:32:31 -03:00
parent 0aec9e11d5
commit e65ee89aae
1 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE borrowers MODIFY COLUMN login_attempts int(4) AFTER lang;
ALTER TABLE deletedborrowers MODIFY COLUMN login_attempts int(4) AFTER lang;