Method: ActiveRecord::ConnectionAdapters::SchemaStatements#foreign_keys
- Defined in:
- activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
#foreign_keys(table_name) ⇒ Object
Returns an array of foreign keys for the given table. The foreign keys are represented as ForeignKeyDefinition objects.
1103 1104 1105 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb', line 1103 def foreign_keys(table_name) raise NotImplementedError, "foreign_keys is not implemented" end |