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:
Dmitriy Zaporozhets 2018-10-01 08:49:38 +00:00
commit f13636b6d1
1 changed files with 4 additions and 0 deletions

View File

@ -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