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: 20190422130439_change_status_to_enum_in_requests.rb
    path of file: ./repos/human-essentials/db/migrate
    
    the code of the file until where you have to start completion: # Fix to ensure that the object is available in the migration
class Request < ApplicationRecord; end

# We're changing our state-tracking to Enums because it just makes more sense to do it that way
class ChangeStatusToEnumInRequests < Active
    
  def down
    add_column :requests, :status_new, :string, default: 'Active'

    Request.where(status: 0).update_all status_new: 'Active'
    Request.where(status: 2).update_all status_new: 'Fulfilled'

    remove_column :requests, :status

    rename_column :requests, :status_new, :status

    add_index :requests, :status
  end