Class: ActiveRecord::ConnectionAdapters::MySQL::ColumnDefinition

Inherits:
ColumnDefinition show all
Defined in:
activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb

Instance Attribute Summary collapse

Attributes inherited from ColumnDefinition

#after, #auto_increment, #collation, #comment, #default, #first, #limit, #name, #null, #precision, #primary_key, #scale, #sql_type, #type

Method Summary

Methods inherited from ColumnDefinition

#primary_key?

Methods inherited from Struct

#as_json

Instance Attribute Details

#charsetObject

Returns the value of attribute charset


60
61
62
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 60

def charset
  @charset
end

#unsignedObject

Returns the value of attribute unsigned


60
61
62
# File 'activerecord/lib/active_record/connection_adapters/mysql/schema_definitions.rb', line 60

def unsigned
  @unsigned
end