Class: SQL::Column
- Inherits:
-
Object
- Object
- SQL::Column
- Defined in:
- lib/dm-migrations/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.
3 4 5 |
# File 'lib/dm-migrations/sql/column.rb', line 3 def default_value @default_value end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/dm-migrations/sql/column.rb', line 3 def name @name end |
#not_null ⇒ Object
Returns the value of attribute not_null.
3 4 5 |
# File 'lib/dm-migrations/sql/column.rb', line 3 def not_null @not_null end |
#primary_key ⇒ Object
Returns the value of attribute primary_key.
3 4 5 |
# File 'lib/dm-migrations/sql/column.rb', line 3 def primary_key @primary_key end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/dm-migrations/sql/column.rb', line 3 def type @type end |
#unique ⇒ Object
Returns the value of attribute unique.
3 4 5 |
# File 'lib/dm-migrations/sql/column.rb', line 3 def unique @unique end |