Koha/installer/data/mysql/es-ES/optional
Mark Tompsett 82a36947f7 Bug 7567 - Clean up sample news files
Some files had truncate. Some files had foreign key checks.
Other files had foreign key checks disabled. Some files gave
the column names expressly, and others assumed the fields in
a particular order. Everything was modified to:
- not truncate
- not say utf8 (because it should already be by default)
- not disable foreign key checks (because it should work)
- expressly name the fields (adding fields shouldn't break it)

TEST PLAN
---------
0) Backup opac_news if you care about your news.
1) open mysql client
2) use the koha database
3) Run the following script
TRUNCATE opac_news;
source ~/kohaclone/installer/data/mysql/uk-UA/optional/sample_news.sql
source ~/kohaclone/installer/data/mysql/it-IT/necessari/sample_news.sql
source ~/kohaclone/installer/data/mysql/de-DE/optional/sample_news.sql
source ~/kohaclone/installer/data/mysql/nb-NO/2-Valgfritt/sample_news.sql
source ~/kohaclone/installer/data/mysql/en/optional/sample_news.sql
source ~/kohaclone/installer/data/mysql/pl-PL/optional/sample_news.sql
source ~/kohaclone/installer/data/mysql/es-ES/optional/sample_news.sql
source ~/kohaclone/installer/data/mysql/ru-RU/optional/sample_news.sql
source ~/kohaclone/installer/data/mysql/fr-FR/2-Optionel/sample_news.sql

- Were there errors?
- Did everything add nicely?
    - Not likely, by expressly stating the idnew field, the news
      items in some files would not be added.

4) apply patch
5) try running the script again

- Were there errors?
- Did everything add nicely?
6) Log into the staff client
7) Tools->News
- Do you see the news items added?

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Much needed clean up, making for much more robust and less error prone
sql

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-07 18:05:38 +00:00
..
auth_val.sql Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
auth_val.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
marc21_holdings_coded_values.sql Bug 6316 - Initial commit for es-ES translated scripts 2011-06-08 10:07:51 +12:00
marc21_holdings_coded_values.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
marc21_relatorterms.sql Bug 6299 - add es-ES 2012-02-14 21:27:48 +01:00
marc21_relatorterms.txt Bug 6299 - add es-ES 2012-02-14 21:27:48 +01:00
parameters.sql Bug 11939: set active currency for non-English sample data 2014-03-25 15:03:16 +00:00
parameters.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
patron_atributes.sql Bug 6316 - Initial commit for es-ES translated scripts 2011-06-08 10:07:51 +12:00
patron_atributes.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
patron_categories.sql Bug 6316 - Initial commit for es-ES translated scripts 2011-06-08 10:07:51 +12:00
patron_categories.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
sample_creator_data.sql Bug 6316 - es-ES inclusion - Last fixes 2011-08-05 10:20:35 +12:00
sample_creator_data.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
sample_holidays.sql Bug 6316 - Initial commit for es-ES translated scripts 2011-06-08 10:07:51 +12:00
sample_holidays.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
sample_itemtypes.sql Bug 10969: Fix sample itemtypes for translated installers 2013-10-20 18:46:45 +00:00
sample_itemtypes.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
sample_libraries.sql Bug 6316 - Initial commit for es-ES translated scripts 2011-06-08 10:07:51 +12:00
sample_libraries.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
sample_news.sql Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
sample_news.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
sample_patrons.sql Bug 7453: All patrons should have an expiry date 2012-02-03 17:14:06 +01:00
sample_patrons.txt Bug 6683 - (es-ES) translate SQL scripts description 2011-08-10 12:54:42 +12:00
sample_z3950_servers.sql Bug 9494: update default LOC z39.50 target settings 2013-01-31 11:11:16 -05:00
sample_z3950_servers.txt Bug 9023: Remove NY Z39.50 servers from installer txt files 2012-11-20 08:04:06 -05:00