提交 809d0849 编写于 作者: A Alex Kitchens

[ci skip] Document regex change

上级 a8380f12
......@@ -5,6 +5,7 @@ class Column < ConnectionAdapters::Column # :nodoc:
delegate :extra, to: :sql_type_metadata, allow_nil: true
def unsigned?
# enum and set types do not allow being defined as unsigned.
!/\A(?:enum|set)\b/.match?(sql_type) && /\bunsigned\b/.match?(sql_type)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册