Module: ActiveRecord::Migration::Compatibility::V7_0::TableDefinition
Do not use. This module is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
LegacyIndexName
|
|
Defined in: | activerecord/lib/active_record/migration/compatibility.rb |
Instance Method Summary
- #change(name, type, **options)
- #column(name, type, **options)
- #index(column_name, **options)
- #references(*args, **options)
- #raise_on_if_exist_options(options) private
LegacyIndexName
- Included
Instance Method Details
#change(name, type, **options)
[ GitHub ]# File 'activerecord/lib/active_record/migration/compatibility.rb', line 81
def change(name, type, ** ) [: ] = true super end
#column(name, type, **options)
[ GitHub ]# File 'activerecord/lib/active_record/migration/compatibility.rb', line 76
def column(name, type, ** ) [: ] = true super end
#index(column_name, **options)
[ GitHub ]# File 'activerecord/lib/active_record/migration/compatibility.rb', line 86
def index(column_name, ** ) [:name] = legacy_index_name(name, column_name) if [:name].nil? super end
#raise_on_if_exist_options(options) (private)
[ GitHub ]# File 'activerecord/lib/active_record/migration/compatibility.rb', line 97
def ( ) end
#references(*args, **options)
[ GitHub ]# File 'activerecord/lib/active_record/migration/compatibility.rb', line 91
def references(*args, ** ) [: ] = true super end