]> git.koha-community.org Git - koha.git/commit
Bug 9064: fix statistics.ccode column
authorPaul Poulain <paul.poulain@biblibre.com>
Wed, 21 Nov 2012 12:46:59 +0000 (13:46 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 22 Nov 2012 14:01:30 +0000 (09:01 -0500)
commitb5474b7f95dca834640e086ed17b1a2223722168
tree370bd97ef66d68ba041d70c569ae22b05e2ce605
parentbe19f11e9787554e65dfbbc6252a85b55158b44e
Bug 9064: fix statistics.ccode column

From updatedatabase.pl:
    $dbh->do("ALTER TABLE statistics ADD COLUMN ccode VARCHAR ( 10 ) NULL AFTER associatedborrower");
From kohastructure.sql:
  `ccode` int(11) default NULL, -- foreign key from the items table, links transaction to a specific collection code

The variant in updatedatabase.pl is probably what was wanted.

This patch fixes the kohastructure and add another updatedatabase.pl, in case someone has a broken install.
This should not happen, because 3.10.0 still not released, but just in case...

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl