Bugzilla – Attachment 94718 Details for
Bug 23579
error during web install: 'changed_fields' can't have a default value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23579: Remove default value for MEDIUMTEXT borrower_modifications.changed_fields
Bug-23579-Remove-default-value-for-MEDIUMTEXT-borr.patch (text/plain), 1.52 KB, created by
Martin Renvoize (ashimema)
on 2019-10-25 08:53:36 UTC
(
hide
)
Description:
Bug 23579: Remove default value for MEDIUMTEXT borrower_modifications.changed_fields
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-10-25 08:53:36 UTC
Size:
1.52 KB
patch
obsolete
>From 3a27f64e1bd04392d6b71bd52e3ce78a65597208 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 25 Oct 2019 10:15:42 +0200 >Subject: [PATCH] Bug 23579: Remove default value for MEDIUMTEXT > borrower_modifications.changed_fields > >Installation under Ubuntu 18.04 is blocked: >install.pl: DBD::mysql::st execute failed: BLOB, TEXT, GEOMETRY or JSON >column 'changed_fields' can't have a default value at >/usr/local/share/perl5/DBIx/RunSQL.pm line 273. > >https://dev.mysql.com/doc/refman/5.7/en/data-type-defaults.html >""" > The BLOB, TEXT, GEOMETRY, and JSON data types cannot be assigned a > default value. >""" > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > installer/data/mysql/kohastructure.sql | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 41f1ee37bb..ecef309dab 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -3399,7 +3399,7 @@ CREATE TABLE borrower_attribute_types_branches( -- association table between bor > CREATE TABLE IF NOT EXISTS `borrower_modifications` ( > `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, > `verification_token` varchar(255) NOT NULL DEFAULT '', >- `changed_fields` MEDIUMTEXT NOT NULL DEFAULT '', >+ `changed_fields` MEDIUMTEXT NOT NULL, > `borrowernumber` int(11) NOT NULL DEFAULT '0', > `cardnumber` varchar(32) DEFAULT NULL, > `surname` LONGTEXT, >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23579
:
94716
| 94718 |
94747