Bug 4461: Extend problem_reports.problempage to TEXT
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 3 Apr 2020 12:40:16 +0000 (14:40 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 6 Apr 2020 10:19:34 +0000 (11:19 +0100)
255 chars is not enough if want want to store any kind of URL, for
instance an authorities search can be much longer

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/atomicupdate/bug-4461_add-problem-reports-table.perl
installer/data/mysql/kohastructure.sql

index 02dcb49..fab48d7 100644 (file)
@@ -9,7 +9,7 @@ if( CheckVersion( $DBversion ) ) {
             borrowernumber int(11) NOT NULL default 0, -- the user who created the problem report
             branchcode varchar(10) NOT NULL default '', -- borrower's branch
             username varchar(75) default NULL, -- OPAC username
-            problempage varchar(255) default NULL, -- page the user triggered the problem report form from
+            problempage TEXT default NULL, -- page the user triggered the problem report form from
             recipient enum('admin','library') NOT NULL default 'library', -- the 'to-address' of the problem report
             created_on timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, -- timestamp of report submission
             status varchar(6) NOT NULL default 'New', -- status of the report. New, Viewed, Closed
index 2b7371f..af10ac5 100644 (file)
@@ -4448,7 +4448,7 @@ CREATE TABLE `problem_reports` (
     `borrowernumber` int(11) NOT NULL default 0, -- the user who created the problem report
     `branchcode` varchar(10) NOT NULL default '', -- borrower's branch
     `username` varchar(75) default NULL, -- OPAC username
-    `problempage` varchar(255) default NULL, -- page the user triggered the problem report form from
+    `problempage` TEXT default NULL, -- page the user triggered the problem report form from
     `recipient` enum('admin','library') NOT NULL default 'library', -- the 'to-address' of the problem report
     `created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, -- timestamp of report submission
     `status` varchar(6) NOT NULL default 'New', -- status of the report. New, Viewed, Closed