summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB/Schema.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 85a430f10..fb62965e3 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -2176,8 +2176,8 @@ sub get_add_column_ddl {
if defined $init_value;
if (defined $definition->{REFERENCES}) {
- push(@statements, $self->get_add_fk_sql($table, $column,
- $definition->{REFERENCES}));
+ push(@statements, $self->get_add_fks_sql($table, { $column =>
+ $definition->{REFERENCES} }));
}
return (@statements);