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: 20180824162827_fix_teacher_discipline_classrooms_indexes.rb
    path of file: ./repos/i-diario/db/migrate
    
    the code of the file until where you have to start completion: class FixTeacherDisciplineClassroomsIndexes < ActiveRecord::Migration[4.2]
  def change
    remove_index :teacher_discipline_classrooms, name: :idx_teacher_discipline_classrooms_all_fks
    remove_index :teacher_discipline_classrooms, name: :idx_teacher_discipline_classroo
    
  def change
    remove_index :teacher_discipline_classrooms, name: :idx_teacher_discipline_classrooms_all_fks
    remove_index :teacher_discipline_classrooms, name: :idx_teacher_discipline_classrooms_two_fks
    remove_index :teacher_discipline_classrooms, :discipline_id
    remove_index :teacher_discipline_classrooms, :classroom_id
    remove_index :teacher_discipline_classrooms, :teacher_id

    add_index :teacher_discipline_classrooms, [:discipline_id, :classroom_id, :teacher_id], where: "deleted_at IS NULL", name: :idx_teacher_discipline_classrooms_all_fks
    add_index :teacher_discipline_classrooms, [:discipline_id, :teacher_id], where: "deleted_at IS NULL", name: :idx_teacher_discipline_classrooms_two_fks
    add_index :teacher_discipline_classrooms, :discipline_id, where: "deleted_at IS NULL"
    add_index :teacher_discipline_classrooms, :classroom_id, where: "deleted_at IS NULL"
    add_index :teacher_discipline_classrooms, :teacher_id, where: "deleted_at IS NULL"
  end