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

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

Instance Method Summary collapse

Instance Method Details

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


206
207
208
209
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 206

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

#timestamps(**options) ⇒ Object


201
202
203
204
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 201

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