From 1a4820322e528fdea4ac6dd212254ca3021d30a2 Mon Sep 17 00:00:00 2001 From: Andrew Fuerste Henry Date: Mon, 9 Dec 2024 19:38:50 +0000 Subject: [PATCH] Bug 38522: (follow-up) Edit db_rev and preserve comment Signed-off-by: Katrin Fischer --- installer/data/mysql/db_revs/241200001.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/db_revs/241200001.pl b/installer/data/mysql/db_revs/241200001.pl index 6fb6fe6aaf9..0df3337557e 100755 --- a/installer/data/mysql/db_revs/241200001.pl +++ b/installer/data/mysql/db_revs/241200001.pl @@ -8,7 +8,7 @@ my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; - $dbh->do(q{ALTER TABLE erm_agreements MODIFY COLUMN license_info mediumtext}); + $dbh->do(q{ALTER TABLE erm_agreements MODIFY COLUMN license_info mediumtext DEFAULT NULL COMMENT 'info about the license'}); say_success( $out, "Updated erm_agreements.license_info to mediumtext." ); }, };