method

build_create_join_table_definition

rails latest stable - Class: ActiveRecord::ConnectionAdapters::SchemaStatements
build_create_join_table_definition(table_1, table_2, column_options: {}, **options)
public

Builds a TableDefinition object for a join table.

This definition object contains information about the table that would be created if the same arguments were passed to #create_join_table. See #create_join_table for information about what arguments should be passed.