method
build_change_column_default_definition
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
build_change_column_default_definition(table_name, column_name, default_or_changes)public
Builds a ChangeColumnDefaultDefinition object.
This definition object contains information about the column change that would occur if the same arguments were passed to #change_column_default. See #change_column_default for information about passing a table_name, column_name, type and other options that can be passed.