method

change_table

rails latest stable - Class: ActiveRecord::Migration::Compatibility::V6_0

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

change_table(table_name, **options)
public

No documentation available.

# File activerecord/lib/active_record/migration/compatibility.rb, line 117
        def change_table(table_name, **options)
          if block_given?
            super { |t| yield compatible_table_definition(t) }
          else
            super
          end
        end