Module: ActiveRecord::Migration::Compatibility::V5_2::TableDefinition

Defined in:
lib/active_record/migration/compatibility.rb

Instance Method Summary collapse

Instance Method Details

#column(name, type, index: nil, **options) ⇒ Object



177
178
179
180
# File 'lib/active_record/migration/compatibility.rb', line 177

def column(name, type, index: nil, **options)
  options[:precision] ||= nil
  super
end

#timestamps(**options) ⇒ Object



172
173
174
175
# File 'lib/active_record/migration/compatibility.rb', line 172

def timestamps(**options)
  options[:precision] ||= nil
  super
end