You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 20211216184103_create_action_text_tables.action_text.rb
    path of file: ./repos/rails7-on-docker/db/migrate
    
    the code of the file until where you have to start completion: # This migration comes from action_text (originally 20180528164100)
class CreateActi
    
    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