123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::Migration::Compatibility::V5_2

Do not use. This class is for internal use only.

Instance Method Summary

Instance Method Details

#add_timestamps(table_name, **options)

[ GitHub ]

  
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 295

def add_timestamps(table_name, **options)
  options[:precision] ||= nil
  super
end

#command_recorder (private)

[ GitHub ]

  
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 301

def command_recorder
  recorder = super
  recorder.singleton_class.prepend(CommandRecorder)
  recorder
end