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: 20130730232043_add_total_payments_service_fee_into_project_totals.rb
    path of file: ./repos/catarse/db/migrate
    
    the code of the file until where you have to start completion: class AddTotalPaymentsServiceFeeIntoProjectTotals < ActiveRe
    
  def up
    execute <<-SQL
      DROP VIEW project_totals;
      CREATE OR REPLACE VIEW project_totals AS
        SELECT
          backers.project_id,
          sum(backers.value) AS pledged,
          sum(backers.payment_service_fee) AS total_payment_service_fee,
          count(*) AS total_backers
        FROM backers
        WHERE (backers.state in ('confirmed', 'refunded', 'requested_refund'))
        GROUP BY backers.project_id;
    SQL
  end