method

add_column

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

Method not available on this version

This method is only available on newer versions. The first available version (v4.0.2) is shown here.

add_column(name, type, options)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 308
      def add_column(name, type, options)
        name = name.to_s
        type = type.to_sym
        @adds << @td.new_column_definition(name, type, options)
      end