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: 20200409132541_remove_user_columns_from_teacher_profiles.rb
    path of file: ./repos/i-diario/db/migrate
    
    the code of the file until where you have to start completion: class Remov
    
  def down
    add_column :teacher_profiles, :user_id, :integer
    add_column :teacher_profiles, :user_role_id, :integer
    add_foreign_key :teacher_profiles, :users
    add_foreign_key :teacher_profiles, :user_roles
    add_index :teacher_profiles, :user_id
  end