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: 20190829125407_update_uuid_resource_types.rb
    path of file: ./repos/sequencescape/db/migrate
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# Ensure uuids point at the new resources. We favour re
    
  def up
    ActiveRecord::Base.transaction do
      execute(
        "UPDATE `uuids`
LEFT OUTER JOIN receptacles ON receptacles.id = resource_id
SET `uuids`.`resource_type` = IF(receptacles.id IS NULL, 'Labware', 'Receptacle')
WHERE `uuids`.`resource_type` = 'Asset'"
      )
    end
  end