method
drop_join_table
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
drop_join_table(table_1, table_2, options = {})public
Drops the join table specified by the given arguments. See #create_join_table for details.
Although this command ignores the block if one is given, it can be helpful to provide one in a migration’s change method so it can be reverted. In that case, the block will be used by #create_join_table.