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: 039_update_review_scores.rb
    path of file: ./repos/expertiza/db/migrate
    
    the code of the file until where you have to start completion: class UpdateReviewScores < ActiveRecord::Migration[4.2]
  def self.up
    add_col
    
  def self.up
    add_column 'review_scores', 'questionnaire_type_id', :integer

    execute "ALTER TABLE review_scores
             ADD CONSTRAINT fk_review_scores_questionnaire_type_id
             FOREIGN KEY (questionnaire_type_id) references questionnaire_types(id)"
  end