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: 20150728150417_create_reward_details.rb
    path of file: ./repos/catarse/db/migrate
    
    the code of the file until where you have to start completion: class Creat
    
  def down
    execute <<-SQL
      DROP VIEW "1".reward_details;
      DROP FUNCTION paid_count(rewards);
      DROP FUNCTION waiting_payment_count(rewards);
    SQL
  end