[ci skip] Document regex change
This commit is contained in:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user