method

change_column_default

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

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

No documentation available.

# File activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb, line 425
      def change_column_default(table_name, column_name, default) #:nodoc:
        alter_table(table_name) do |definition|
          definition[column_name].default = default
        end
      end