method
build_change_column_definition
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements
build_change_column_definition(table_name, column_name, type, **options)public
Builds a ChangeColumnDefinition object.
This definition object contains information about the column change that would occur if the same arguments were passed to #change_column. See #change_column for information about passing a table_name, column_name, type and other options that can be passed.