Commit 6bb65d2e authored by Thong Kuah's avatar Thong Kuah

Use forward arg

As otherwise we are trying to convert Array to Kwarg, which does not
work
parent 362538e8
......@@ -1165,9 +1165,9 @@ module Gitlab
Arel::Nodes::SqlLiteral.new(replace.to_sql)
end
def remove_foreign_key_if_exists(*args)
if foreign_key_exists?(**args)
remove_foreign_key(*args)
def remove_foreign_key_if_exists(...)
if foreign_key_exists?(...)
remove_foreign_key(...)
end
end
......
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