Koha-clms/installer/data/mysql
Jonathan Druart c0112d9907 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>
(cherry picked from commit 2b303129b8)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2017-01-25 14:35:33 +13:00
..
atomicupdate Bug 17663: Forgotten userpermissions from bug 14686 (follow-up) 2016-12-14 22:44:44 +13:00
de-DE Bug 16554: rewrite mandatory and sample data - de-DE 2016-09-15 16:59:44 +02:00
en Bug 17357: Replace WTHDRAWN with WITHDRAWN in installer files 2016-10-22 13:59:22 +02:00
es-ES Bug 17357: Replace WTHDRAWN with WITHDRAWN in installer files 2016-10-22 13:59:22 +02:00
fr-CA Bug 16554: Fix I18N sample files 2016-09-15 16:57:51 +02:00
fr-FR Bug 16554: Fix fr-FR sample files 2016-09-15 16:57:01 +02:00
it-IT Bug 16554: Fix encoding on it-IT file 2016-09-15 17:00:01 +02:00
mandatory Bug 17518: Displayed language name for Czech is wrong 2016-11-02 18:47:50 +00:00
nb-NO Bug 16554: More i18n changes - en, es, nb and pl files 2016-09-15 16:59:12 +02:00
pl-PL Bug 17357: Replace WTHDRAWN with WITHDRAWN in installer files 2016-10-22 13:59:22 +02:00
ru-RU Bug 17357: Replace WTHDRAWN with WITHDRAWN in installer files 2016-10-22 13:59:22 +02:00
uk-UA Bug 17357: Replace WTHDRAWN with WITHDRAWN in installer files 2016-10-22 13:59:22 +02:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-22 08:17:41 +02:00
kohastructure.sql Bug 16573: fix structure and sample data for MySQL 5.7 2016-08-05 07:12:36 +02:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 14707 : Replace UsageStatsCountry syspref from free text to a dropdown list. 2016-09-30 11:06:38 +02:00
update22to30.pl
…
updatedatabase.pl Bug 17914: Do not try and add the updated_on columns to the borrowers and deletedborrowers table 2017-01-25 14:35:33 +13:00
userflags.sql Bug 13632: Populate user_flags and permissions tables in the web installer 2015-10-19 09:38:04 -03:00
userpermissions.sql Bug 17663: Forgotten userpermissions from bug 14686 2016-12-12 14:54:14 +13:00