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: has_many_through_spec.rb
    path of file: ./repos/hyperstack/ruby/hyper-model/spec/batch2
    
    the code of the file until where you have to start completion: require 'spec_helper'
requir
    
      def self.build_tables
        connection.create_table :physicians, force: true do |t|
          t.string :name
          t.timestamps
        end
        ActiveRecord::Base.public_columns_hash[name] = columns_hash
      end