Koha/installer/data/mysql
Jonathan Druart 9820e40f5d Bug 13577: Add the utf8_unicode_ci COLLATE to all tables
Bug 11944 added the COLLATE=utf8_unicode_ci to all DB tables.
But some new tables have been created between the write of the patch set
and the push to master.
So these new tables don't have the correct collate.

Test plan:
0/ Reproduce the error:
mysql> create database koha_test CHARACTER SET utf8 COLLATE utf8_unicode_ci;
mysql koha_test < installer/data/mysql/kohastructure.sql

It will boom with:
ERROR 1005 (HY000) at line 3493: Can't create table `koha_test`.`items_search_fields`
(errno: 150 "Foreign key constraint is incorrectly formed")

1/ Apply the patch, destroy the DB and recreate it:
mysql> create database koha_test CHARACTER SET utf8 COLLATE utf8_unicode_ci;
mysql> drop database koha_test;
mysql koha_test < installer/data/mysql/kohastructure.sql
All tables should be inserted without any error.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-01-17 10:28:44 -03:00
..
atomicupdate Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
de-DE Bug 13566 - Change translation for 'Rotating collection' in German web installer 2015-01-14 12:39:53 -03:00
en Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
es-ES Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
fr-FR Bug 13346: OpacExportOptions becomes multiple 2015-01-04 12:36:45 -03:00
it-IT Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
mandatory Bug 12250: Update descriptions for languages, scripts and regions 2014-11-07 15:18:01 -03:00
nb-NO Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
pl-PL Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
ru-RU Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
uk-UA Bug 8909: MARC21 240$a (Uniform title) is not a URL 2015-01-04 12:30:38 -03:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 13577: Add the utf8_unicode_ci COLLATE to all tables 2015-01-17 10:28:44 -03:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sysprefs.sql Bug 13346: OpacExportOptions becomes multiple 2015-01-04 12:36:45 -03:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 11944: DBRev 3.19.00.006 2015-01-13 13:13:02 -03:00