method

create_table

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

Method deprecated or moved

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

create_table(table_name, options = {})
public

No documentation available.

# File activerecord/lib/active_record/migration/compatibility.rb, line 30
        def create_table(table_name, options = {})
          if block_given?
            super(table_name, options) do |t|
              class << t
                prepend TableDefinition
              end
              yield t
            end
          else
            super
          end
        end