class Migrant::InheritedSchema

Attributes

parent_schema[RW]

Public Class Methods

new(parent_schema) click to toggle source
# File lib/migrant/schema.rb, line 98
def initialize(parent_schema)
  @parent_schema = parent_schema
  @columns = Hash.new
  @indexes = Array.new
end

Public Instance Methods

add_association(association) click to toggle source
# File lib/migrant/schema.rb, line 108
def add_association(association)
  parent_schema.add_association(association)
end
requires_migration?() click to toggle source
# File lib/migrant/schema.rb, line 104
def requires_migration?
  false # All added to base table
end