Bugzilla – Attachment 190558 Details for
Bug 41460
On Mysql on upgrade from 25.05 to 25.11 I got the error TEXT column 'value' can't have a default value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41460: Remove default value from mediumtext column systempreferences.value
0001-Bug-41460-Remove-default-value-from-mediumtext-colum.patch (text/plain), 1.00 KB, created by
Michael Hafen
on 2025-12-16 18:43:21 UTC
(
hide
)
Description:
Bug 41460: Remove default value from mediumtext column systempreferences.value
Filename:
MIME Type:
Creator:
Michael Hafen
Created:
2025-12-16 18:43:21 UTC
Size:
1.00 KB
patch
obsolete
>From 34a3916c3adf41c7cd4f2c2c7d1d6e45dc3ccf7a Mon Sep 17 00:00:00 2001 >From: Michael Hafen <michael.hafen@washk12.org> >Date: Tue, 16 Dec 2025 11:40:30 -0700 >Subject: [PATCH] Bug 41460: Remove default value from mediumtext column > systempreferences.value >Content-Type: text/plain; charset="utf-8" > >Mysql doesn't allow text type columns to have a default. >--- > installer/data/mysql/db_revs/250600005.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/db_revs/250600005.pl b/installer/data/mysql/db_revs/250600005.pl >index b0aeb88ff2..3de6d1b7ee 100755 >--- a/installer/data/mysql/db_revs/250600005.pl >+++ b/installer/data/mysql/db_revs/250600005.pl >@@ -23,7 +23,7 @@ return { > $dbh->do( > q{ > ALTER TABLE systempreferences >- MODIFY COLUMN `value` mediumtext NOT NULL DEFAULT '' COMMENT 'system preference values' >+ MODIFY COLUMN `value` mediumtext NOT NULL COMMENT 'system preference values' > } > ); > }, >-- >2.43.0 >
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 41460
: 190558