[Koha-patches] [PATCH] Bug 10703: Document quotes table
Nicole C. Engard
nengard at bywatersolutions.com
Thu Aug 8 14:54:42 CEST 2013
Add db documentation for the quotes table
To test:
apply patch
review kohastructure.sql to be sure documentation is there
---
installer/data/mysql/kohastructure.sql | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql
index 8a8b70f..eacb929 100644
--- a/installer/data/mysql/kohastructure.sql
+++ b/installer/data/mysql/kohastructure.sql
@@ -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;
--
1.7.2.3
More information about the Koha-patches
mailing list