提交 8fd46330 编写于 作者: Y Yves Senn

Merge pull request #19962 from prathamesh-sonpatki/nodoc-validate-index-length

 Nodoc validate_index_length! method
......@@ -1049,7 +1049,7 @@ def foreign_key_name(table_name, options) # :nodoc:
end
end
def validate_index_length!(table_name, new_name)
def validate_index_length!(table_name, new_name) # :nodoc:
if new_name.length > allowed_index_name_length
raise ArgumentError, "Index name '#{new_name}' on table '#{table_name}' is too long; the limit is #{allowed_index_name_length} characters"
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册