Class: ActiveRecord::ConnectionAdapters::OracleEnhanced::AlterTable

Inherits:
AlterTable
  • Object
show all
Defined in:
lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb

Instance Method Summary collapse

Instance Method Details

#add_foreign_key(to_table, options) ⇒ Object


75
76
77
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 75

def add_foreign_key(to_table, options)
  @foreign_key_adds << OracleEnhanced::ForeignKeyDefinition.new(name, to_table, options)
end