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 280

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 289

def raise_on_duplicate_column(name)
end

#raise_on_if_exist_options(options) (private)

[ GitHub ]

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

def raise_on_if_exist_options(options)
end

#timestamps(**options)

[ GitHub ]

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

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