lib/active_record/connection_adapters/rails_41.rb
# See also Table for details on all of the various column transformation.
See also Table for details on all of the various column transformation.
See also Table for details on all of the various column transformation .
def change_table(table_name, options = {})
        if supports_bulk_alter? && options[:bulk]
          recorder = ActiveRecord::Migration::CommandRecorder.new(self)
          yield update_table_definition(table_name, recorder)
          bulk_change_table(table_name, recorder.commands)
        else
          yield update_table_definition(table_name, self)
        end
      end
def change_table ( table_name , options = { } ) if supports_bulk_alter? && options [ :bulk ] recorder = ActiveRecord :: Migration :: CommandRecorder . new ( self ) yield update_table_definition ( table_name , recorder ) bulk_change_table ( table_name , recorder . commands ) else yield update_table_definition ( table_name , self ) end end
See also Table for details on all of the various column transformation.
See also Table for details on all of the various column transformation .
table_name
<not_specific>
options
<not_specific>