123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::Migration::Compatibility::V6_1::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

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

[ GitHub ]

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

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

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

[ GitHub ]

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

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

#new_column_definition(name, type, **options)

[ GitHub ]

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

def new_column_definition(name, type, **options)
  type = PostgreSQLCompat.compatible_timestamp_type(type, @conn)
  super
end

#raise_on_if_exist_options(options) (private)

[ GitHub ]

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

def raise_on_if_exist_options(options)
end