Bug 38522: (follow-up) Edit db_rev and preserve comment

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 1a4820322e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Andrew Fuerste Henry 2024-12-09 19:38:50 +00:00 committed by Paul Derscheid
parent 0dc6a25738
commit 47edc459e2
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ return {
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." );
},
};