Flowdock
method

foreign_key_type

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveRecord::Generators::Migration
foreign_key_type() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/rails/generators/active_record/migration.rb, line 25
        def foreign_key_type
          key_type = options[:primary_key_type]
          ", type: :#{key_type}" if key_type
        end
Register or log in to add new notes.