Koha-clms/installer/data/mysql/en/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 9023: Update installer text files 2012-11-20 08:05:04 -05:00
csv_profiles.sql Bug 10854: (follow-up) language tweaks 2013-10-11 03:52:59 +00:00
csv_profiles.txt Bug 10854: (follow-up) language tweaks 2013-10-11 03:52:59 +00:00
marc21_holdings_coded_values.sql
…
marc21_holdings_coded_values.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
marc21_relatorterms.sql Bug 6299 - Provide a list of authorized values for Relator terms 2012-02-13 18:12:47 +01:00
marc21_relatorterms.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
parameters.sql Bug 11939: set active currency when using English sample data 2014-03-25 15:02:01 +00:00
parameters.txt Bug 11939: set active currency when using English sample data 2014-03-25 15:02:01 +00:00
patron_atributes.sql
…
patron_atributes.txt
…
patron_categories.sql
…
patron_categories.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_creator_data.sql
…
sample_creator_data.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_holidays.sql bug 8110 - add branchcode MPL to sample holidays to facilitate automated testing. 2012-10-01 16:43:51 +02:00
sample_holidays.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_itemtypes.sql Bug 10965: fix breakage when loading sample itemtypes during install 2013-10-02 14:35:44 +00:00
sample_itemtypes.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_libraries.sql
…
sample_libraries.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_news.sql Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
sample_news.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_patrons.sql Bug 7453: All patrons should have an expiry date 2012-02-03 17:14:06 +01:00
sample_patrons.txt
…
sample_quotes.sql Bug 7977: Fixing quote sample data timestamps 2012-05-24 14:14:23 +02:00
sample_quotes.txt Bug 9023: Update installer text files 2012-11-20 08:05:04 -05:00
sample_z3950_servers.sql Bug 11260: (follow-up) remove inadvertant change to English sample_z3950_servers.sql 2014-01-08 01:01:37 +00:00
sample_z3950_servers.txt Bug 10096: (follow-up) add LC authority Z39.50 targets to 'en' sample data 2013-10-04 14:59:29 +00:00