Koha/installer/data/mysql
Marcel de Rooy 0c40349096 Bug 15084: [QA Follow-up] Correct field length of currency
Bug 15084 added a FK constraint while the fields in the database are not
in sync as to length. This will produce errors when using currency codes
longer than three characters. Probably you won't, but nobody stopped
users from entering EURO or DOLLAR etc. Not to speak about TestBuilder
too.

This patch corrects the database revision for aqorders in updatedatabase,
because we need to change the field length before adding the FK constraint.
It also updates other currency fields < 10 chars (via atomicupdate).
RM: So please add that dbrev too in updatedatabase.

Note that another report should deal with adding missing constraints on
the currency code in suggestions and aqbooksellers.
Also note that the aqorder fields listprice and invoiceprice refer to
currency. Imo these are very poor names for currency codes; you should
never call something a price when you mean a currency code!

Similar changes are applied to kohastructure.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested the db revisions.

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-09 15:04:35 +00:00
..
atomicupdate Bug 15084: [QA Follow-up] Correct field length of currency 2016-03-09 15:04:35 +00:00
de-DE Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
en Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
es-ES Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
fr-FR Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
it-IT Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
mandatory
nb-NO Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
pl-PL Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
ru-RU Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
uk-UA Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +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
kohastructure.sql Bug 15084: [QA Follow-up] Correct field length of currency 2016-03-09 15:04:35 +00:00
labels_upgrade.pl
patroncards_upgrade.pl
sysprefs.sql Bug 14694 [QA Followup] - Fix syspref order 2016-03-07 17:48:52 +00:00
update22to30.pl
updatedatabase.pl Bug 15084: [QA Follow-up] Correct field length of currency 2016-03-09 15:04:35 +00: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 11569: Correcting typos in userpermissions.sql 2015-12-30 16:21:38 +00:00