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: 20140610034314_move_bio_to_user_profiles.rb
    path of file: ./repos/discourse/db/migrate
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class MoveBioToUserProfiles < ActiveRecord::Migration[4.2]
  def up
    add_column :user_profiles, :bio_raw, :text
    add_column :user_profiles, :bio_cooked, :text

    execute "UPD
    
  def up
    add_column :user_profiles, :bio_raw, :text
    add_column :user_profiles, :bio_cooked, :text

    execute "UPDATE user_profiles SET bio_raw = subquery.bio_raw, bio_cooked = subquery.bio_cooked FROM (
      SELECT bio_raw, bio_cooked, id FROM users
    ) as subquery WHERE user_profiles.user_id = subquery.id"

    remove_column :users, :bio_raw
    remove_column :users, :bio_cooked
  end