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

Inherits:
V6_0
  • Object
show all
Defined in:
lib/active_record/migration/compatibility.rb

Direct Known Subclasses

V5_1

Defined Under Namespace

Modules: CommandRecorder, TableDefinition

Instance Method Summary collapse

Methods inherited from V6_0

#add_reference

Methods inherited from V6_1

#add_column, #change_column

Instance Method Details

#add_timestamps(table_name, **options) ⇒ Object



167
168
169
170
# File 'lib/active_record/migration/compatibility.rb', line 167

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