summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r--Bugzilla/DB.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 9f517a8e7..e4e30a8d3 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -515,10 +515,11 @@ sub bz_alter_column_raw {
my @statements = $self->_bz_real_schema->get_alter_column_ddl(
$table, $name, $new_def,
defined $set_nulls_to ? $self->quote($set_nulls_to) : undef);
- my $new_ddl = $self->_bz_schema->get_type_ddl($new_def);
+ my $new_ddl = $self->_bz_schema->get_display_ddl($table, $name, $new_def);
print "Updating column $name in table $table ...\n";
if (defined $current_def) {
- my $old_ddl = $self->_bz_schema->get_type_ddl($current_def);
+ my $old_ddl = $self->_bz_schema->get_display_ddl($table, $name,
+ $current_def);
print "Old: $old_ddl\n";
}
print "New: $new_ddl\n";