Merge branch 'dz-fix-mysql-schema' into 'master'
Fix undefined format_options method in SchemaDumper for MySQL db See merge request gitlab-org/gitlab-ce!21907
This commit is contained in:
commit
f13636b6d1
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