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:
parent
02a8557a3e
commit
d42e35ef49
|
|
@ -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`)
|
||||
|
|
|
|||
|
|
@ -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`)
|
||||
|
|
|
|||
Loading…
Reference in New Issue