method
build_create_table_definition
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
build_create_table_definition(table_name, id: :primary_key, primary_key: nil, force: nil, **options)public
Returns a TableDefinition object containing information about the table that would be created if the same arguments were passed to #create_table. See #create_table for information about passing a table_name, and other additional options that can be passed.