Flowdock
method

primary_and_foreign_key_types

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: CreateActiveStorageTables
primary_and_foreign_key_types() private

No documentation

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

Hide source
# File activestorage/db/migrate/20170806125915_create_active_storage_tables.rb, line 49
    def primary_and_foreign_key_types
      config = Rails.configuration.generators
      setting = config.options[config.orm][:primary_key_type]
      primary_key_type = setting || :primary_key
      foreign_key_type = setting || :bigint
      [primary_key_type, foreign_key_type]
    end
Register or log in to add new notes.