Making source a text field rather than a varchar to avoid potential length limitations

http://bugs.koha-community.org/show_bug.cgi?id=7977
Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
Chris Nighswonger 2012-05-21 14:08:57 -04:00 committed by Paul Poulain
parent 02a8557a3e
commit d42e35ef49
2 changed files with 2 additions and 2 deletions

View File

@ -2838,7 +2838,7 @@ CREATE TABLE ratings (
DROP TABLE IF EXISTS quotes;
CREATE TABLE `quotes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`source` varchar(45) DEFAULT NULL,
`source` text DEFAULT NULL,
`text` mediumtext NOT NULL,
`timestamp` datetime NOT NULL,
PRIMARY KEY (`id`)

View File

@ -5252,7 +5252,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$dbh->do( qq{
CREATE TABLE `quotes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`source` varchar(45) DEFAULT NULL,
`source` text DEFAULT NULL,
`text` mediumtext NOT NULL,
`timestamp` datetime NOT NULL,
PRIMARY KEY (`id`)