From fe52bd0c791d9ec592bbc34e999b2a2f5d17c245 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Sep 2017 13:32:31 -0300 Subject: [PATCH] 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 Signed-off-by: Kyle M Hall --- installer/data/mysql/atomicupdate/bug_19344.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_19344.sql diff --git a/installer/data/mysql/atomicupdate/bug_19344.sql b/installer/data/mysql/atomicupdate/bug_19344.sql new file mode 100644 index 0000000..36faba8 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_19344.sql @@ -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; -- 2.10.2