Class: ActiveRecord::Migration::Compatibility::V5_2
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Namespace Children | |
|
Modules:
| |
| Extension / Inclusion / Inheritance Descendants | |
|
Subclasses:
|
|
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
|
|
|
Instance Chain:
self,
V6_0,
V6_1,
V7_0,
V7_0::LegacyIndexName,
V7_1,
V7_2,
V8_0,
V8_0::RemoveForeignKeyColumnMatch,
::ActiveRecord::Migration::Current,
Migration
|
|
| Inherits: |
ActiveRecord::Migration::Compatibility::V6_0
|
| Defined in: | activerecord/lib/active_record/migration/compatibility.rb |
Instance Method Summary
- #add_timestamps(table_name, **options)
- #command_recorder private
- #compatible_table_definition(t) private
V6_0 - Inherited
V6_1 - Inherited
V7_0 - Inherited
V7_0::LegacyIndexName - Included
V8_0 - Inherited
V8_0::RemoveForeignKeyColumnMatch - Included
::ActiveRecord::Migration::Current - Inherited
Instance Method Details
#add_timestamps(table_name, **options)
[ GitHub ]# File 'activerecord/lib/active_record/migration/compatibility.rb', line 322
def (table_name, **) [:precision] ||= nil super end
#command_recorder (private)
[ GitHub ]# File 'activerecord/lib/active_record/migration/compatibility.rb', line 333
def command_recorder recorder = super recorder.singleton_class.prepend(CommandRecorder) recorder end
#compatible_table_definition(t) (private)
[ GitHub ]# File 'activerecord/lib/active_record/migration/compatibility.rb', line 328
def compatible_table_definition(t) t.singleton_class.prepend(TableDefinition) super end