Parent

Methods

SQL::TableCreator::Column

Attributes

name[RW]
type[RW]

Public Class Methods

new(adapter, name, type, opts = {}) click to toggle source
# File lib/dm-migrations/sql/table_creator.rb, line 56
def initialize(adapter, name, type, opts = {})
  @adapter = adapter
  @name = name.to_s
  @opts = opts
  @type = build_type(type)
end

Public Instance Methods

to_sql() click to toggle source
# File lib/dm-migrations/sql/table_creator.rb, line 63
def to_sql
  type
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.