Class: SchemaFerry::ForeignKeySchema

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

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



46
47
48
# File 'lib/schema_ferry/schema_model.rb', line 46

def column
  @column
end

#from_tableObject

Returns the value of attribute from_table

Returns:

  • (Object)

    the current value of from_table



46
47
48
# File 'lib/schema_ferry/schema_model.rb', line 46

def from_table
  @from_table
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



46
47
48
# File 'lib/schema_ferry/schema_model.rb', line 46

def name
  @name
end

#on_deleteObject

Returns the value of attribute on_delete

Returns:

  • (Object)

    the current value of on_delete



46
47
48
# File 'lib/schema_ferry/schema_model.rb', line 46

def on_delete
  @on_delete
end

#on_updateObject

Returns the value of attribute on_update

Returns:

  • (Object)

    the current value of on_update



46
47
48
# File 'lib/schema_ferry/schema_model.rb', line 46

def on_update
  @on_update
end

#primary_keyObject

Returns the value of attribute primary_key

Returns:

  • (Object)

    the current value of primary_key



46
47
48
# File 'lib/schema_ferry/schema_model.rb', line 46

def primary_key
  @primary_key
end

#to_tableObject

Returns the value of attribute to_table

Returns:

  • (Object)

    the current value of to_table



46
47
48
# File 'lib/schema_ferry/schema_model.rb', line 46

def to_table
  @to_table
end