class ActiveRecord::ConnectionAdapters::MySQL::Column
:nodoc:
def auto_increment?
def auto_increment? extra == "auto_increment" end
def case_sensitive?
def case_sensitive? collation && !collation.end_with?("_ci") end
def unsigned?
def unsigned? /\bunsigned(?: zerofill)?\z/.match?(sql_type) end
def virtual?
def virtual? /\b(?:VIRTUAL|STORED|PERSISTENT)\b/.match?(extra) end