Koha-clms/installer/data/mysql
Marcel de Rooy 2bcec70262 Bug 7368: Followup for columns names in userflags.sql
An insert statement should contain the column names to avoid confusion and
future problems with table definition changes.

This patch updates the English userflags.sql.

Will send updates for the other languages in connection with replacing inserts
by updates for the additional languages (where possible). For userflags this
will be possible.

Test plan:
Do an install (English).

Or -- as a dangerous(!) alternative--:
Do this ONLY on a restorable database.
Delete all records in userflags. (Note: This cascades to permissions a.o.)
Run this file from command line.
Check if you have records again in userflags. (You also messed up your Koha.)
Restore your database.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested both ways myself :)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Comment: Work as described. No errors.
Tested using second alternative

Just a note: if you update other lang files replacing INSERTs for UPDATEs
then you must install using EN and later apply lang files by hand.
If you do a translate first before webinstaller, and finish your install
in your lang, then that kind of file will fail.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

mysql> create database test;
Query OK, 1 row affected (0.00 sec)

% mysql -u koha -p test < installer/data/mysql/kohastructure.sql
% mysql -u koha -p test < installer/data/mysql/en/mandatory/userflags.sql

mysql> select count(*) from userflags;
+----------+
| count(*) |
+----------+
|       19 |
+----------+
1 row in set (0.00 sec)

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-06-27 08:29:26 -07:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
en Bug 7368: Followup for columns names in userflags.sql 2013-06-27 08:29:26 -07:00
es-ES Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
fr-FR Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
it-IT Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
nb-NO Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
pl-PL Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
ru-RU Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
uk-UA Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 10443: (follow-up) make sure borrower_files has FK constraint 2013-06-14 07:53:55 -07: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 10343: dbrev for rename OpacShowHoldNotes to OpacHoldNotes 2013-06-07 10:01:38 -07:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 10443: DBRev 3.13.00.008 - make sure borrower_files exists 2013-06-14 07:53:56 -07:00