Commit 2a32a01c authored by Bodo-Merle Sandor's avatar Bodo-Merle Sandor Committed by Frédéric Buclin

Bug 673702: Undefined get_add_fk_sql in Bugzilla/DB/Schema.pm

r/a=mkanat
parent 33895dda
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment