method

create_table

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

Method deprecated or moved

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

create_table(table_name, options = {})
public

No documentation available.

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