Koha/installer/data/mysql
Mark Tompsett b4c3f23c0b Bug 7567 - Added branchcode to opac_news
This patch merely adds branchcode varchar(10) DEFAULT NULL to
the opac_news table.

TEST PLAN
---------
 1) backup your kohadata base if you care about the data.
 2) use the koha database
 3) describe opac_news;
 4) show create table opac_news;
    -- No branchcode constraint will exist.
 5) apply the patch
 6) upgrade the database (either staff client or script)
 7) use the koha database
 8) describe opac_news;
 9) show create table opac_news;
    -- The branchcode constraint should be listed.
10) drop that koha database
11) create the koha database
12) use the koha database
13) source ~/kohaclone/installer/data/mysql/kohastructure.sql
    -- there should be no errors in creating the database.
14) describe opac_news;
15) show create table opac_news;
    -- The branchcode constraint should be listed.
16) restore your koha database if you backed it up.

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

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-07 18:14:19 +00:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
en Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
es-ES Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
fr-FR Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
it-IT Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
nb-NO Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
pl-PL Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
ru-RU Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +00:00
uk-UA Bug 7567 - Clean up sample news files 2014-04-07 18:05:38 +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 7567 - Added branchcode to opac_news 2014-04-07 18:14:19 +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
sysprefs.sql Bug 11751: remove dead code related to handling members of institution patrons 2014-03-11 15:05:14 +00:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 7567 - Added branchcode to opac_news 2014-04-07 18:14:19 +00:00