Koha/misc/amazonratings/ratings.sql
rangi e122410f9b First cut of a script to scrap the average customer ratings for books from
Amazon and store them in a ratings table in the Koha db
ratings.sql is the table definition

My next task is to extend it to work for cd's and dvds as well.
2004-03-06 07:45:33 +00:00

18 lines
424 B
SQL

-- MySQL dump 8.21
--
-- Host: localhost Database: Koha2
---------------------------------------------------------
-- Server version 3.23.49-log
--
-- Table structure for table 'ratings'
--
CREATE TABLE ratings (
biblioitemnumber int(11) NOT NULL default '0',
biblionumber int(11) default NULL,
rating varchar(10) default NULL,
modified timestamp(14) NOT NULL,
PRIMARY KEY (biblioitemnumber)
) TYPE=MyISAM;