method
drop_join_table
v7.1.3.2 -
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 and #drop_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.