method

add_reference

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: V6_0
add_reference(table_name, ref_name, **options) public

No documentation

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

Hide source
# File activerecord/lib/active_record/migration/compatibility.rb, line 57
        def add_reference(table_name, ref_name, **options)
          if connection.adapter_name == "SQLite"
            options[:type] = :integer
          end

          options[:_uses_legacy_reference_index_name] = true
          super
        end
Register or log in to add new notes.