Koha/installer/data/mysql/en/mandatory
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
..
auth_values.sql wr76595 (bug 4157): Control barcode display with a borrower attribute 2011-04-05 14:54:50 +12:00
auth_values.txt wr76595 (bug 4157): Control barcode display with a borrower attribute 2011-04-05 14:54:50 +12:00
class_sources.sql
class_sources.txt
message_transport_types.sql Transport_type print missing 2010-05-01 09:11:56 -04:00
message_transport_types.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_notices.sql Bug 8378 - followup - sample_notices.sql updated to <<items.fine>> 2013-03-21 21:53:06 -04:00
sample_notices.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_notices_message_attributes.sql Bug 7022: Move sample_notices* sql files from optional to mandatory 2011-10-18 15:57:57 +13:00
sample_notices_message_attributes.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_notices_message_transports.sql Bug 7022: Move sample_notices* sql files from optional to mandatory 2011-10-18 15:57:57 +13:00
sample_notices_message_transports.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
stopwords.sql
stopwords.txt
subtag_registry.sql Followup 2 - Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
subtag_registry.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
userflags.sql Bug 7368: Followup for columns names in userflags.sql 2013-06-27 08:29:26 -07:00
userflags.txt
userpermissions.sql Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
userpermissions.txt