Fix undefined format_options method in SchemaDumper for MySQL db
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
e18d8d590b
commit
5944e0711a
1 changed files with 4 additions and 0 deletions
|
@ -208,5 +208,9 @@ module ActiveRecord
|
|||
index_parts << "comment: #{index.comment.inspect}" if Gitlab.rails5? && index.comment
|
||||
index_parts
|
||||
end
|
||||
|
||||
def format_options(options)
|
||||
options.map { |key, value| "#{key}: #{value.inspect}" }.join(", ")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue