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>
Signed-off-by: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
This commit is contained in:
parent
789e57210b
commit
20c22b5488
|
|
@ -8,11 +8,7 @@ return {
|
|||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
# Do you stuffs here
|
||||
$dbh->do(q{ALTER TABLE erm_agreements MODIFY COLUMN license_info mediumtext});
|
||||
|
||||
# Print useful stuff here
|
||||
# tables
|
||||
say $out "Set erm_agreements.license_info to type 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." );
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue