Class: SchemaFerry::Core::ForeignKeySchema

Inherits:
Struct
  • Object
show all
Defined in:
lib/schema_ferry/core/schema_model.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



49
50
51
# File 'lib/schema_ferry/core/schema_model.rb', line 49

def column
  @column
end

#from_tableObject

Returns the value of attribute from_table

Returns:

  • (Object)

    the current value of from_table



49
50
51
# File 'lib/schema_ferry/core/schema_model.rb', line 49

def from_table
  @from_table
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



49
50
51
# File 'lib/schema_ferry/core/schema_model.rb', line 49

def name
  @name
end

#on_deleteObject

Returns the value of attribute on_delete

Returns:

  • (Object)

    the current value of on_delete



49
50
51
# File 'lib/schema_ferry/core/schema_model.rb', line 49

def on_delete
  @on_delete
end

#on_updateObject

Returns the value of attribute on_update

Returns:

  • (Object)

    the current value of on_update



49
50
51
# File 'lib/schema_ferry/core/schema_model.rb', line 49

def on_update
  @on_update
end

#primary_keyObject

Returns the value of attribute primary_key

Returns:

  • (Object)

    the current value of primary_key



49
50
51
# File 'lib/schema_ferry/core/schema_model.rb', line 49

def primary_key
  @primary_key
end

#to_tableObject

Returns the value of attribute to_table

Returns:

  • (Object)

    the current value of to_table



49
50
51
# File 'lib/schema_ferry/core/schema_model.rb', line 49

def to_table
  @to_table
end