Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Changed method remove_foreign_key description. To remove fks, we need to pass the from table and the to table.
  • Loading branch information
williamweckl committed Sep 25, 2014
1 parent 312e56b commit bdbcc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ gem 'foreigner'
Foreigner adds two methods to migrations.

* `add_foreign_key(from_table, to_table, options)`
* `remove_foreign_key(from_table, options)`
* `remove_foreign_key(from_table, to_table, options)`

(Options are documented in `connection_adapters/abstract/schema_statements.rb`):

Expand Down

0 comments on commit bdbcc8b

Please sign in to comment.