[Koha-bugs] [Bug 5668] Star ratings in the opac

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 29 20:27:38 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5668

--- Comment #28 from Magnus Enger <magnus at enger.priv.no> 2011-12-29 19:27:38 UTC ---
When I run updatedatabase.pl I get this error: "DBD::mysql::db do failed: Key
column 'rating_id' doesn't exist in table at
installer/data/mysql/updatedatabase.pl line 4590." Looks like rating_id is
declared as the primary key without actuelly being defined first? 

+ CREATE TABLE `ratings` (
+  `borrowernumber` int(11) NOT NULL,
+  `biblionumber` int(11) NOT NULL,
+  `value` tinyint(1) NOT NULL,
+  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP,
+  PRIMARY KEY  (`rating_id`),

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list