123456789_123456789_123456789_123456789_123456789_

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

Do not use. This module is for internal use only.
Relationships & Source Files
Defined in: activerecord/lib/active_record/migration/compatibility.rb

Instance Method Summary

Instance Method Details

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

[ GitHub ]

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

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

#raise_on_duplicate_column(name) (private)

[ GitHub ]

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

def raise_on_duplicate_column(name)
end

#raise_on_if_exist_options(options) (private)

[ GitHub ]

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

def raise_on_if_exist_options(options)
end

#timestamps(**options)

[ GitHub ]

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

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