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>
(cherry picked from commit 6823c74537)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Nicole C. Engard 2013-08-08 08:53:58 -04:00 committed by Tomas Cohen Arazi
parent 6f55deac4a
commit 801f9fbdae
1 changed files with 5 additions and 5 deletions

View File

@ -2959,11 +2959,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;