Koha-clms/installer/data/mysql
Bernardo Gonzalez Kriegel 090ba4902c Bug 10965: fix breakage when loading sample itemtypes during install
Bug 10513 added two columns to table itemtypes,
but sample_itemtypes can't be loaded because
it relies on old structure.

This patch rewrites sample_itemtypes.sql, stating
explicitly columns, removing backticks and consolidates
all in one insertion.

To test:
1) On master with current DB structure, delete item types

2) try loading sample_itemtyes.sql
It fails with "ERROR 1136 (21S01) at line 1: Column count doesn't match value count at row 1"

3) apply patch

4) try again, this time it will load and itemtypes created

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
SQL change only.
Tested by running the web installer on an empty database.
All sample data loads without errors.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-02 14:35:44 +00:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-09-25 15:10:40 +00:00
en Bug 10965: fix breakage when loading sample itemtypes during install 2013-10-02 14:35:44 +00:00
es-ES Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-09-25 15:10:40 +00:00
fr-FR Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-09-25 15:10:40 +00:00
it-IT Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-09-25 15:10:40 +00:00
nb-NO Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-09-25 15:10:40 +00:00
pl-PL Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-09-25 15:10:40 +00:00
ru-RU Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-09-25 15:10:40 +00:00
uk-UA Bug 10687: (follow-up) remove authority 68a/68b tags from translated MARC21 framework scripts 2013-09-25 15:10:40 +00:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 10513: display a warning/message when returning a chosen item type 2013-09-16 17:45:31 +00: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
sample_only_param_tables.sql Moved location of updater scripts to dbms specific dir. 2007-11-13 11:22:47 -06:00
sysprefs.sql Bug 9761: dbrev for ConfirmFutureHolds 2013-09-25 00:27:15 +00:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 10687: DBRev 3.13.00.022 2013-09-25 15:12:27 +00:00