class Liquigen::Column
Attributes
auto_increment[RW]
constraints[RW]
name[RW]
type[RW]
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/liquigen/column.rb, line 11 def initialize(attributes = {}) self.name = attributes[:name] self.type = TypeMap.new(attributes[:type]).db_type self.constraints = Constraint.new end