Class: SQL::Column
- Defined in:
- lib/gems/dm-migrations-0.9.9/lib/sql/column.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#default_value ⇒ Object
Returns the value of attribute default_value.
-
#name ⇒ Object
Returns the value of attribute name.
-
#not_null ⇒ Object
Returns the value of attribute not_null.
-
#primary_key ⇒ Object
Returns the value of attribute primary_key.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unique ⇒ Object
Returns the value of attribute unique.
Instance Attribute Details
#default_value ⇒ Object
Returns the value of attribute default_value.
5 6 7 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/column.rb', line 5 def default_value @default_value end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/column.rb', line 5 def name @name end |
#not_null ⇒ Object
Returns the value of attribute not_null.
5 6 7 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/column.rb', line 5 def not_null @not_null end |
#primary_key ⇒ Object
Returns the value of attribute primary_key.
5 6 7 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/column.rb', line 5 def primary_key @primary_key end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/column.rb', line 5 def type @type end |
#unique ⇒ Object
Returns the value of attribute unique.
5 6 7 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/column.rb', line 5 def unique @unique end |