Class: ActiveRecord::ConnectionAdapters::ColumnDefinition
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::ColumnDefinition
- Defined in:
- lib/activerecord-mysql-unsigned/active_record/v3/connection_adapters/abstract/schema_definitions.rb,
lib/activerecord-mysql-unsigned/active_record/v4/connection_adapters/abstract/schema_definitions.rb
Instance Attribute Summary collapse
-
#after ⇒ Object
Returns the value of attribute after.
-
#first ⇒ Object
Returns the value of attribute first.
-
#unsigned ⇒ Object
Returns the value of attribute unsigned.
Instance Method Summary collapse
Instance Attribute Details
#after ⇒ Object
Returns the value of attribute after.
6 7 8 |
# File 'lib/activerecord-mysql-unsigned/active_record/v3/connection_adapters/abstract/schema_definitions.rb', line 6 def after @after end |
#first ⇒ Object
Returns the value of attribute first.
6 7 8 |
# File 'lib/activerecord-mysql-unsigned/active_record/v3/connection_adapters/abstract/schema_definitions.rb', line 6 def first @first end |
#unsigned ⇒ Object
Returns the value of attribute unsigned.
6 7 8 |
# File 'lib/activerecord-mysql-unsigned/active_record/v3/connection_adapters/abstract/schema_definitions.rb', line 6 def unsigned @unsigned end |
Instance Method Details
#sql_type ⇒ Object
8 9 10 |
# File 'lib/activerecord-mysql-unsigned/active_record/v3/connection_adapters/abstract/schema_definitions.rb', line 8 def sql_type base.type_to_sql(type.to_sym, limit, precision, scale, unsigned) rescue type end |