[ci skip] Document regex change

This commit is contained in:
Alex Kitchens 2016-12-06 11:58:50 -06:00
parent a8380f12db
commit 809d08496a

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