class DbSchema::Operations::CreateColumn

Attributes

field[R]

Public Class Methods

new(field) click to toggle source
# File lib/db_schema/operations.rb, line 59
def initialize(field)
  @field = field
end

Public Instance Methods

name() click to toggle source
# File lib/db_schema/operations.rb, line 63
def name
  field.name
end
options() click to toggle source
# File lib/db_schema/operations.rb, line 71
def options
  field.options
end
type() click to toggle source
# File lib/db_schema/operations.rb, line 67
def type
  field.type
end