Bug 10703: Document quotes table

Add db documentation for the quotes table

To test:

apply patch
review kohastructure.sql to be sure documentation is there

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Nicole C. Engard 2013-08-08 08:53:58 -04:00 committed by Galen Charlton
parent 801d8237d8
commit 6823c74537

View file

@ -3059,11 +3059,11 @@ CREATE TABLE ratings ( -- information related to the star ratings in the OPAC
--
DROP TABLE IF EXISTS quotes;
CREATE TABLE `quotes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`source` text DEFAULT NULL,
`text` mediumtext NOT NULL,
`timestamp` datetime NOT NULL,
CREATE TABLE `quotes` ( -- data for the quote of the day feature
`id` int(11) NOT NULL AUTO_INCREMENT, -- unique id for the quote
`source` text DEFAULT NULL, -- source/credit for the quote
`text` mediumtext NOT NULL, -- text of the quote
`timestamp` datetime NOT NULL, -- date and time that the quote last appeared in the opac
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;