Koha/installer/data/mysql
Jonathan Druart 2b303129b8 Bug 17914: Do not try and add the updated_on columns to the borrowers and deletedborrowers table
Bug 10459 has been backported and the DB entry (add borrowers.updated_on and
deletedborrower.updated_on) is now played in
  - 16.06.00.027
  - 16.05.00.002
  - 3.22.08.001

This will raise a MySQL warning if the column already exists.
  DBD::mysql::db do failed: Duplicate column name 'updated_on'

Since bug 17234 we have now a subroutine (C4::Installer::column_exists) to test
if a column exists.
When a DB entry modifying the DB structure is backported, it HAS TO check if the
column, constraint or table exists before executing the query.

Test plan:
git checkout 3.22.x (16.05.x or 16.11.x)
install Koha
git checkout master
execute the installer
=> Without this patch you will get a warning when adding borrowers.updated_on)
=> With this patch, you should not get it

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-01-18 15:22:03 +00:00
..
atomicupdate Bug 17196 - DBRev 16.12.00.004 2017-01-13 14:00:55 +00:00
de-DE Bug 17543: Update German web installer sample files for 16.11 2016-11-18 15:55:03 +00:00
en Bug 17577: Improve sample notices for article requests 2016-11-29 17:45:44 +00:00
es-ES Bug 17577: Improve sample notices for article requests 2016-11-29 17:45:44 +00:00
fr-CA Bug 17577: Improve sample notices for article requests 2016-11-29 17:45:44 +00:00
fr-FR Bug 17577: Improve sample notices for article requests 2016-11-29 17:45:44 +00:00
it-IT Bug 17577: Improve sample notices for article requests 2016-11-29 17:45:44 +00:00
mandatory Bug 17518: Displayed language name for Czech is wrong 2016-11-02 11:00:35 +00:00
nb-NO Bug 17577: Improve sample notices for article requests 2016-11-29 17:45:44 +00:00
pl-PL Bug 17577: Improve sample notices for article requests 2016-11-29 17:45:44 +00:00
ru-RU Bug 17577: Improve sample notices for article requests 2016-11-29 17:45:44 +00:00
uk-UA Bug 17576: Add housebound mandatory auth_values. 2016-11-18 13:55:23 +00:00
audio_alerts.sql
backfill_statistics.pl
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 17196: [QA Follow-up] Missing unique key in kohastructure 2017-01-13 13:49:30 +00:00
labels_upgrade.pl
patroncards_upgrade.pl
sysprefs.sql Bug 17486: Remove Mozilla Persona 2017-01-13 12:32:19 +00:00
update22to30.pl
updatedatabase.pl Bug 17914: Do not try and add the updated_on columns to the borrowers and deletedborrowers table 2017-01-18 15:22:03 +00:00
userflags.sql
userpermissions.sql Bug 17663: Forgotten userpermissions from bug 14686 2016-11-21 16:33:16 +00:00