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: fix_s3_etags.rb
    path of file: ./repos/discourse/app/jobs/onceoff
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Jobs
  class FixS3Etags < ::Jobs::Onceo
    
    def execute_onceoff(args)
      [Upload, OptimizedImage].each do |model|
        sql =
          "UPDATE #{model.table_name} SET etag = REGEXP_REPLACE(etag, '\"', '', 'g') WHERE etag LIKE '\"%\"'"
        DB.exec(sql)
      end
    end