method

change_column_default

rails latest stable - Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

change_column_default(table_name, column_name, default)
public

Changes the default value of a table column.