method

build_create_table_definition

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - 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.

Show source
Register or log in to add new notes.