Koha-clms/installer/data/mysql
Kyle M Hall fc42eeba6a Bug 17292 - Use of DBIx in updatedatabase.pl broke upgrade
A recent change in the 'subscription' table structure highlighted a
problem in a DBRev upgrade (3.23.00.006). As it adds a new column, when
upgrading from (say) 3.20.00.000 the code/schema (correctly) expects the
subscription.itemtype column to exist. But it is not created until DBRev
16.06.00.025.

To reproduce:
- Have a clean 3.20.00 DB loaded into kohadevbox
- Checkout current master
- Run:
  $ perl installer/data/mysql/updatedatabase.pl
  => FAIL: The upgrade procedure fails due to missing colum.

  The solution: rewrite the updatedatabase.pl entry using plain DBI

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit f11f07a703)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
2016-10-22 10:28:49 +02:00
..
atomicupdate DBRev 16.05.04.02 2016-10-22 10:08:11 +02:00
de-DE Bug 16554: rewrite mandatory and sample data - de-DE 2016-09-15 16:59:44 +02:00
en Bug 16554: More i18n changes - en, es, nb and pl files 2016-09-15 16:59:12 +02:00
es-ES Bug 16554: More i18n changes - en, es, nb and pl files 2016-09-15 16:59:12 +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 16311 - Advanced search language limit typo 2016-09-13 09:56:08 +02: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 16554: More i18n changes - en, es, nb and pl files 2016-09-15 16:59:12 +02:00
ru-RU Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
uk-UA Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00: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 Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 17292 - Use of DBIx in updatedatabase.pl broke upgrade 2016-10-22 10:28:49 +02: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 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00