Skip to content

Commit

Permalink
Bug 38522: (follow-up) Edit db_rev and preserve comment
Browse files Browse the repository at this point in the history
Signed-off-by: Katrin Fischer <[email protected]>
  • Loading branch information
AndrewBWS authored and kfischer committed Dec 12, 2024
1 parent 4cb2222 commit 1a48203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/data/mysql/db_revs/241200001.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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." );
},
};

0 comments on commit 1a48203

Please sign in to comment.